-
Ok here we go. I am a Javascript newbie, and here is my problem:
I have a Flash movie and Pulse file seen here:
http://www.angelfire.com/ut2/harkerdesign/test1.html
If you click on the left under "torso" then "heavy" you will see a drawn vector image pop in Flash of a robot torso.
Now by default I have the robot invisible and want things to appear as I click them. This is causing some problems in Javascript.
In Flash I set it up to give the following command on Release (it's a button):
javascript:vishev()
That is supposed to trigger this (in the HTML)
function Ctrl_onEvent(msg)
{
//alert (msg); // These lines can be useful
self.status = msg; //for debugging.
if
(msg == "vishev") hevtors();
Which then triggers the command:
function hevtors()
{
DoCmd('play obj=heavytorso transition=0.30 heading=yes behave=Vis');
}
And then you will see that section of the robot pop up in Pulse...but it is not working and driving me nuts.
Any ideas?
You can see how I want it to work by looking at the default Pulse piece here (standard buttons, just can't get it to work in Flash):
http://www.angelfire.com/ut2/harkerdesign/default.html
Thanks guys!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|