Page Number: Page 1 of 1
Actual Results
- sprouletopia
- Forum: Flash and ActionScript Forum
- Topic: mouse X/Y coordinates: Javascript to Actionscript
- Subject: mouse X/Y coordinates: Javascript to Actionscript
- Replies: 5
- Views: 8986
Posted: June 13th, 2006, 3:24 pm
well how i get the x in now for the text box is: flashMovie.SetVariable("test", nx); i have got the car to move through javascript with: flashMovie.SetVariable("mycar._x", nx); but if i do it that way then all if statments and control for the cars X have to be done in javascript ...
- sprouletopia
- Forum: Flash and ActionScript Forum
- Topic: mouse X/Y coordinates: Javascript to Actionscript
- Subject: mouse X/Y coordinates: Javascript to Actionscript
- Replies: 5
- Views: 8986
Posted: June 13th, 2006, 2:51 pm
Well what i need to happen is :
the car has to follow the cursor whether the cursor is on the movie or on the browser window. it also needs to use as little javascript as possible.
thank you,
Jason
the car has to follow the cursor whether the cursor is on the movie or on the browser window. it also needs to use as little javascript as possible.
thank you,
Jason
- sprouletopia
- Forum: Flash and ActionScript Forum
- Topic: mouse X/Y coordinates: Javascript to Actionscript
- Subject: mouse X/Y coordinates: Javascript to Actionscript
- Replies: 5
- Views: 8986
Posted: June 13th, 2006, 2:34 pm
Hello Everyone, I am taking a value from javascript and want to use it in actionscript. I know how to pass the value (mouse X/Y coordinates) in to a dynamic text box but am stumped when it comes to reading that value when it changes and then using the new value in actionscript. I would like to move ...

