FORUMS: list search recent posts

SWF navigation bar in HTML PROBLEMS!

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Clint Milner
SWF navigation bar in HTML PROBLEMS!
on May 21, 2008 at 4:16:51 pm

I've made an accordian style swf where there are 5 main headings and in each heading is 3 sub headings.

The swf is 200 X 400 pixels long and will be present on every page of my website. It will be incorporated into a template.

I'm having trouble creating the onRelease event for the buttons. Here is the AS 2.0 code:

replication_btn.onRelease = function() {
getURL("C:Documents and SettingsClint.ALPHADesktopADL WebsiteindexTEMP.html","_self");
}

Do I need to wait until everything is uploaded to my webserver and use this code:
replication_btn.onRelease = function() {
getURL("http://www.mydomain.com/index.html","_self");
}


Any help or other suggestions would be great!

Many Thanks,
Clint


Return to posts index

Pieter Helsen
Re: SWF navigation bar in HTML PROBLEMS!
on May 21, 2008 at 4:51:01 pm

Is your flash in the same index as the .html?

Then just do

replication_btn.onRelease = function() { 
getURL("indexTEMP.html","_self");
}


Else, try using slashes instead of backslashes.

Kind regards,
Pieter


Return to posts index

Clint Milner
Re: SWF navigation bar in HTML PROBLEMS!
on May 23, 2008 at 4:25:35 pm

Many Thanks!



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]