| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Oct 2004
Posts: 2
|
Hey, is there anyone who could help me with a difficult issue ( for me
). I have a arrow as a graphic symbol, and i want to make it move up and down on the Y-axies. Unfortuantly i get the parameter that changes the value, from an dynamic Javascript query. Something like this: var mCounter = "14"; It changes every time the user changes the value in a form, but not via an refresh on the htmlpage. My question is: - How can i take a dynamic value from a javascript into my .FLA My best regards Niels Kristiansen |
|
|
|
|
|
#2 |
|
Me
|
call this function when the button in the html-file is pressed:
HTML Code:
<script language="JavaScript"> <!-- function setVars(){ window.document.movie.SetVariable('someVar',mCounter); window.document.getElementById('movie').SetVariable('someVar',mCounter); } --> </script> ActionScript Code:
- Ruben
__________________
. Originally Posted by MichaelxxOA "He sounded like he knew which words he was going to use before he knew what he was going to say. I hate that shit." |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|