problem with flash header/banner

  • tirkey
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 24, 2009
  • Posts: 11
  • Status: Offline

Post September 24th, 2009, 6:37 am

hi,
this is my 1 topic.

I having problem in flash banner. Through flash banner I want to connect/link with my other HTML webpage. but i can't link with other pages. I did the flash coding in flash banner that is -

on (release)
{
getURL("http://someone.html", "_blank");
}


please help me.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 24th, 2009, 6:37 am

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post September 24th, 2009, 6:41 am

Your code is correct for action script 2. Be sure you are applying it to the button instance and not the timeline (in other words, you have to make your banner a button symbol)
http://www.webdesign.org/web/flash-&-sw ... 12435.html

That is not correct for AS 3 though.

It helps when posting to let us know what version of Flash and ActionScript you are using.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • tirkey
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 24, 2009
  • Posts: 11
  • Status: Offline

Post September 24th, 2009, 7:01 am

thank u and thanking for your URL which u giving me most important thing. but all of these i have been try. but when i put this web banner in the my HTML page. My web browser give an error for the linking.

IN first step I was gave the link of local my computer link
that time this work, but when run the complete web page in other computer the error has been occur, that is for link.

I am using flash 8.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post September 24th, 2009, 7:05 am

What is the exact link you are trying to use? The one in your example? If not post the link.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • tirkey
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 24, 2009
  • Posts: 11
  • Status: Offline

Post September 25th, 2009, 7:38 am

first thing that i not tell u, sorry for that.
1). I create a simple webpage containing pages - home, product, faq and contact. in all pages i place a flash banner. I want that all pages are connect with each other through the button inside the flash banner. but button are not working when i test on other computer. give error for the path releated.

2). In flash banner i make button with button behaviour, codeing -

on (release)
{
getURL("d:\folder_name\home.html", "_blank");
}

than this link work on my computer.
but when i change the codeing,

on (release)
{
getURL("http://some_site/home.html", "_blank");
}

error has been occur and link are not working.
I am not understand that when I place the webpage on server than which type of link I use for connect the home,product,faq and contact pages. please suggest me. I so tensed.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post September 25th, 2009, 8:00 am

well you can't use your computer folder paths on other computers and expect them to work. They don't know how to find the files.

Keep your paths relative. In other words make sure home.html is in the same folder as your flash file. then your code would be

ACTIONSCRIPT Code: [ Select ]
on (release)
{
getURL("home.html", "_blank");
}
 
  1. on (release)
  2. {
  3. getURL("home.html", "_blank");
  4. }
  5.  


Alternatively you could upload all your files to your server. Keeping them all in the root directory with your flash file and do

ACTIONSCRIPT Code: [ Select ]
on (release)
{
getURL("http://www.mydomain.com/home.html", "_blank");
}
 
  1. on (release)
  2. {
  3. getURL("http://www.mydomain.com/home.html", "_blank");
  4. }
  5.  
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • tirkey
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Sep 24, 2009
  • Posts: 11
  • Status: Offline

Post September 28th, 2009, 6:27 am

first of all many many thnx 2 u.
your "actionscript code suggestions" is working. But another a problem is occur that is some internet explorer can't play some event present in the flash banner like - button dose'nt seen there.
If i am not worng there is slightly there is some older version of internet explorer that does'nt support flash.
then which code i apply in my html file that command to play flash banner in all older to newer version browser.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post September 28th, 2009, 7:39 am

It's most likely not the browser itself being old, but perhaps the flash player you have installed is too old. If you are using Flash 8, then most likely by default you are publishing for Flash 8 player and you need to have Flash Player plugin installed in your browser.

The current Flash player is 10 and is available here
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.