[MX] Movie Within Movie Links - Help Please
Hi.
INFO
I have project called "gs.swf" Within that, I have a Scene called "Projects new". "Projects new" has a scrollpane that loads source - "Projects scroll menu". "Projects scroll menu" contains buttons/links.
PROBLEM
What script do I use to get the buttons/links in "Projects scroll menu" to link to a specific frame number (i.e frame 10) in the "Projects new" scene?
WHAT (simple A.S) I'VE TRIED
on (release) { gotoAndStop("Projects new", 10); }
As I'm sure you can see, this won't work!
Any help or advice will be gratefully received.
Thanks in advance.
Cat
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-22-2007, 09:12 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Links In A Movie Clip - Please Help
I'm using a graphic overlayed with buttons inside a movie clip - i.e. a menu that moves across the screen, but my links will never work. To each button, I assign a rollover action to stop my movie's animation and resume it when the mouse leaves, and a goto action to go to the scene and frame where the movie clip is that I want to play. So my script looks like this:
on (rollOver) {
stop ();
}
on (release) {
gotoAndPlay ("Scene 1", 2);
}
on (rollOut) {
play ();
}
I repeat this for six buttons. So my menu movie clip is in scene 1 frame 1, and my 6 movie clips are in a different layer in frames 2 through 7.
Now here's the problem. When I test the movie, a click on one of my buttons simply sends my movie clip back to the frame indicated, but it doesn't show the frame in my scene that I want to play.
What I get is a movie clip that jumps back when you click on the buttons, but does nothing else. If anyone understands what I am saying, please help me!
Can I Put Links In A Flash Movie?
I am doing a company logo with a flash movie
and have 3 catagories(words) falling onto the
page by the company logo. I want to make these words
live links to pages within the site. Can this be done.
All I see is using text block, which these arent.
Thanks
Movie Clip Links?
How do I link up a link from the main flash movie to a frame in a movie clip, do I need to use action script? and also how can I include a close button to close it?
If anyone has a example file please could you post it, its driving me nuts. It’s the first time using movie clips so I don’t really know what I am doing, just hoping to stumble across the right thing.
Any HELP would be appreciated, and thank you in advanced.
From
0rlando
Movie Links Problem
Hi,
I am having a problem linking some Flash buttons to files. The menu can be seen on the left here
I've opened the file in Flash MX but cannot for the life of me figure how to adapt it so I can link the buttons to specific files e.g About Us - index.cfm, Services - services.cfm, etc.
The actual flash file is here in WinZip format
If anyone can give me a start I'd appreciate it. I'm no expert with Flash MX but I know I'm going to have to use ActionScript to link the buttons. The problem is I'm not sure what to put where!
Thanks in advance...
Phil
Links Within A Movie Clip
I am creating a scrollable / pan-able map. This map is Movie Clip, and the code that makes it work is layered with about five layers of Movie Clips.
I want to add links to buttons inside this Map. If I add the button to the top level of the Flash file, outside of the MC, it works. If I nest the same button inside the MC it stops working.
This is the code:
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
on (rollOver) {
getURL("lingo:cursor 280");
}
on (rollOut) {
getURL("lingo:cursor 0");
}
on (release) {
getURL ("lingo: go "SHANGHAI"");
}
Any ideas?
Thanks!
Quicktime Movie Links
hi folks..
my site has a few links to quicktime movies embeded in html...
the movie will not play until they are fully loaded...
http://members.dodo.net.au/~petermiller/pmmedia.html
they are under samples
the mp3's on the same page will behave correctly...
Does anyone know how to fix this??
hope someone can help
Links From Flash Movie Swf
I am trying to link the text from a flash doc. In the flash doc. I linked the text in the properties menu and exported my file into a movie swf file. I read that this does not work anymore but I did not understand why. The author of the forum gave me this code to use and still it does not work.
Here is the code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase "
Help With Movie With External URL Links
Sorry but I am a total newbie>
I have a 4 frame movie imported into one layer and want to specify a different URL to be opened in a separate window for each frame. So I have made each frame a keyframe and added from the behaviors a geturl event for each frame. When this is published it loops the movie and opens a new browser window for every frame for every loop, resulting in dozens of browser windows. How can I make this a mouse clickable event so only when I click on a frame will the new browser window launch?
I am trying to use onrelease, but I am not sure how this should work as I can't find a good example.
One Movie Multy Url Links
whats the best way to have a single outro movie which, depending on the you pressed jumps to a different url link....
for instance
button 1 ___when pressed would go to outro movie and link to url myflash01.swf
button 2___when pressed would go to same outro movie but would link to url myflash02.swf
hopefully there's a simple script for something like this.
any help would be great...
swift>>>>
One Movie Multy Url Links
whats the best way to have a single outro movie which, depending on the you pressed jumps to a different url link....
for instance
button 1 ___when pressed would go to outro movie and link to url myflash01.swf
button 2___when pressed would go to same outro movie but would link to url myflash02.swf
hopefully there's a simple script for something like this.
any help would be great...
swift>>>>
Draggable Movie With Links
I have a movie that is draggable and I am finding a way to incorporate links into that movie. I would like this movie to be draggable anywhere but still have the links be functional. Any ideas? I have text that I would like users to click on but so far I have no way of doing that.
Thanks ahead for your help!
AS - Placing Links At End Of FLV Movie
Hi,
I'm trying to do 'El Tube type links at the end of a movie FLV clip played using the standard (Macromedia) Flash video plugin/skins.
Is there an easy way to detect the end of movie and then place a new (scene?) at the end?
Please go easy on me - I don't programme.
Many thanks,
Tony.
URL Variables In Flash Movie Links
I have a flash movie on a cfm page. I passed URLvariables to it by
concatenating the string like this...
<EMBED src="trackingflash.swf?ID=#URL.ID#"
My problem is this...
I have links on the flash movie to which I have to append ?ID=#URL.ID#
eg.This is what I would do on a regular page
<cfoutput><A
HREF=http://localhost/nbtools/about.cfm?ID=#URL.ID#</A></cfoutput>
How do I get the variables(like shown above) on to the URLs within the flash movie?
I tried this and it did not work...
<A
>HREF=http://localhost/nbtools/about.cfm</A><CFOUTPUT>&?ID=#URL.ID#</CFOUTPUT>
>PS: I have a good knowledge of cfml but I'm a novice with flash.
Thanks in advance!
Event Sounds And Movie Links
hi,
im creating a dynamic website for a college project, and ive got two seperate scenes (so far) and in each scene i need sound playing in the background on a loop (each sound is about 20 secs long.
when i try event sound, every time the rest of the animations loop, the sound triggers again ontop of the same sound....so i set the sound to 'start'. ....but when i change scenes, the music from scene 1 carries on...how do i keep the looped sound within the scene.
and....i previously created a shoot-em-up game in a seperate flash movie (file) and i want to be able to link to it from another new file. Can i import it all (with actionscript and images) into my new movie...or do i have to build it all again from within my new movie (file)?
thanks in advance for your help...
Stop Movie But Have The Links Working
hi ppl
here's my dilemma, ok i have a movie play and at the same time links slowly "alpha" onto the screen. while they "alpha" in, i am able to click on them and they work (to open a webpage)
but when my movie ends (i used a stop command) the links die
how do i get it so that the links still work after the movie has ended?
Setting Up Nested Movie Links
Maybe this is an easy thing, but I'm feeling brain-dead right now and can't figure this out.
Here's my problem:
I've got several movies nested within a larger file, and I need to set up assorted links to get from a particular frame in one movie to a labelled frame in another movie.
To clarify what I mean, the Main Flash file has 4 movies nested within it - "movieA" on Frame 5, "movieB" on Frame 10, "movieC" on Frame 15, and "movieD" on Frame 20. Let's say the 5th frame of movieD has a button that needs to link to the 11th frame (labelled "D link") of movieB. What is the actionscript I would need to get this to work? Is there a way to do this using frame labels as opposed to frame numbers? This will help if I have to add additional frames in the future to update this file.
Thanks in advance,
-Tom
Movie Delay Stops My Links
I would like to stop my movie from looping. The Action Script "stop" does this nicely but it appears to stop everything else in the movie too. This is a prob because my buttons with "get url" links stop working.
I've tried loading my buttons in as seperate one frame movies using "load movie" but it the stop action still over-rides actions in other loaded movies.
Can anyone help me? it's doing my head in and I know the solution is probably really simple...
Thank you
Links On One Movie Clip Are Showing On Another...HELP PLS...
I have several mc's which are controlled with actionscript (no done by me since I am a newbie and I am just exprimenting with someone's .fla) and the links which are on one mc are also showing on another - not actually the text but the hand cursor when moved over the same spot of another mc. And I cand get over this since i need to hav links on all the mc's.
Any help would be most appreciated...
Thnks
Button Links Within Movie Clips
Here's a simple question-
I have a movie clip called say, "Navigation MC". Within that movie clip I have a navigation menu made up of buttons. The movie clip is say, 30 frames long with a stop at frame 10 where the menu buttons are. I want to link the menu buttons to frames in different scenes, but it's not working.
For example, the button labeled "Home" is linked to frame 1 of the Scene called Home. What happens when you click on this button is it goes to Frame 1 of the current Movie Clip.
Any ideas, or is this a fact of life for Flash MX...?
Thanks,
Joe
joe@joefreelance.com
One Movie Clip Button; Many Links
I have a button contained in a movie clip, which enables the button to have several animation states. I use the same movie clip for many different buttons. When clicked, each button takes the user to a different URL. Problem is, I don't know where to put my web links. I can't put them in the movie clip, 'cos you change one, they all change.
My guess is I could:
1. Use invisible buttons on the main timeline to activate the links, or
2. Add actions to the movie clips that allow the movie to play for 10 frames or so (to give the movie clip's animation time to play), and then stop on a frame with an action that loads a URL.
How should I do this? Is there a better way?
Links And Closing Movie Clips
ok so i have sorted out the hyperlink stuff
such as
on(release){
_root.mtClip2.loadMovie("index.swf");
}
how do i close this so i can then loadMovie("contact.swf") when i click on the contact button?
cheers
Setting Up Text Links, Within The Movie?
Hi all,
I know it is perfectly feasable to assighn a URL to text, in order to link it, with HTML or the text.URL command.
BUT, I would like to assign internal actions to text in order to use a gotoAndPlay or setVariable command the same way you would use them on a button (on(release) for exapmple)? Is this possible?
I am hoping to use resizable text, which means I cannot use buttons to achieve my goal (unless I complicate things alot by moving the buttons depending on the text size...!)
Many thanks
N
Several New Window Links In Host Movie
I have a movie that loads many clips into itself. Each MC to be loaded into the main movie has a link that opens a new pop-up window (Width=568, Height=430). How do I point the java script for each different movie?
Tom
Dynamic Movie Control Links
I have an array:
item[0] = Yellow;
item[1] = Green;
item[2] = Red;
and so on.
I need to create a normal list of dynamic buttons from this array and add movie control to them. For example:
1. Yellow <-- Go to and play frame 2
2. Green <-- Go to and play frame 3
3. Red <-- Go to and play frame 4
I've looked for a tutorial but they are all a bit overkill for what i need.
[MX] Button Links In A Movie... What Am I Doing Wrong?
Hi there
I havn't used Flash in a while and I'm attempting to create a nice website. Here is my dilema.
For my menu I am using an image scroll, where the mouse rolls over the images and moves them left or right. My question is how do you then turn each image into a link to another page. I have tried the usual:
on (release) {
gotoAndStop(Scene1", 2);
}
But this unfortunately does nothing.
I'm guessing some more advanced script is needed but I don't know what?
Can you help me? It would be very much appreciated...
I have already used the tutorials in FLASHKIT to create a few scroll variations (that are attached) but have had no success with the links.
Links Not Functioning After Publishing Movie
I am using this code to externally load my links. It works fantastically in Flash, but when I export the swf and try to publish it online, the links do not work. If I test publish HTML in Flash they also do not work. Is this something in my code or do I need to change a setting when I publish?
Code:
newURL = new LoadVars();
newURL.onLoad = function(success) {
if (!success) {
trace("FAILED TO LOAD");
}else{
//do whatever you want to happen IF successful
webSite = newURL.link1;
//set button code
button1.onRelease = function() {
getURL(webSite);
}
}
};
newURL.load("http://www.boomer-living.com/vidback/flashmenu/boomerMenuLinks.txt");
Controlling A Movie With Links In Another Frame
I have recently designed a site for a client which has not yet launched commercially. The layout involves two frames: a navigation frame (top) and a content frame (bottom). The flash movie resides in the top navigation frame and displays buttons that allow the user to access the five major sections of the site. When the user selects a button in the navigation movie, the content frame loads the appropriate page while the movie goes to and plays the approriate frames to introduce that section of the site. This process works flawlessly and creates a very nice user interface. Because I want the site properly indexed by the major search engines, all five links contained within the flash menu can also be found at the bottom of each content page. However, if the user selects the links at the bottom of the content page instead of form within the navigation movie, the content frame changes, but the flash movie remains unchanged. This causes the navigation movie to display incorrectly according to the current content area.
Is there a way to make the flash movie, inside the navigation frame, goto and play the appropriate frames when a link is selected from within the content frame?
Any help would be greatly appreciated!
Thanks.
Text Links Interacting With Movie
How would something like this be done? Ideally I'd like to have a dynamic text box that loads text links from a text file or xml, and the links interact with the movie by sending the text box away and loading another movie in its place. I haven't found anything on how to do this, and my project has come to a screeching halt because of this text link thing.
I did find some scrolling techniques for scrolling a movie clip inside of a scroll pane, but I can't create a new movie clip tall enough to accomodate the huge amount of links I'm going to have. Plus, in my opinion, thats just not good form for something that should have some dynamic update ability.
Any ideas?
Voiding Links When Loading A Movie
From my index page, when someone clicks on a link it loads a movie clip on top of that page. However, once they are on that new page, the links from my index page are still showing up. As you move the arrow around the page you will see the hand come up where the links were on the index page. How can I void this so that those links don't show up/aren't active on every other page of the website?
I'm desperate for help on this question!!!
Thank you!
Kristine
Movie Won't Stop Once I Try To Create Links
Hi everyone - this has got to be the dumbest question ever, but I have been watching tutorials all day and I can's figure this out:
I created this simple flash animation at the top of this page: http://epitomegirl.com/MWS/olarrysirishpub.com/index.html
My goal is to have it stop (like it does now) and once it stops, have 3 of the bottles clickable so you can go to a URL when you click on them. These have already been converted into buttons with instance names.
My problems:
(1) I have a stop command at the end of this animation, but as soon as I add any other actions anywhere in the timeline the movie starts looking uncontrollably
(2) I am using Flash CS3 and I can't for the life of me navigate the overwhelming actionscript options for just making a &^%$ing button clickable.
Could someone who is a kind soul take a moment to help me out with this? I'm guessing this should take 3 minutes but I've spent 4.5 hours trying to figure it out and I am losing my mind.
Thanks in advance for your help! :)
Carrie
Links Within Movie/menu Won't Work
ARRRrrrrGGGGG.
Starting new thread on this though it's related to a recent post. Slightly different issue that the last user.
(oldnewbie - I accessed that other post of yours but can't download the file to take a look...? )
Here is where I am:
http://www.desolagroup.com/cfgsalestool/test/
When you click on the quicklinks button down at the bottom, it loads the movie symbol for the pulldown, but the links within it won't work. It shouldn't be this hard should it -the button just needs to go to a different scene...??
The flash file is here:
http://www.desolagroup.com/cfgsalestool/test/Sec2.zip
Can you guys help me?
Links Not Working In Flash Movie...
I have a flash website, this is opened by clicking on an 'Enter Site' button, which then opens up the embeded .swf which is inside an HTML file, which has no toolbars, no scrollbars, etc....all done through Javascript...
Ok, i have a links page, and it doesnt work. I have used the On (release) getURL function trying to opening a website in a '_blank' page, but nothing happens...
I mean, if i have the address (URL) as just say, www.download.com, it will try and open the page which is relative to my site, looks in the same folder for something called that i presume, and as there is nothing with that filename it comes back with 'page cannot be displayed' error.
As soon as i put in http://www.download.com, so with only the http:// in front, nothing happens, i click on the button for the link, and it does nothing, i mean it does through the up, down and click stages of the button, but no more.
If i open the .swf file on it's own, the links open up fine
Sorry for essay, im just really struggling to get my head round this one.
Any help is muchly appreciated
Dynamic Links Within Flash Movie Button
ok... I have a flash movie embedded within a Cold Fusion page. I am passing the URL variables from the CF page into the Flash movie by surrounding the <object> tage with <cfoutput> tags as follows...
<cfoutput>
<object classid="clsid:blahblah" codebase="http://blahblah">
<param name=movie value="MyFlashMovie.swf?Variable1=#URL.Variable1#& Variable2=#URL.Variable2#">
</object>
</cfoutput>
I can now easily display these variables within a dynamic text area - no problem there - I've done that.
My problem is that I cannot seem to access these variables when it comes to using them within the GetURL action of a button.
All I want is to make the link from my button dynamic depending on the URL variables sent from the CF page (i.e. /mypage/index.cfm?Variable1=23242424&Variable2=23124145)
What am I not understanding?
[Edited by bassamatic on 05-14-2002 at 09:24 PM]
Please Enlighten - Movie Clips, JPG's, Dynamic Links
Hello Again,
The last message has fallen a bit down the list so I am posting this again in desperation.
I am trying to have my SWF load a jpg image dynamically then make the image a hyperlink to another website.
I am doing the following:
createEmptyMovieClip("container",1);
container.loadMovie("TestImage.jpg");
container._x = container._y = 150 ;
This all works fine. What I need now is to make the loaded image a hyperlink.
I have managed to make the Movie Clip open the other website by using getURL but that only worked when the movie loaded. I need to have the Movie Clip respond to a mouse click as an active hyperlink would do.
Have also tried:
container.onPress = function() {
container.getURL("http://theothersite.com", "_blank");
};
but that hasn't worked either.
If I am missing something simple please let me know I'm a doofus. If there is another thread that I have missed please point me to it. I don't mind learning from my mistakes but I can't for the life of me get this to work correctly.
Any assistance or even some bread crumbs to the solution would be greatly appreciated. Thanks.
Protius
Movie Control With Text Links - Use Asfunction?...
I've got an imbeded movie clip within my main movie. This movie clip has a text field that I'd like to insert clickable text into. The user could click certain highlited words to get a definition window to pop up. This definition window has to come from the parent movie though, not this child.
I found something on Vanguard's Web site that appears to be doing exactly what I’m looking for, but how do I do it?
[list=1][*]Go here: http://flagship4.vanguard.com/web/co...scatHNWOV.html[*]Look to the right side of the page. Click on the “Vanguard Charitable Endowment Program [Flash]” link.[*]Skip to Step #2 of the movie. See the clickable text? Click on it. I need to do the same thing except my link will be coming from an imbedded movie clip that's targeting an item in my parent movie.[/list=1]
I'm guessing I will need to use "asfunction". I've read a couple of threads on this board about that and even one on Macromedia's site, but am totally stumped. I can't get anything to work.
Any info/code/examples you could provide would be MUCH appreciated.
P.S. I'm using FLASH MX.
Thanks!
HTML Links Used To Control A Flash Movie
Hello,
Anyone tell me if it is possible to use a regular HTML links to load certain movies to appear in a Flash movie? Is this possible?
For example...I have about 5 different links (html) that I want to use to call up certain movies in my original flash movie.
Let me know
Thanks peeps
Multiple Links On Single Movie Clip
I have not done any flash in a while and cant remember the best way to do this. I have say four images which I converted to graphics. Each graphic has an action for a link to a specific site. I placed the four graphics next to one another and made them into a movie clip. These are to scroll in a loop you click on the graphic of say the band you want as the graphics are scrolling by or going through a mask. However all my link actions disappear when I make the movie clip. I can add a link to the movie clip all together but I need each pic to be different. Am I going about this all wrong?
thanks
Control Flash Movie With Text Links?
Is it possible to click on a text link in a movie and go to a certain frame on the same movie?
I am creating a flash website that mimics the actions and feel of an html site. Like an html site it uses both buttons and text links to go to "pages" -- actually separate frames -- in the main movie. Of course, the buttons are easy: you just simply put AS that tells the movie to jump to a particular frame. I am having trouble with figuring out how to make the text links work.
Let's say I have a button on the "home page" (frame one) that is labeled "about me"; when you click it, you goTo and stop to frame two, labeled "about me" where you find all the "about me" content. Well, also on the "home page" I have text that references the "about me" page; I want the user to click on a part of the text that simulates a hyperlink and be transported to the "about me" frame.
I have thought about putting invisible buttons floating above the text, but there has to be a more elegant solution. Isn't there? Any help would be greatly appreciated.
Urgent: Links Within A Movie Clip Not Working?
I'm making a button where on "over" there's a movie clip with a slide-out menu but the buttons only go to frames in the MC. I tried to make it so instead of just frame number, SCENE and frame number, but it didn't work. I really need help fast with this one! Thanks!
Links Not Working In Browser But Do In Test Movie?
Hi,
For some reason none of the links in my site work with when I preview it in the browser (IE7). They work fine when I hit ctrl + enterand test the movie in Flash though.
My links are simple buttons composed of text and have the ususal ActionScript:
on (release) {
getURL("http://www.bbc.co.uk", "_blank");
}
What is going on? Oh, and I have made sure I have already 'clicked to activate' the movie.
Please help?
How To Change The Movie Clip A Button Links To?
I am working on a website in Flash that had already been designed by someone else. There are a number of buttons across the website that are linked to the same symbol. Those buttons link to movie clips, in the button's actions, that pop up as small windows providing more information in regards to the button clicked. The problem is that I cannot figure out how to properly change the link association between button and movie clip.
Here is the action script for one of the buttons:
on (release) {
_root.scrHEIGHT=100
_root.scroller.scroller.gotoAndStop(2);
_root.scroller._x = 100;
_root.scroller._y = 150.7;
_root.TM_title = "About Chris Smith";
_root.READ = 3;
}
When I change the number after "root.READ =" it will change it to another movie clip but I how do I know what that association is based on? For instance if I make a duplicate movie clip how can I make the above script link to it? Also, what exactly does that last line in the above script mean? When I tested various numbers, like 3 and 6, they would link to the same movie clip.
Please help! This is driving me crazy!
Thanks!!!
Html Links Target Another MovieClip In Same Movie
OK, here's what I am trying to do. I have figured out how to read in an html file and format it (somewhat) with CSS in flash. I need to have the links in the html open in a separate movieClip, etc. on the same page. Picture one column of html text with links to content that appears in column 2. Is this possible? I am at a loss and have a serious deadline approaching!
BTW, does anyone know what the trick is to set line-height on html text in Flash? I was very excited to learn that Flash allows the use of CSS to format html text in Flash. That is until I learned that the set of CSS attributes is SEVERLY limited. There is no line-height attribute!!! DUH!!! What kind of stupidity says "Let's allow the use of CSS, but only a few attributes."
Thanks,
Can Text Links Go To Parts Of A Movie Clip?
How can I make text links in a HTML dynamic text box link to a scene or frame in my movie clip?
I don't want to use buttons to replace the links in my text box. That's the problem.
What to I put in the <A ... ='...'> HTML code to make this happen?
THANK YOU.
Links In Hidden Movie Clip Are Still Active
hi,
i have some content that gets hidden until the user clicks on a button. it uses a hideRelated() function. the problem is that it has a link to related content and a search function that still appear to be active even when the content is hidden.
any ideas how i could solve this?
Buttons/links Inside Of Movie Clips
sorry, but i'm actionscript challenged and it's been a LONG day...
i have a button inside of a movie clip, and when you click the button, it's supposed to go to another scene. i tried using the gotoAndPlay (scene, frame) option, but it didn't work for obvious reasons.
is there something i'm supposed to put infront of gotoAndPlay?
|