logo-dw

Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 06-27-2007, 10:41 AM   #1
jo hanna
 
Join Date: Jun 2007
Posts: 7
Default problem with external links from a swf file

Hello,

I have a Flash website which is embedded in Dreamweaver with some HTML attached to it. The site works fine, but somewhere in it are some external links and they don't work anymore. I used the geturl() command in Flash, so it should work, but it doesn't.

Can anyone help please ?
Thanks,

Jo.
jo hanna is offline   Reply With Quote
Old 06-27-2007, 12:43 PM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

i need to see the actionscript and also where you assigned it.

did you assign it to a button or a keyframe. If its a keyframe you could be playing past it or not even playing it at all if your logic is incorrect. If its on a button (which it should be) where is it assigned to the button
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 06-27-2007, 12:59 PM   #3
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

Moved to flash section
domedia is offline   Reply With Quote
Old 06-27-2007, 02:29 PM   #4
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

Quote:
Originally Posted by domedia View Post
Moved to flash section
must have an Inertial damper plugin installed

never felt a thing
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 06-27-2007, 02:43 PM   #5
jo hanna
 
Join Date: Jun 2007
Posts: 7
Default

hello,

the code is assigned to a button and is called from the actions layer in the file.
(I'll attach the flash file in the next post, but i have to go and scale it down a bit first. )

what do you mean by "must have an Inertial damper plugin installed" ?

Jo.
jo hanna is offline   Reply With Quote
Old 06-27-2007, 02:50 PM   #6
jo hanna
 
Join Date: Jun 2007
Posts: 7
Default

fla file with the buttons to external links
Attached Files
File Type: zip links2.zip (5.4 KB, 4 views)
jo hanna is offline   Reply With Quote
Old 06-27-2007, 02:55 PM   #7
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

Quote:
what do you mean by "must have an Inertial damper plugin installed" ?
when Dom moved the post i never felt a thing. I would of expected some dizzyness but got nowt
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 06-27-2007, 03:02 PM   #8
jo hanna
 
Join Date: Jun 2007
Posts: 7
Default

Oh i see. Well these things do tend to go very smoothly nowdays.

Any suggestions on the links problem, by the way ?
jo hanna is offline   Reply With Quote
Old 06-27-2007, 03:24 PM   #9
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

i have had to wipe my machine as i am waiting for a new laptop for work. When i get flash installed i will check it out. Or if some one would be so kind and check that file out that would be really cool
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 06-27-2007, 03:36 PM   #10
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

This is what the code looks like, I can't see what's wrong, but I'm no actionscript person either.
Code:
// setting button callbacks to link to the external websites
BG_btn.onRelease = function() {
	getURL("http://www.british-gymnastics.org", "_self");
};
FIG_btn.onRelease = function() {
	getURL("http://www.fig-gymnastics.com", "_self");
};
WMAGA_btn.onRelease = function() {
	getURL("http://www.wmgymnastics.org.uk", "_self");
};
CH_btn.onRelease = function() {
	getURL("http://www.caritahouse.com", "_self");
};
MIL_btn.onRelease = function() {
	getURL("http://www.milano-pro-sport.com", "_self");
};
domedia is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 08:55 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com