View Full Version : from flash to the web
waldoaustralia
06-22-2004, 10:32 PM
I am building a website with a flash home page and the rest is html. My problem is that with the following script, I can't get it to open the new page...is there something I am doing wrong? The script is associated to the button, I don't get any syntax errors, so I am a bit confusED. Anythoughts?
on (press) {
getURL("http://www.blahmurray.com.au/faq.html", "_self");
}
Blue Cat Buxton
06-23-2004, 01:37 AM
you need to change the "_self" to "_blank"
That should do it.
waldoaustralia
06-23-2004, 06:00 AM
changing _self to _blank just determines what page it will open up in, it shouldn't matter which one. The problem is that it is not communicating with my browser....any thoughts on that?
And I did try _blank and it didn't work out.....no communcation for some reason between the two.,
mobilebadboy
06-23-2004, 06:12 AM
I'm not sure why it's not working, but there's nothing wrong with that code.
You don't even need the _self and it'll work.
Blue Cat Buxton
06-23-2004, 06:15 AM
Sorry, I missunderstood the question!
The flash works fine as you have it. I just set it up on a test button and off it goes.
Have you tried a different action to see if the button is working at all?
thebillionaire
06-23-2004, 03:50 PM
make sure the actions are being applied to a button not a movie clip, that should work defenitly if not try this code:
"button_name.onRelease = function() {
getURL("http://www.myurl.com");
};"
with out the quotes "", put it in the button. If it still doesn't work then your server probably doesnt support flash.
mobilebadboy
06-23-2004, 10:48 PM
Flash is client side, not server side.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.