Ask a Question related to Macromedia Director Basics, Design and Development.
-
Alcot #1
How to "handle a message string passed by Flash"
I'm having a problem with how to "handle a message string passed by Flash".
This is what the help feature in Director says:
---------------------------------------------------------
Specify the message string in the Flash content, as described above.
For example, in Flash, you could specify the following string as the URL
parameter of the getURL function:
Hello World
In Flash, the ActionScript would look like this:
getURL("Hello World");
In Director, include an on getURL handler to receive and read the string
passed by the Flash content.
For example, in Director, you could enter the following handler in a movie
script:
on getURL me, stringFromFlash
_movie.go("stringFromFlash")
end
When the on getURL handler receives the text string ("Hello World"), it reads
the string and then jumps to the frame labeled Hello World in the Director
Score.
-----------------------------------------------
I've tried this several times, and it simply does not work. Can someone help?
Alcot Guest
-
convert XML "values" to be passed as CDATA into Flash
Hello all, I found the following XML - Flash quiz template on the net and I was wondering how can I adapt the XML doc to pass CDATA instead of... -
<CfChart> & Flash format - Message:"ImageExpired..."
Hi people Lot of people have faced this problem, the reason is the timeout in the caching engine of the Coldfusion keeps the charts for any request... -
Can't locate object method "blocking" via package "IO::Handle"
I am receiving the error message: Can't locate object method "blocking" via package "IO::Handle" at... -
"Error Creating Control" and "Cast from String"
I'm creating a custom date control. In appearance, it's just a textbox and a button. It has three custom properties: CalDate, CalDateType and... -
convert visual basic "string" data type to DB2 "blob"
Does anyone know if a visual basic string data type can be converted to DB2 blob datatype? I have all data in XML files and I use Visual Basic to... -
JB #2
Re: How to "handle a message string passed by Flash"
One obvious error
on getURL me, stringFromFlash
_movie.go("stringFromFlash") --< NO QUOTES HERE
end
JB Guest
-
Alcot #3
Re: How to "handle a message string passed by Flash"
Hey...thank for replying...so do you mean that the code should be...
on getURL me, stringFromFlash
_movie.go(stringFromFlash)
end
???
By the way, should that code be attached to the Sprite on the score, or on the
Behavior Channel at the top of the score ?
Alcot Guest



Reply With Quote

