How Can I Link A Value/Variable To An External Movie Clip?
Hi anyone who can help,
I am currently using a heirarchal menu system that I got from here and it is great - I changed all the text and stuff fine - but I need to link my buttons to movie clips from outside (or could be inside - doesn't really matter) instead of just linking to URLs which bring up a new box each time a link is clicked.
If anyone has any idea what I'm talking about can you look into the attached fla. and look at the 'custom' action script and you will see what I mean. Any help is much appreciated and I will admire you for years to come :-)
Russ
FlashKit > Flash Help > Flash General Help
Posted on: 08-19-2003, 11:32 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How Can I Link A Value/Variable To An External Movie Clip?
Hi anyone who can help,
I am currently using a heirarchal menu system that I got from here and it is great - I changed all the text and stuff fine - but I need to link my buttons to movie clips from outside (or could be inside - doesn't really matter) instead of just linking to URLs which bring up a new box each time a link is clicked.
If anyone has any idea what I'm talking about can you look into the attached fla. and look at the 'custom' action script and you will see what I mean. Any help is much appreciated and I will admire you for years to come :-)
Russ
Load An External Swf Into A Movie Clip With An HTML Link
Hi Guys,
Real basic question, I've already scanned the forums/google but couldn't quickly find what I was looking for.
Here's the breakdown, I have an swf file that basically consists of a mc to be used as a holder. I want to externally load an swf into that mc. Easy enough, problem is, I want to do this from a standard html link on the same page (but obviously, outside of the flash file).
Will this require XML? Or is there a simple command string that will talk to the actionscript within the flash file?
Button Link Inside Movie Clip Link To Slide #
First let me say I am a very new to ActionScript and Flash, but have a pretty good understanding of the web and a basic understanding of object oriented scripts from CSS and a few other languages.
I have a navigation menu which is a movie clip containing buttons inside it and have a slide presentation as my main content. I am trying to make the buttons link to a specific slide # in a different part of my flash presentation.
You can see the page here: http://brhpc.ericlevay.com
The nav menu is a downloaded source and the slide show is the default canned one from the Flash templates directory.
I was hoping to use the gotoandStop (slide#) to make the connection between the nav button and the slide but it does not do anything.
I will provide the source if needed...
Thanks!
Link From One Movie Clip To Specific Frame Within Another Movie Clip
Hello,
I've been working on this problem on and off for weeks now, and am hoping I could get some assistance, as it is driving me batty and my deadline is quickly approaching. Here is the basic setup:
I am creating a Flash webpage. I created a Flash movie with 6 frames, with a movie clip on each frame, each movie clip being a single page of the website. What I would like to do is have button within one movie clip (say a button in the movie "contact" which is frame 5 of the main movie) link to a frame within another movie clip (say frame 3 called "project3" within the movieclip "portfolio" which is frame 2 of the main movie).
With all my efforts, I am only able to get the button to go to and play the called movie clip at frame 1, and no other frame number or label.
I have tried codes such as the following:
on (release){
this._parent.portfolio.gotoAndStop("project3");
}
on (release){
_root.portfolio.gotoAndStop("project3");
}
... and countless other options, but nothing seems to work. I would greatly appreciate any assistance with this matter. For the record, I admittedly do not know much Flash and am learning most of this on my own with a small base knowledge from a design class I took years ago using UltraDelv! Please let me know if I need to go into further detail.
Cheers!
[CS3.AS2] Button In A Movie Clip Link To Another Movie Clip And Play
what im doing is that making a button in a movie clip link to another movie and play/stop certain parts of that clip
lets say that there are 4 buttons are in movieA, and the other clip is called movieB
when the user clicks button1 in movieA, movieB will play from frame 1 to 5 and stop.
when user clicks button2 in movieA, movieB will play from frame 5 to 10.
and so on
so far my code for button1 is:
on (release){
this._parent.movieB.gotoAndStop(5);
}
on (release){
_root.movieB.gotoAndStop(5);
}
button2:
on (release){
this._parent.movieB.gotoAndStop(10);
}
on (release){
_root.movieB.gotoAndStop(10);
}
with this code, it just jumps to the designated frame.
what i want is to have it play from current frame to a designated frame
can anyone shed some light on this?
Movie Clip Inside Movie Clip Link To Url Issue
I have created a scrolling row of banner ads that reacts to the mouse. I had some help getting the images to load in using an xml document and also to pass the url from the xml. My problem is the button funtion is blocked as the button movie clips need to be placed inside the scrolling movie clip in order to get it to scroll. Is there anyway I can get these buttons to work? I have attached my fla, please help!
Thanks for your time,
Glenn
How To Load An External Movie Using A Link Within An External Swf - Urgent
Hi all
Flash CS3 but coding in AS2 - mac.
I believe I have asked this question before but i was using loadMovie() - I am now using loadClip and the MovieClipLoader class and obviously I have managed to break something.
I have a number of external swfs which load fine, with preloaders using MovieClipLoader, into an empty MC on the stage called holder_mc. In one of the external swf's, there are two links to separate external swf's - if you click on either of them, the current swf is unloaded and the new one is loaded. I used:
Code:
myButtonWithinSwf.onRelease = function() {
this._parent.loadMovie("newMovie.swf");
}
However now that I am using a different code (because before, evrything wasnt preloaded, i just had a white space until it appeared) the code within the swf obviously has to change. The only problem is, I cant for the life of me work out what it is, I have tried all sorts of combinations and probably missed the most obvious one. I do not want to create empty movie clips, I want the movie to load into the MC which I have defined - holder_mc - and usually I would tell it to unloadClip() before loading the new one, but it cant load a new one if it has unloaded itself. I hope that makes sense!
This is the code I am using on the main timeline to control the preloading of the external swf's:
Code:
var mcLoader:MovieClipLoader = new MovieClipLoader();
var loadListener:Object = new Object();
loadListener.onLoadStart = function() {
holder_mc.stop();
};
loadListener.onLoadProgress = function(target:MovieClip, loadedBytes:Number, totalBytes:Number) {
pleaseWait._visible = true;
var preloaded:Number = Math.floor(loadedBytes / totalBytes * 100);
preloaderMC._visible = true;
preloaderMC.loadText.text = preloaded.toString() + "%";
preloaderMC.loadBar._yscale = preloaded;
};
loadListener.onLoadInit = function() {
preloaderMC._visible = false;
pleaseWait._visible = false;
holder_mc.play();
};
/**** register listener object with MovieClipLoader object ****/
mcLoader.addListener(loadListener);
anotherButton.onRelease = function() {
mcLoader.unloadClip(holder_mc);
mcLoader.loadClip("anotherMovie.swf", holder_mc);
}
my preloader is called preloaderMC and pleaseWait is just a movie clip that is placed on the other side of the screen for another reason. loadText and loadBar are the dynamic text and loading bar within the preloaderMC.
I really hope someone can help me ASAP as this was all working before with loadMovie() and now suddenly I cant get it working!
Thanks in advance
Theo
How To Load An External Movie Using A Link Within An External Swf - Urgent
Hi all
Flash CS3 but coding in AS2 - mac.
I have asked this question before but i was using loadMovie() - I am now using loadClip and the MovieClipLoader class and obviously I have managed to break something.
I have a number of external swfs which load fine, with preloaders using MovieClipLoader, into an empty MC on the stage called holder_mc. In one of the external swf's, there are two links to separate external swf's - if you click on either of them, the current swf is unloaded and the new one is loaded. I used:
Code:
myButtonWithinSwf.onRelease = function() {
this._parent.loadMovie("newMovie.swf");
}
However now that I am using a different code (because before, evrything wasnt preloaded, i just had a white space until it appeared) the code within the swf obviously has to change. The only problem is, I cant for the life of me work out what it is, I have tried all sorts of combinations and probably missed the most obvious one. I do not want to create empty movie clips, I want the movie to load into the MC which I have defined - holder_mc - and usually I would tell it to unloadClip() before loading the new one, but it cant load a new one if it has unloaded itself. I hope that makes sense!
This is the code I am using on the main timeline to control the preloading of the external swf's:
Code:
var mcLoader:MovieClipLoader = new MovieClipLoader();
var loadListener:Object = new Object();
loadListener.onLoadStart = function() {
holder_mc.stop();
};
loadListener.onLoadProgress = function(target:MovieClip, loadedBytes:Number, totalBytes:Number) {
pleaseWait._visible = true;
var preloaded:Number = Math.floor(loadedBytes / totalBytes * 100);
preloaderMC._visible = true;
preloaderMC.loadText.text = preloaded.toString() + "%";
preloaderMC.loadBar._yscale = preloaded;
};
loadListener.onLoadInit = function() {
preloaderMC._visible = false;
pleaseWait._visible = false;
holder_mc.play();
};
/**** register listener object with MovieClipLoader object ****/
mcLoader.addListener(loadListener);
anotherButton.onRelease = function() {
mcLoader.unloadClip(holder_mc);
mcLoader.loadClip("anotherMovie.swf", holder_mc);
}
my preloader is called preloaderMC and pleaseWait is just a movie clip that is placed on the other side of the screen for another reason. loadText and loadBar are the dynamic text and loading bar within the preloaderMC.
I really hope someone can help me ASAP as this was all working before with loadMovie() and now suddenly I cant get it working!
Thanks in advance
Theo
Button In Movie Clip To Link To Other Movie Clip
I am trying to have a button isde my movie clip on frame 1 to jumpt to the start of my movie clip on frame 2. They are both in the same scene. I have tried all the basic action scripts including calling the root target and movie name and nothing will work. I am using Flash5 in XP.
Some of the scripts I used:
on (release) {
loadMovie ("", "_root.about");
}
and
on (release) {
gotoAndPlay ("_root.about");
}
why doesn't this work?
ps my 2nd movie clip is called "about"
Button In Movie Clip To Link To Other Movie Clip
I am trying to have a button isde my movie clip on frame 1 to jumpt to the start of my movie clip on frame 2. They are both in the same scene. I have tried all the basic action scripts including calling the root target and movie name and nothing will work. I am using Flash5 in XP.
Some of the scripts I used:
on (release) {
loadMovie ("", "_root.about");
}
and
on (release) {
gotoAndPlay ("_root.about");
}
why doesn't this work?
ps my 2nd movie clip is called "about"
How Do I Link To Specified Frame In One Movie Clip From Another Movie Clip?
Hello,
I've been working on this problem on and off for weeks now, and am hoping I could get some assistance, as it is driving me batty and my deadline is quickly approaching. Here is the basic setup:
I am creating a Flash webpage. I created a Flash movie with 6 frames, with a movie clip on each frame, each movie clip being a single page of the website. What I would like to do is have button within one movie clip (say a button in the movie "contact" which is frame 5 of the main movie) link to a frame within another movie clip (say frame 3 called "project3" within the movieclip "portfolio" which is frame 2 of the main movie).
With all my efforts, I am only able to get the button to go to and play the called movie clip at frame 1, and no other frame number or label.
I have tried codes such as the following:
on (release){
this._parent.portfolio.gotoAndStop("project3");
}
on (release){
_root.portfolio.gotoAndStop("project3");
}
... and countless other options, but nothing seems to work. I would greatly appreciate any assistance with this matter. For the record, I admittedly do not know much Flash and am learning most of this on my own with a small base knowledge from a design class I took years ago using UltraDelv! Please let me know if I need to go into further detail.
Cheers!
Loading External Movie Clip With A Button Inside Another Movie Clip Help
Hi,
I am working on a scrolling thumbnail movie clip, that when you click on the thumbnail button inside the movie clip it will load an external movie clip. I have an empty movie clip on the main stage, and have been trying all sorts of code, but for some reason it doesn't like that I am inside a movie clip using buttons. It can't seem to find the external swf.
I have tried:
on (release) {
loadMovie (ithink.swf, "loader");
and
on (release) }
if (firstTime == true) {
loadMovie("ithink.swf", _root.loader);
firstTime = false;
} else {
_root.clicked = "ithink.swf";
_root.loader.gotoAndPlay("goback");
}
}
and so far nothing, for some reaosn when I click on a button outside of the movie clip with the above code it loads... and than the other works too, but if I click on the buttons inside the scolling movie clip first they won't work.
Any suggests or ideas!!?
I would really appreciate it... I am beyond frusterated!!
Link A Variable To Load A Movie?
hi,
at first sorry for my terrible English! Iam a german
here take a look:
set("_root.menu1.link1.theTitle", "Home");
set("_root.menu1.link2.theTitle", "Story");
set("_root.menu1.link3.theTitle", "Friends");
set("_root.menu1.link4.theTitle", "About Me");
set("_root.menu1.link5.theTitle", "2002 - 2004");
set("_root.menu2.link1.theTitle", "News");
set("_root.menu2.link2.theTitle", "Forum");
set("_root.menu2.link3.theTitle", "Mail Face");
Everything works, but how can i link a variable to a movie or to load a swf.data in a movie ???
help please!
mfg
Passing Variable To Movie By Html Link
Hi I've looked everywhere for this answer so i'm not sure its possible.
I have a movie within a html page. On the html page i have various links that need to be able to pass variables to the embedded movie. basically each link will load a differnent mc into the embedded movie by sending a differnet variable. I just need to know how to set up the varable in the link.
Any help will be really great thanks.
Main Movie With Buttons Link To Movie Clip
Basically, in Scene 1 (my only scene), I have buttons that call certain parts of a movie clip.
I've pulled the movie clip into the scene where I want it, and named the instance.
The movie clip has different things happening along the time line that relate to the different buttons. Each one has a stop action, as needed.
I placed the action of onrelease, tell target for each button to go and play the correct scene. Which it does - the first time. If the user hits one button, it goes to the right frame of the movie clip, etc, but if you hit the same button twice, then it jumps to a different button's place.
If there are only two buttons, it keeps switching back and forth.
If there are more than two buttons, only the last button is the messed up one - and if you hit it twice in a row, it goes back to the first button's frame of the movie clip.
Make sense? Any ideas of how to stop this. I even followed an example of this in a book EXACTLY and I get the same problem.
Thanks.
Link On Movie Clip
I'm having this problem: I have a movie clip, and in this movie clip I have a button. I want to link this button to another scene, and im inserting the following action:
on (release) {
gotoAndPlay("sales", 1);
}
It doesnt work, when I click it im directed to frame 1 of my movie clip.
Glad if somebody more experienced can help me.
How Do I Link From Within A Movie Clip?
Hello,
I have a button in a movie clip that is in a scroll pane. The button simply needs to link to a frame label in the next scene but it's not working. Do I need add something else to my "go to" information?
on (release) {
gotoAndStop("Certificates", "Teaching");
}
Thanks
Doug
Movie Clip Link [i Think]
I've tried making this movie clip into a link. It's basically a thing that on mouseover there is a transition. You can see it here: http://ajrandall106.5gigs.com/travis.html
I'm trying to get it so that you can click it and have a link. Can anyone please tell me how to do this?
If you don't want to explain can you do it on my file and send it to me?
http://ajrandall106.5gigs.com/D.fla
I've spent an hour looking for something to do this and all I can find is how to make a button or text into a link. So I'm turning here for help.
Thanks a bunch!
My email is ajrandall106[at]gmail.com
Movie Clip As Link?
Hey guys..i'm new to this board and to FLASH ...i tried to include a short movie clip to my homepage. My Goal is that you'll be directed to another page by clicking on this clip.
I found 2 ways to do that:
on(release) {
getURL("http://www.myurl.com/", "_blank");
}
or:
yourButtonName.onRelease = function(){
getURL("YourUrl","_self");
}
which one should i use?
[CS3] Link From One Movie Clip To Another
Can someone help? I'm sure the solution is probably just a few lines of code but I'm completely stuck.
If you click on any of thumbnails, the full screen pic should pop up. At the moment I have navigation set as, click outside the full screen pic to return to the thumbnail gallery. For usability issues however, I also wanted to include an 'X' in the top right of every photo to go back to the gallery.
My scene is set up like so:
Scene 1 > Movie clip 1 (thumbnails) > Movie clip 2 (full size pics)
I put the X on movie clip 2 and used the following code to try and return to frame 1 of movie clip 1 but it's not working:
PHP Code:
xbutton.onPress = function() {
_root.contentMain.gotoAndPlay(1);
};
Can someone tell me where I'm going wrong please?
Movie Clip Link
Hi,
What is the script for linking from the _root timeline to a label inside a movie clip?
Thanks
g27
Link From A Movie Clip
I just bought a flash template and I can't manage how to change some links.
Here is the site:
Baby Photo
I manage:
- to add new thumbnails,
- to move them so that the first one is the one I need
- to extend the area for them to display corectly
I couldn't find out what I'm I suppose to change to modify the links from that thumbnail in order to display the image I want.
Any ideas? What I'm suppose to change? Must be some actionscrip.
How Can I Load An External SWF Into A Movie Clip That's Inside Other Movie Clip?
Hi.
I creating my first flash (actionscript 3.0) website but I'm stuck with a visual effect I want to create.
I have a window on my website called contentWindow. Every time you click a button this window is supposed to leave the stage, load the requested content and return to the stage.
The sliding window is a movie clip with 83 frames, 21 to enter the stage, 21 to leave the stage again, 20 for nothing (its just to simulate the loading time) and 21 to return to the stage.
Now my goal is, when the user clicks on a navigation button, the window exits the stage, loads an external SWF with the content, and then returns to the stage.
I've the "window" movie clip with an instance name of "contentWindow". Inside there is another movie clip with an instance name of "contentLoader". The content that the user requested should appear inside the "contentLoader".
Now, when the contentWindow leaves the stage, I get this error message:
quote:TypeError: Error #1009: Cannot access a property or method of a null object reference.
at rwd_fla::MainTimeline/trigger()
If I switch "contentWindow.contentLoader.addChild(navLoader);" for "contentWindow.addChild(navLoader);" it works fine, but the external SWF doesn't move with the window.
How can I load an external SWF into a movie clip that's inside other movie clip?
Attach Code
//stops playback after the intro
stop();
//loads a loader with the "inicio.swf" file
var navLoader:Loader = new Loader();
var inicio_url:URLRequest = new URLRequest("inicio.swf");
//event listeners for the buttons
inicio_btn.addEventListener(MouseEvent.CLICK, navInicio);
wdesign_btn.addEventListener(MouseEvent.CLICK, navWDesign);
foto_btn.addEventListener(MouseEvent.CLICK, navFoto);
model_btn.addEventListener(MouseEvent.CLICK, navModel);
servicos_btn.addEventListener(MouseEvent.CLICK, navServ);
contactos_btn.addEventListener(MouseEvent.CLICK, navCont);
//functions to every button where the navLoader variable is defined
function navInicio(event:MouseEvent):void
{
navLoader.load(inicio_url);
contentWindow.play();
addEventListener(Event.ENTER_FRAME, trigger);
}
function navWDesign(event:MouseEvent):void
{
contentWindow.play();
addEventListener(Event.ENTER_FRAME, trigger);
}
function navFoto(event:MouseEvent):void
{
contentWindow.play();
addEventListener(Event.ENTER_FRAME, trigger);
}
function navModel(event:MouseEvent):void
{
contentWindow.play();
addEventListener(Event.ENTER_FRAME, trigger);
}
function navServ(event:MouseEvent):void
{
contentWindow.play();
addEventListener(Event.ENTER_FRAME, trigger);
}
function navCont(event:MouseEvent):void
{
contentWindow.play();
addEventListener(Event.ENTER_FRAME, trigger);
}
//the function that triggers when the contentWindow leaves the stage
function trigger(event:Event):void
{
if (contentWindow.currentFrame == 43)
{
contentWindow.gotoAndPlay(44);
contentWindow.contentLoader.addChild(navLoader);
removeEventListener(Event.ENTER_FRAME, trigger);
}
}
Edited: 06/13/2008 at 06:03:27 AM by Rui Marto
Transfering Variables From One Movie Clip To An External Movie Clip.
i have two movie clips. one is supposed to recieve the value for the variable and pass it on to the other movie clip, which is called into the 1st one via the loadMovieNum() command.
I was trying to use global variables but i'm not able to get this to work because the 2nd one is tracing undefined when i use
trace(variable);
any suggestions?
Pass Variable In Order To Link To Certain Frame In Flash Movie
i'm trying to pass a variable to my flash movie in order to make it go to and play a particular frame (referenced by its label in the actionscript).
i found the following on a message board and have attempted to implement it:
Here's a php example:
Let's say your external party wants to link to a frame label
"externalParty1"
Their html button would have this link
<a href="yourSwfPage.php?label=externalParty1&">Click here</a>
Now yourSwfPage.php has been sent a label variable in the query string which
is all you need. You will pass this on to your swf file like this in the
object tags.
<!--Your regular object tags here -->
<!--The variable which came in via the query string above -->
<!--is sent to flash from here via PHP -->
<param name="movie" value="yourSwf.swf?label=<?print urlencode($label);?>&">
And finally in your swf file you would have a method to manage the label
instruction
In yourSwf.fla have this on the first or second frame of the _root
//Did an external link come in?
if (typeof label != "undefined") {
this.gotoAndPlay(label);
} else {
//otherwise no external label so normal play
play();
}//end ifbut it doesn't seem to be working. is there a mistake in this information? can anyone advise on how else to accomplish this if this is not the correct way?
many thanks!!
Link To _y Coordinate In Movie Clip
I have a movieclip which is a bunch of thumnail images inside of a scroll pane. It will be set up so you can scroll down or I also want people to be able to click on a button and go to a particular section of that movieclip
The button is on the main timeline for that scene and here's the code I've tried... pane is the instance for the scrollpane and thumb is the instance for the thumbnail movieclip. I can get the scrollpane to move -50 if I take out the thumb instance, but I can't get the parent child thing to happen.
on (release) {
_pane.thumb._y = - 50;
}
on (release) {
_root.pane.thumb._y = - 50;
}
on (release) {
pane.thumb._y = - 50;
}
Please Help Me Movie Clip Link Prob.
Plz Help, PLZ!
I made a collapsible menu in flash using a movie clip i attaced this following code to the buttons
on (release) {
_root.gotoAndPlay("Frame_Name");
}
And it will liink to the designated frame/scene, but if you were to click the same button a second time it would skip to another frame/scene. How do I prevent this from happening?????
Help Making A Movie Clip Link
I downloaded a nice menu from the movies section here and edited it a bit to fit my design. Now, the problem I'm running into is the buttons are actually movie clips. I've tried just converting them to buttons but then I don't get the effect. I tried converting the text I inserted inside the movie clips to buttons and linking them but it messes up the effects a little and you have to actually click on the text to get the link. You can download the .fla here. Please let me know if any of you have any ideas.
CSS - How Can I Link It To A Movie Clip In Flash
Does anyone know of or have an example of how to build a CSS that will control the text of a dynamic text field's line spacing ? within a dynamic text field.
-
I'm having trouble with inconsistent line spacing
in a dynamic text field in flash and think this will help ?
-
How Do I Make A “Movie Clip” With A Link?
when i try to assign a link to a movie clip it takes away its effects..how do i keep the effects and still have the movie clip button link to another site...
thanks
Getting Combo Box To Link To A Movie Clip
RESOLVED RESOLVED RESOLVED RESOLVED RESOLVED
Hi,
It's my first post (after a while of reading the helpful posts!).
I'm having difficulties with the combo box. I'm trying to link to a movie clip (or anything really...)
I've tried a few things but I really don't know where to proceed from here.
Any help would be much appreciated. I'm using Flash MX 6.0
Thanks a million!
RESOLVED RESOLVED RESOLVED RESOLVED
Movie Clip Email Link
Is it possible to make a movie clip an email link? If so how do you do it, I tried using behaviors and it didn't work.
[CS3] Turning A Movie Clip Into A Link
I want my movie clip to play when I click it then when its done I want it to forward to another page.. I already made it so the movie plays when being clicked.. all i need to know now is how to make the movie forward to another page once finished playing.
Hope that made sense. Been working on it for awhile and my brain can't seem to think of any other way to explain it ;-) hehe know what I mean?
Thanks
How To Link Button To Movie Clip
I hope some one can help me with this.
I just resently started tring to creat flash web sites. and its smooth sailling until I try and get my buttons to work. My problem is I have a button in the main area/scene 1 and i have movie clips in the library that i want to link the buttons to.
can anyone help me with the coding to do that. or just what to do?
thanks
E-Mail Link In A Movie Clip
I have made a movie clip that has 5 frames (in the scene) and 2 layers
1 layer is for people
1 layer is for action script
in the people layer on each frame is information about 1 person: ie. their name, phone, location, and e-mail address
This movie clip will be part of a button.
When the person visiting the site clicks on the button the movie clip will go to the person associated with that button.
I want to have the e-mail address linked to that person's e-mail address, so when they click on the button they will see the e-mail address, click on the e-mail address and outlook express (or whatever) will pop up and they will be able to send that person a e-mail.
Problem: I can't get the link in the move clip to become a "link" when I try to use get URL it doesn't work. Flash help has given no clues as how to do about doing this.
Help would be appreciated.
Thanks
Cathy
Button Movie Clip Link
I've created some simple buttons that I'd like, when clicked, to play a movie clip. Whats the best way to do this?
Giving Link To Movie Clip
Hello..
I have a problem.
I created an empty movie clip and I have a button which will load a jpeg into the movieclip on click.now i want to click on the movie clip to go to some other page(html).
I do not know how to do that.Can someone help me out.
i tried doing
mc._url and was not able to get the result.
Thanks
Sudha
Adding A Link To A Movie Clip
Hi there,
I just created a short clip to use as a banner ad.
How do I add a link to the clip so that when a user clicks on it, it brings them to another page?
The clip is a flash file. The page I want them to go to is an html file if that matters.
Thanks for your help.
How To Link Correctly From A Movie Clip
Hey guys, I hope I can get this puzzle solvez, I am not too much of a flash person and I got this old flash site at:
www.islandoasis.com OLD SITE 4 years old
The site was coded in such a way that each MAIN STAGE BUTTON calls a bunch of movie clips in multipletimeline positions:
on (release) {
gotoAndPlay("why");
with (mainstage) {
gotoAndPlay("down");
with (mainstage.bigbox.plateMaster) {
gotoAndPlay("green");
with (mainstage.bigbox.navbar.navloc) {
gotoAndPlay("why");
with (mainstage.bigbox.navbar.subnav) {
gotoAndPlay("up");
}
}
}
}
}
on (rollOver) {
with (mainstage.bigbox.navbar.whybtn) {
gotoAndStop("on");
}
}
on (press, rollOut, dragOut) {
tellTarget ("mainstage.bigbox.navbar.whybtn") {
gotoAndPlay("out");
}
}
now I AM NOT A FLASH GUY, so I tried to build an old style fly-out menu which is a movie clip with all the navigation button in the movie clip ( the ones you have a big roll out click area so the menu turns off)
Now my question is, how fo I link the buttons that are now NOT IN THE MAIN STAGE, but inside movie clips, one level in, called DD MENU 1, DD MENU 2, and so on.
the navigation I tried to built, NOT PRETTY but hey.... it is at http://test.silvertech.net/islandoasis/
Your help is greatly appreciated! thanks so much,
Leo
How To Link Correctly From A Movie Clip
Hey guys, I hope I can get this puzzle solvez, I am not too much of a flash person and I got this old flash site at:
www.islandoasis.com OLD SITE 4 years old
The site was coded in such a way that each MAIN STAGE BUTTON calls a bunch of movie clips in multipletimeline positions:
on (release) {
gotoAndPlay("why");
with (mainstage) {
gotoAndPlay("down");
with (mainstage.bigbox.plateMaster) {
gotoAndPlay("green");
with (mainstage.bigbox.navbar.navloc) {
gotoAndPlay("why");
with (mainstage.bigbox.navbar.subnav) {
gotoAndPlay("up");
}
}
}
}
}
on (rollOver) {
with (mainstage.bigbox.navbar.whybtn) {
gotoAndStop("on");
}
}
on (press, rollOut, dragOut) {
tellTarget ("mainstage.bigbox.navbar.whybtn") {
gotoAndPlay("out");
}
}
now I AM NOT A FLASH GUY, so I tried to build an old style fly-out menu which is a movie clip with all the navigation button in the movie clip ( the ones you have a big roll out click area so the menu turns off)
Now my question is, how fo I link the buttons that are now NOT IN THE MAIN STAGE, but inside movie clips, one level in, called DD MENU 1, DD MENU 2, and so on.
the navigation I tried to built, NOT PRETTY but hey.... it is at http://test.silvertech.net/islandoasis/
Your help is greatly appreciated! thanks so much,
Leo
Link Button And Movie Clip
i am having trouble with linking a movie clip and a button together. my button is normal with only an up over down hit with no MC's in it. the movie clip i would like to link it to it kinof a button, because in the script it has on(rollover){gotoAndPlay(10);} and rollout and press respectively. What i want to do is when i rollover either the movie clip or the button, both will go to the "over state" and when roll out or press do their thing. does anybody know how to put these together somehow as one? I would appreciate any help!
Thanks in advance!!
[F8] External Movie W/ Buttons Need To Link To Another Loaded Movie
Hello fellow Flashers.
I have a file "index.swf" that is my main flash file. I have loaded another flash file "summercamp.swf" into a empty movie clip titled "scEmptyclip" that is located on "index.swf".
On the external loaded "summercamp.swf" I have another external loaded file that is a scroll down menu "scScrollMenu.swf" with buttons that need to link to labeled frames on "summercamp.swf". The empty movie clip that loads the scroll down menu is "sdmEmptyclip".
So the question is how do you code a button in a loaded movie inside an empty movie clip that on release it will unload the movie clip, go back to the "summercamp.swf" loaded movie and play the labeled scene?
If you need to see the site it it:
http://www.chucktropolis.com/alina/
index.swf is the initial animated page with the buttons
summercamp.swf is where the summer theatre camp button takes you
scScrollMenu.swf is the green scroll down menu on the summer camp page.
Any info is greatly appreciated.
Variable In Movie Clip With A Variable Name
Hello,
I need to find out the content of a variable in a Movie Clip with a variable name. I created several movie clips with "duplicateMovieclip" in a for... loop. Looks like this:
for (i=1; i<=5; i++) {
duplicateMovieClip (_root.oldname, "newname"+i, i);}
Now I want to know and set the content of a variable stored in this clip, but again in a for.... loop.
I tried it with:
"_root.newname"+i+".variable"=content;
This does not work. Anyone any ideas?
Thanks for any answer that might help me.
Greetings from cologne
Ole
Trying To Link A Button In A Movie Clip To Another Scene
I'm actually trying to do two things. I have a movieclip in a scrollbar. There are two buttons within that movieclip. One I'd like to have link to another frame label in another scene. The other I'd like to have a call up a small browser window. Could anybody please help? my email is scott@algorithmia.com. Thanks.
)s
Link In One Movie Clip Able To Change Content In Another?
I was wondering if someone would be able to tell me how to have inter-movie links. Here is my dillema, I have 2 movie clips, on with links and one with content. I need to keep them seperate but the one with content must be controled by the one with links. So all in all what do you do to click a link in on movie and make it affect a different one? Thanks
Can I Add A Link To An Action Inside A Movie Clip?
I am editing a flash template and want to be able to hyperlink selected text to a pop-up window. The problem is, the text I want to hyperlink is inside a movie clip. Here is the frame action:
link2textvar = "AveStar's self-titled CD is now available for purchase.";
Can I link the words "available for purchase" to a pop-up window outside of the movie?
PS -- If there is a level of expertise below "NOVICE" in Flash MX scripting, you will find ME there -- be gentle
Issue With Getting Button To Link To Movie Clip
Hi,
Basically, I'm trying to get a button to "talk to" a movie clip (to make it play). But everything I've tried to do has come to nothing.
Please open the attachment, and you will see what I mean. Before we go on, I need to explain a few things.
When you open the attachment you will see four different coloured panels. It's the yellow one that I'm trying to get to work.
What's suppose to happen is when you roll the mouse over the yellow panel, (as it's spinning around) the words "About Us" is supposed to fade in next to the yellow panel and should spin around with it. As soon as you roll the mouse off the panel, the words should fade out.
The yellow panel button is called "About Us Button" and it is located here: Main Page(timeline) Emblem Clip Button Panel Emblem About Us Mask About Us Button. This is the script that is on the button:
on (rollOver) {
_root.gotoAndPlay("AboutGo");
}
on (rollOut) {
_root.gotoAndPlay("AboutStop");
}
on (release) {
_root.gotoAndPlay("AboutUs");
}
The "AboutGo" and "AboutStop" frame labels are on a clip called "About Us Text" and it is located at: Main Page(timeline) Emblem Clip About Us Text. This is the clip that's suppose to fade in and out.
Now, the only part of the script I mentioned above that works properly is the "on (release)" one that links to a frame label on the main timeline called "AboutUs".
Why does that part of the script work and not the other parts.
Please check out the attachment and see if it can be solved.
I will be extremely grateful to whoever can help me out.
LOVE YOUR WORK!!!!!!
Blastbum
|