flash navigation
- Started
- Last post
- 11 Responses
- numero1
having a few problem with a flash nav.
is this right
home.onRelease = function():void
{
getURL("htpp://www.google.com");
}
- amullins0
void is uppercase is AS2 and "htpp" is http
- numero10
yeah... http: I typed to quick in there jeje
ah allrightI get this '{' expected error ? Would you know why?!
- amullins0
is this the only code you have? is this code on the timeline - not the mc?
fyi - the code you have above should be on the same timeline as the mc
- amullins0
Example @ http://www.niftynewsite.com/sand…
- wendog0
home.onRelease = function():void
{
getURL("htpp://www.google.com");
}I typed this in notepad and nothing happing
- amullins0
holy hell - you're publishing to AS1. what version of the flash ide are you using? with AS1 (which I've never used) - you should remove the return type (Void in this case). After removing that, it worked.
home.onRelease = function() {
getURL("http://www.google.com");
}
- amullins0
on a side note - the actions layer is there for a reason. you should try to keep your timeline actions on that layer (for simplicity and easy debugging).
- numero10
yeah man that file is all wacked.... thanks... can it b change to AS3 or u have to start from scratch?!!
- amullins0
yeah - you wouldn't want to try that. start from scratch. but i wouldn't worry about it - just so long as it works - put it out of your mind and move on (let the next guy worry about it, unless you're getting paid). good luck - shoot me an email with any more questions as I'm logging off for the night.
- numero10
Thanks amullins!