Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

82 users online



*****Flash 8 guru needed*****

*****Flash 8 guru needed*****

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
korrupt

korrupt

Neverside Newbie
Status: Offline!

*****Flash 8 guru needed*****

Let me start by saying my Flash 8 skills are competent at best, but very limited. I am going back and trying to tweak my site a bit. With that being said my problem is trying to add a URL to a Movie Clip.

http://www.gametimephotos.com

Under the Galleries section of my webpage are where my problems occur. Each photo is suppose to be a Movie Clip. To temporally circumvent this problem I changed each Movie Clip into a button and added a getURL action script. If you roll your mouse over the text portion of the page ( Baseball, Football, ....etc) you'll see what the Movie Clip is suppose to do.
1). How do you add a URL to a Movie Clip using Flash 8?

My Drill Team URL changed and I tried to edit those changes in Flash 8. After changing the getURL action script I presses Ctrl + ENTER to test it. Not only does the webpage open up, but the linked URL page also opens up automatically.
2.) How do I correct this problem

Hope I provided enough information. Please send me a PM or email me with information. I'm also looking for tutorial to help me solve these problems. So if you have any please post them here. I'm not opposed to sending you the .fla file if you can fix these problems.

*on my knees begging*
Thanks in advance,
Sonny

korrupt

korrupt

Neverside Newbie
Status: Offline!

NOBODY? Cry

fmx

fmx

null
Status: Offline!

when using a mc for a button you should address the events like so-

Code:

my_mc.onRelease=function(){       //not my_mc.on(release){}
    //code;
}


thats how it use to be.... dout it would change in f8.

as for prob 2 you would need to post the code... sounds like a placement prob.

goodluck

korrupt

korrupt

Neverside Newbie
Status: Offline!
Originally posted by fmx:

when using a mc for a button you should address the events like so-

Code:

my_mc.onRelease=function(){       //not my_mc.on(release){}
    //code;
}


thats how it use to be.... dout it would change in f8.

as for prob 2 you would need to post the code... sounds like a placement prob.

goodluck

Here my .fla if you'd like to take a look. I tried it on the Trading Card Movie Clip.
http://www.gametimephotos.com/page3.zip

Last edited by korrupt, April 27th, 2006 10:13 AM (Edited 2 times)

fmx

fmx

null
Status: Offline!

the use of the movieclips makes it tricky to nav inside via actionscript, but for a quick fix-
give the movieclips an instances name (should be done regardless) and on the actions layer(6) at frame 29 write the event(s) for each mc.
eg; for the trading cards mc goto frame 12 on layer 15 and click on the mc, give it a name 'tradingcards_mc' then go back to the actions layer(6) at frame 29 and write the event-

Code:

tradingcards_mc.onRelease=function()({
getURL("http://someurl.com");
}

this worked for me.

korrupt

korrupt

Neverside Newbie
Status: Offline!
Originally posted by fmx:

and on the actions layer(6) at frame 29 write the event(s) for each mc.

How do I accomplish this?

fmx

fmx

null
Status: Offline!

if you are talking about not being able to write in the actions panel, then you need to click on the 'Script Assist' button.
if you would like i could recreate your swf.

korrupt

korrupt

Neverside Newbie
Status: Offline!
Originally posted by fmx:

if you would like i could recreate your swf.

that would be great! thanks

fmx

fmx

null
Status: Offline!

here is a quick example... let me know if you are having troubles incorporating it into your file(don't mind the effects).

Attachments:

fmx-page3.zip 818.21 Kb, 85 views

korrupt

korrupt

Neverside Newbie
Status: Offline!
Originally posted by fmx:

here is a quick example... let me know if you are having troubles incorporating it into your file(don't mind the effects).

FMX....Thank you so much for your help!!! It worked beautifully and I can't thank you enough!!!

I have one more question. I tried to add

, "_blank"

after each URL to get the links to open in a new page, but for some reason it is not working. Is there another way to accomplish this?

EXAMPLE:
mcEvents(football_mc,football_mc.footballColor_mc,"Football","http://sonnycantu.smugmug.com/gallery/1063082", "_blank");

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0184 seconds.