problem with flash header/banner

  • tirkey
  • Newbie
  • Newbie
  • tirkey
  • Posts: 11

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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.
  • tirkey
  • Newbie
  • Newbie
  • tirkey
  • Posts: 11

Post 3+ Months Ago

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
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

What is the exact link you are trying to use? The one in your example? If not post the link.
  • tirkey
  • Newbie
  • Newbie
  • tirkey
  • Posts: 11

Post 3+ Months Ago

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
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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.  
  • tirkey
  • Newbie
  • Newbie
  • tirkey
  • Posts: 11

Post 3+ Months Ago

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
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 18 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.