Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Adding a Link to a Flash Media Object in Dreamweaver
Old 04-13-2008, 08:47 PM Adding a Link to a Flash Media Object in Dreamweaver
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
Is there and easy way to add a link to a flash media object in Dreamweaver or does that need to be added to the button somehow in flash? How would you go about adding a link to a button in flash? Thanks for any help...
Jasonpv is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-13-2008, 09:05 PM Re: Adding a Link to a Flash Media Object in Dreamweaver
Skilled Talker

Posts: 87
Location: New York
Trades: 0
In dreamweaver
insert > media > flash

i am not sure what you mean...
NYChaoS is offline
Reply With Quote
View Public Profile Visit NYChaoS's homepage!
 
Old 04-13-2008, 09:22 PM Re: Adding a Link to a Flash Media Object in Dreamweaver
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
I have the flash media inserted but I plan on using this as a button so I need to link it to another page...not sure how to do that with flash media object though.
Jasonpv is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 10:18 PM Re: Adding a Link to a Flash Media Object in Dreamweaver
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You need to create the button IN the flash file itself.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 10:28 PM Re: Adding a Link to a Flash Media Object in Dreamweaver
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
I have done that but what actionscript is needed to link to url?

This is what I have tried:

Code:
this.reserve_btn.onRelease = function()
 {getURL("reserve.html");
}
I am getting a compiling error when I goto test movie in flash:
Code:
1180: Call to a possibly undefined method getURL.
and with the above code my button's stop action no longer works. It keeps looping back on rollover instead of stopping at the end of animation.

Last edited by Jasonpv; 04-13-2008 at 10:30 PM..
Jasonpv is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 11:46 PM Re: Adding a Link to a Flash Media Object in Dreamweaver
Jasonpv's Avatar
Super Talker

Posts: 102
Trades: 0
ok, got it.

My problem was I was using action script 2 commands when compiling with actionscript 3. Here is the correct actionscript 3 code:

Code:
function gotoPage(event:MouseEvent):void
{
var pageURL:URLRequest = new URLRequest("reserve.html");
navigateToURL(pageURL,"_self");
}

button.addEventListener(MouseEvent.CLICK, gotoPage);
Jasonpv is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Adding a Link to a Flash Media Object in Dreamweaver
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75215 seconds with 12 queries