ActionScript 2.0 :: Note On External SWF Transition Tutorial?
Jan 7, 2008
First post. I was just going through Voetsjoeba's tutorial on making transitions between external swf's [URL]..
"If your buttons are not located on the main timeline, you will have to change the path to the container movieclip. In this example the buttons are located on the main timeline, therefore 'container' targets the container movieclip correctly. Though, if they are not on the main timeline, you must change container to the appropriate path."
I was wondering if anyone could elaborate on this. That is, how the path to the container movieclip would need to be changed in this situation. Apologies if the question is too vague.
View 2 Replies
Similar Posts:
Nov 5, 2004
well this is gonna be a long big essay. So lets start. I used this tutorial to make a nice menu. I got some ideas by searching this forum. Finally came up with this (check the attached .fla) ... Allright, now umm...its really hard to explain. But i gotta explain this. lease Check the attached fla to get the idea of what I am talking here. You will notice that there are 3 buttons in the MAIN MENU. 1) Home 2 Forums. or the SUBMENU : I put 3 more buttons inside the forums_mc (look in the library) on frame 61. The buttons are 1) EXT MC 1 , 2) EXT MC 2, 3) EXT MC 3. I want to use these buttons to load external swf. I want to use the same logic used in the transition tutorial to make the intro and outro transitions. In addition to that, if I press any button on the MAIN MENU, the externally loaded swf should play outro transition and also collapse the SUBMENU. BUT (this is important) , if I press any button in the SUB MENU (like the button EXT MC 2) , then outro transition should play in the ext swf, but the SUB MENU SHOULD NOT PLAY THE OUTRO ANIMATION (which we want to do, when pressing any button on MAIN MENU).
Also the externally loaded swf should load in the emptycontainer movieclip inside the FORUMS_MC clipSo, got any ideas how to do this ???k the attached files. The above discription will only make sense if you see the .fla and other files attached. tried my best to do this, but could not succeed. Also, i asked many friends, but they are not able to do this...I am pretty sure that Masters like POM and Voetsjoeba, scotty and many others will be able to solve this problem.
View 1 Replies
Jun 1, 2006
I used the transition for dynamic files tutorial and it works great.I only have a problem..ause it is dynamic i'm not able to use normal text, bgcolor and scrollable textfields in the external swf's and I want to
View 1 Replies
Jul 31, 2006
I am working with the transitions tutorial: [URL]... Here is a link to the modified example im working on. [URL]...If you are familiar with this tutorial you will see this is familiar. Main movie checks to see if the specific section is at "midframe" if its not it waits and does nothing, then once you have transitioned to midframe and stopped it, click on the next section will then transition out and load the next movie. I am tring to do a little variation of it.
ok we have mainmovie2004.swf which has 4 buttons. Each button, section1, section2, section3, and section4 all load specific movies to "container" on the main timeline. Section1 button loads section1.swf, Section2 button loads section2.swf...etc. Well I have placed another set of buttons in each section (just section1 and 2 for example sake). Each button loads a specific movie into container_small (yeah I know it doesnt follow camelCode but thats the least of my concerns). I have been messing around with the code and I am able to get Section1 to load, then when I click on the first pink button in section1 it loads section1.1 which is (section1_1.swf). When I click on the next button it just reloads the same section no matter what. The other sections work because when you load section1 and click on any pink button the corresponding swf loads just doesnt ever transition out. The tree would like like this: {mainmovie2004.swf[section1.swf(section1_1.swf)]}.
I think the problem is the last frame of each sub section has an action that will load the next section. I need to get the path correct.
[code]...
View 4 Replies
Sep 12, 2010
I am trying to use the External SWF Preloading Tutorial. Its a great tutorial, but when i try and load the swfs inside the holder it loses some of its functionality. The rollover states of the buttons work but when one clicks on the calender it does not work and some other things dont work also.
View 2 Replies
Mar 27, 2009
I am trying to use the External SWF Preloading Tutorial. Its a great tutorial, but when i try and load the swfs inside the holder it loses some of its functionality. The rollover states of the buttons work but when one clicks on the calender it does not work and some other things dont work also. I would really like to implement this in my site. Does anyone know why this might be or if it has been answered before.
I got it to work by using loadMovieNum but then lost placement of the swf it keeps going to the top left. I would really like to use loadClip it seems alot more customizable.
View 8 Replies
Mar 30, 2009
I am trying to load an external swf that uses an xml file. The main movie is called mySite. The external swf is gallery.xml. And it uses the file gallery.xml. It works fine as a stand alone movie. Following along with the tutorial I created a movie clip in my site on a frame to use as the stage. I call this movie clip galleryStage. Inside the galleryStage movie clip I followed the tutorial but left out the buttons portion.I am not using any..I created galleryHolder, galleryLoader, and actions layers. I created movie clips with the same names and instance names on their respective layers.
[Code]...
View 6 Replies
Oct 3, 2006
Great tutorial, works excellent. My only issue is how to do this on multiple levels? I'm trying to get an external swf open within an external swf. I know this probably isn't necessary but it does keep the site easily managed and very dynamic. It works on the main swf, and if i test it on the the linked page it works as well, just not together. I orginally thought that maybe it was the conflicting container names/variables so I made sure to change those. Maybe the solution would be to use a common container?
Please download my sample fla here: [URL] (note, not all linked swf's are included, just enough to get the point across. The issue is with the sub-menu within "Information").
To see an online version: [URL]
View 1 Replies
Dec 24, 2005
I'm trying to do a transition that applies to all the external .swf's that will be loaded into an area in the main movie, which basically "eats" the current external .swf and then opens to show the new chosen .swf. Therefore I have one problem: the Actionscript needed for both the buttons and for that transition clip, in the middle point. By middle point I refer to that point where it has just "ate" the existing .swf and will now start to display the chosen .swf
So I would need something like - on hitting a button, it telling the movie clip to be placed in an imaginary level or something like that, and then I'd place an action in that middle point of the transition movie clip, to display what's on the immaginary "level". Until there, the previous .swf is visible (though the transition is sort of "eating it", hehe) I know there are some threads with situations that are alike, but I haven't found the same type of situation..
View 2 Replies
Mar 24, 2006
After following the Transitions Between External SWFs Tutorial Does anyone know how I can make this button work if it is not in the main swf? I have loaded a swf in automatically and want to make a button from within the loaded swf to load another swf. Here is the button code...
[Code]...
View 1 Replies
Feb 4, 2010
how to go about loading in a swf using xml for the path but loading it into a movieclip with a transition. I have an animation set up for the transitions which needs to mask the loaded in swf. do i load in the swf into the movieclip then load the transition into the movieclip? how do use code to set the animation to mask the loaded in swf or do i set up the movieclip with the mask in it already?
View 1 Replies
Feb 4, 2010
How to go about loading in a swf using xml for the path but loading it into a movieclip with a transition.
I have an animation set up for the transitions which needs to mask the loaded in swf.
do i load in the swf into the movieclip then load the transition into the movieclip?
how do use code to set the animation to mask the loaded in swf or do i set up the movieclip with the mask in it already?
View 3 Replies
Oct 15, 2005
I'm not having trouble doing the transition. However, I'm not doing it the way its described in the tutorial on the main site. I dont have a frame to tween to as an intro, or a frame to tween to as an "extro" when another SWF is loaded. I am having a SWF tell level0_ the dimensions of some MC right before a different MC is loaded, then level0_ tells the new loaded MC (inside the new SWF) to Tween from the dimensions it just recieved (old SWF) to the dimensions of the new loaded MC. It works great.. its completely dynamic.
The problem is that the MC flashes when the next SWF is loaded, which is obviously it resizing to the old SWF's dimensions, so it can Tween to the new dimensions. Theres got to be a way around this! I've seen dozens of sites tween perfectly, do they use the intro/extro method, or is their entire site in one SWF? or is this possible the way I want it?
heres a gander at the code:
old SWF Dimensions sent to _level0 before unloading:
Code:
_level0.tempWidth = _level5.contentBox_MC._width;
_level0.tempHeight = _level5.contentBox_MC._height;
_level0.tempX = _level5.contentBox_MC._x;
[Code].....
View 2 Replies
Nov 22, 2005
I am trying to use the code to make a top level navigation with subnav options.I have gone to the next level "_root.container.containerContent"For this subnav, I have got the SWF loading, but then it will not transition to the next SWF at the subnav level.I am not really sure which parts of the code need to changed, but I know that what I have changed allows the SWF to load, just not transition.This is a sample of the button code:
Code:
on (release) {
if (_root.container.currMovie == undefined) {
[code]......
View 1 Replies
Jun 11, 2006
I did a flash movie with this code
////inizializzo le movie clip gallery_target 1 e 2
gallery_target1._alpha = 0;
gallery_target1.attivo = false;
gallery_target2._alpha = 100;
gallery_target2.attivo = true;//non sarebbe necessario settarla perch� se � attiva la 1 ovviamente non lo la 2..
[Code]...
View 1 Replies
Jun 17, 2007
I'm hoping someone out there with a wee problem-ette I'm having with loading external swf's with a transition. I've worked through Voetsjoeba's tutorial and have found it works excellently. However, I'm putting together a site and using it to teach myself some more in-depth AS and I'm trying to get my head around which bits of script work with which. I've attached my main site SWF and one of the external SWFs that I'm loading in so you can see what I'm up to.
View 1 Replies
Jan 21, 2009
In reference to the question below I used this tutorial to accomplish some of my AS goals: http:[url]....The question based off of this tutorial is how to correctly target an external movie clip with buttons that are not on the main time line. What would be the approproiate path for the script below for the external swf (work.swf)?
on (release) { if (_root.currMovie == undefined) { _root.currMovie = "work"; container.loadMovie("work.swf"); } else if (_root.currMovie != "work") { if (container._currentframe >= container.midframe) { _root.currMovie = "work"; container.play(); } } }
View 2 Replies
Oct 23, 2009
[url]...
What I want is fade in/out on the transition instead of slide in/out. Plus this tutorial was done using tweening animation and timeline. [code]....
View 4 Replies
Dec 29, 2010
right direction but theres still something I'm missing.At this point, I am able to load the initial swf into a container MC and store that info into acurMovie variable. When another button is pressed, curMovi checks if it equals event.target.name, if it doesn't equal "curMovie", it plays the existing movies outro What I thought I could do was create a conditional statement checking if the outro has reached the total frames, and if so, load the next swf. This isnï workingThis is what I have so far:
Code:
import flash.display.MovieClip;
//Load initial file
[code]......
View 4 Replies
Dec 29, 2010
Im trying to update the Transitions between External SWFs tutorial for AS 3 (link below). [URL] I looked at a few tutorials that would help steer me in the right direction but there's still something I'm missing. At this point, I am able to load the initial swf into a container MC and store that info into a curMovie variable. When another button is pressed, curMovie checks if it equals event.target.name, if it doesn't equal "curMovie", it plays the existing movies outro. What I thought I could do was create a conditional statement checking if the outro has reached the total frames, and if so, load the next swf.
[Code]...
View 1 Replies
Aug 12, 2009
[URL]
how to do the transition between scenes? instead of external swfs?
View 3 Replies
Nov 20, 2004
I have 2 different swfs (movie1.swf and movie2.swf) in a HTML.... When the movie2.swf finish playing (at the end there is a stop() )...... I would like to push a button replay to the movie.swf and play the movie2.swf from the beginning.....
View 1 Replies
Nov 12, 2009
I have completed the Carousel part 3 tutorial and everything is working perfectly. However, I want to add a link to an external url in each of the detailed descriptions. How would I add this to the xml file?
View 2 Replies
Mar 29, 2012
I'm designing a portfolio website that will showcase artwork that could potentially take awhile to load, so I'm using the code from that tutorial:
[Code]...
I'm using one of these, one image, per frame. I'll be adding more and more in the future. I'm still a newbie to as3 and I haven't completely understood the basics yet, so my question is this: how do I reuse the above code for a different frame without having to paste the entire thing with different names? I tried this:
[Code]...
View 1 Replies
Feb 24, 2011
i no, this topic looks like the one i found here, but it is not tottally explanatiory, before the question its nice beiing a part od the community. My question is, in my background i created a movieclip background and inside of that i put the images that i liked to transition one and than comes the other, but this is a lot of time just making the tweenings, it makes no sence having this work, could someone give me a code out there that i could make this background movieclip getting the images from a folder imgbackground from xml? How to create a xml file to the code get this images?
View 1 Replies
Jan 21, 2006
I am am loading external SWF files into main file from XML created menu.I want to make TRANSITIONS between loaded files, but this Kiripa tutorial does not work for me since I can not give each button sepparate code. All buttons come from xml.
At the moment If I do all by tutorial all menu buttons start to load same link which and transition works, but yeah I need menu to understand that it must load new swf not that same.I know it is possible, but I do not know how it is made, so if anyone could help me I would be very happy!
Now comes code that needs to be modified :
if (_root.currMovie == undefined) {
_root.currMovie = _root.link[this.i].attributes.url;
_root.Konteiner.loadMovie(link[this.i].attributes.url, "_blank");
} else if (_root.currMovie != link[this.i].attributes.url, "_blank" ) {
[code]....
View 3 Replies
Aug 13, 2007
I made some modifications to the code to be able to load external images.Works fine, but i didn't finish to load the first image, if someone would like to contribute... feel free...
================================
import flash.display.BitmapData;
function loadXML(loaded) {
if (loaded) {[code].....
View 2 Replies
Mar 22, 2005
I sent an email to pom regarding a tutorial that he wrote, but the email was bounced and he hasn't replied to my PM. I have followed both of pom's tutorials that involve experiments with perspective in Flash, but I have encountered a problem while attempting to duplicate a movie clip symbol in the second tutorial ([URL]). I have a single instance of the "ball" movie clip symbol appearing at random positions. However, I cannot seem to successfully duplicate the symbol instance at random positions using the loop that pom provided:
[Code]....
View 10 Replies
Apr 14, 2010
Working on a website that has an image of a sticky note which will change text somewhat frequently (every month or so) as new "todo" items are created on it. Font I'm currently using is not Web Safe and the text is slightly angled to match the skew of the sticky note as well. Now I'm a pragmatist, and in situations like this I would normally cede defeat and opt for something more CSS/HTML practical. But no more! I'm falling a bit behind on what's going on with HTML5, CSS3, PNG graphics, Flash (ugh), and/or any other rich visuals. I'm decent with PHP/CSS/JS (jquery), have dabbled in Flash/actionscript too. My question is: what tools/method should I be looking at here? EDIT: I've switched to Comic Sans MS/Cursive -- pragmatism is fighting back furiously.
View 4 Replies
Jun 14, 2011
If I have an FLV that I've output as SWF with skin to have embedded into an HTML page, and now a 'skip intro' is needed - though I'd have to make note of the actual time or keyframe in which the intro completes...How is this possible? Clearly, a button would need to be added for that kind of interactivity?
View 3 Replies