|
-
tell html file that variable Test = "ready" from flash?
Hi,
I have this problem which i can't seem 2 figure out. In the html file (main.html) i am using a selfmade varialbe called 'Test' .
Test = "stoppp" when the html code is entered for the first time.
THen i have a flash (swf) file which has to trigger the Test variable. When a button is pushed in the flash file then the variable in the html file has to change.
Test = "ready"
is this possible and how can i achieve this. tnx very much for reading and i'm looking forward to your reply!
-
Flashkit historian
Hi,
Html is static. your not going to beable to change the substance of it.
-
Of course you can change HTML, you do it with Javascript.
Basically you need to use Flash to call a Javascript function. Basically in the HTML you'd have something like
test="stop";
function changeMe(){
test="ready";
}
and then in the Flash movie something like:
on(release){
getURL("javascript: changeMe()");
}
Though you may run into security errors depending on which version of the Flash player you're targeting.
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
|