Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Print Bug
From: Mike Weiland
Date: Fri, 4 Feb 2000 22:22:55 GMT

Hello everyone,

I've been trouble with code from the Printing SDK, primarily the plugin
version checking. I have a main movie that uses Load Movie to load a movie
into a target. Inside this next movie I use Load Movie to load another movie
into a target. This all works fine, in the last embedded movie when the
print button is clicked I am using this code to check the player version and
either use the Printing SDK or an alternative method:

On (Release)
Set Variable: "playerversion" = eval("$version")
Comment: Grab minor version number
Set Variable: "versionnumber" = Substring ( playerversion, 9, 2 )
Comment: If minor version is 20 or higher, print - otherwise use
alternative printing scheme
If (versionnumber >= 20)
Begin Tell Target ("/Chooser/Form/print_clip")
Go to and Play (2)
End Tell Target
Set Variable: "Template" = /Chooser:Template
Load Variables
("http://www.CertificateCreator.com/certificates/Print.asp", 0, vars=GET)
Else
Get URL ("NoPrint.htm", window="_blank", vars=GET)
End If
End On

In my debugging I have found that the playerVersion and versionNumber
variables are empty so it goes to my NoPrint.htm page (even if the plug-in
is correct). I copied this code from another one of my movies where it works
fine. I can also play the movie just in a browser and it works, it just
doesn't work when nested inside a movie that is nested inside a movie. I
haven't tried if it works from 1 nested movie only.

Has anybody else run across this behavior before?

Mike Weiland
-------------------------------------------------
Wasatch Interactive Learning
5250 S. Commerce Drive
Salt Lake City, UT 84107
mikeatwasatchnet [dot] com www.wasatchnet.com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Print Bug, RedStar
  Re: FLASH: Print Bug, RedStar
  Re: FLASH: Print Bug, Cheri Harder

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]