How'd They Do That? - Loading External Content With Transitions [renamed]
This is the site: http://www.void.pt/void.php?lng=en
the opening squence i suppose it's all just movie tweens between files, but how is this thing done, when you click a button, the middle screen/part of the site, has a transition effect, loads, and there is a new page! i know how to do the transitions, and the loading bar, but how do i exactly tell my button, where to load an external movie file!...
basically, i want it when somone goes to the site, the while site opens, there are transition effects, and three different movies open at three different spots on the site...just like it happens at www.void.com when you enter their site, they got the main window, and the botton right and left windows!
Please if someone could give me a helping hand on this i would really appriciate it!!!!
-AlBERT
KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 04-26-2004, 06:09 PM
View Complete Forum Thread with Replies
Sponsored Links:
How'd They Do That? - Loading External Content With Transitions [renamed]
This is the site: http://www.void.pt/void.php?lng=en
the opening squence i suppose it's all just movie tweens between files, but how is this thing done, when you click a button, the middle screen/part of the site, has a transition effect, loads, and there is a new page! i know how to do the transitions, and the loading bar, but how do i exactly tell my button, where to load an external movie file!...
basically, i want it when somone goes to the site, the while site opens, there are transition effects, and three different movies open at three different spots on the site...just like it happens at www.void.com when you enter their site, they got the main window, and the botton right and left windows!
Please if someone could give me a helping hand on this i would really appriciate it!!!!
-AlBERT
View Replies !
View Related
Quick Question On Transitions With External Swfs [renamed]
For my new site, I have a logo/picture on top, then a link bar, then the content area.
When you clikc a link I want the content to transition out, then the logo/picture to transition out, then content come back in, followed by picture, each of which is a seperate swf file.
Can someone give a step by step process of how to do this, as I am way to retarded for tutorials.
p.s. I already know I need sperate swf file for each content area and logo. I just need the process for bringing them into one site, and how to make the links for it.
View Replies !
View Related
Quick Question On Transitions With External Swfs [renamed]
For my new site, I have a logo/picture on top, then a link bar, then the content area.
When you clikc a link I want the content to transition out, then the logo/picture to transition out, then content come back in, followed by picture, each of which is a seperate swf file.
Can someone give a step by step process of how to do this, as I am way to retarded for tutorials.
p.s. I already know I need sperate swf file for each content area and logo. I just need the process for bringing them into one site, and how to make the links for it.
View Replies !
View Related
A Little Help With Loading Web Site Content With Button Click Please [renamed]
hi all!
i'm getting closer to my finished site just a few final glitches to clear up.
i have the main guts of the site load up and then when you click on a button i have action script that loads content upon release and the buttons stay put and the page loads up on the left hand side.
http://www.freewebs.com/ex_iled/
however, i do have a page (left side) that i want to have load when the initial page loads up for the first time (the home page). now the buttons and the pictures stay put during all page transitions, okay? so no reloading of those.
how do i get my home page (left side) to load at the same time as you first open the site and also to load if you were to press the home button without causing the buttons and the pics to reload again?
sorry, if this is hard to understand.
i know what the hell i'm trying to say, the question is do you understand what i'm saying!? lol!
thanks!
View Replies !
View Related
External Content Loader With Multiple Content Types (trouble Loading Graphics)
Hey all!
I am yet another new project. Our flash designer here isn't a big AS guy, and asked me to write a reusable class so that he can load a variety of content types using minimal amount of code on his part. It's also going to be the main component piece in a larger external content player once I'm done with the class itself, so I am making the loading functions into public methods of the loader object than can be called from a button, etc.
I have the code for the text and html parts working (although I can't get stage.width and stage.height to work in the class or from the frame).
The problem I have is that I can't get the graphics content to load (the swf/pic content). Could you please check my code and tell me what I'm missing? I'm sure it's something simple, like it always is.
thanks a million!
-Fish
-----------------------------
ActionScript Code:
package
{
/**
* External Multimedia Loader Class
* @author $(DefaultUser)
* Add new MultiLoader object and insert media type (all lowercase) and object path to control initial loaded object
* To load a new object, call the MultiLoader.load* methods (loadText, loadPic, loadSwf, or loadHtml as appropriate), passing the path to the external file.
*/
import flash.display.*;
import flash.events.*;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.text.TextField;
public class MultiLoader extends MovieClip
{
private var media:String;
private var path:String;
public var textObj:TextField = new TextField;
public var picObj:MovieClip = new MovieClip;
public var swfObj:MovieClip = new MovieClip;
public var htmlObj:TextField = new TextField;
private var objLoader:Loader = new Loader();
private var objType:String;
private var textLoader:URLLoader = new URLLoader();
public function MultiLoader(mediaType:String,objPath:String)
{
media = mediaType;
path = objPath;
if (media == "text" || media == "TEXT" || media == "Text")
{
loadText(objPath);
}
else if (media == "pic" || media == "PIC" || media == "Pic")
{
loadPic(objPath);
}
else if (media == "swf" || media == "SWF" || media == "Swf")
{
loadSwf(objPath);
}
else if (media == "html" || media == "HTML" || media == "Html")
{
loadHtml(objPath);
}
else
{
trace("ERROR: Media type not supported. Media type must be 'text', 'pic', 'swf', or 'html'.");
}
}
public function loadText(txtPath):void
{
objType = "text";
if (this.numChildren > 0)
{
this.removeAllChildren();
}
this.addChild(textObj);
this.textLoader.load(new URLRequest(txtPath));
this.textObj.wordWrap = true;
this.textObj.multiline = true;
this.textLoader.addEventListener(Event.COMPLETE, addTextContent);
//this.textObj.width = this.width;
//this.textObj.height = this.height;
}
public function loadPic(picPath):void
{
trace("loadPic started");
objType = "pic";
if (this.numChildren > 0)
{
this.removeAllChildren();
}
this.addChild(picObj);
this.objLoader.addEventListener(Event.COMPLETE, addObjLoader);
this.objLoader.load(new URLRequest(picPath));
trace("loadPic completed");
}
public function loadSwf(swfPath):void
{
trace("loadSwf started");
objType = "swf";
if (this.numChildren > 0)
{
this.removeAllChildren();
}
this.addChild(swfObj);
this.objLoader.addEventListener(Event.COMPLETE, addObjLoader);
this.objLoader.load(new URLRequest(swfPath));
trace("loadSwf completed");
}
public function loadHtml(htmlPath):void
{
objType = "html";
if (this.numChildren > 0)
{
this.removeAllChildren();
}
this.addChild(htmlObj);
this.textLoader.load(new URLRequest(htmlPath));
this.htmlObj.wordWrap = true;
this.htmlObj.multiline = true;
this.textLoader.addEventListener(Event.COMPLETE, addTextContent);
}
private function removeAllChildren():void
{
if (objType == "pic")
{
this.picObj.removeChild(objLoader);
}
else if (objType== "swf")
{
this.swfObj.removeChild(objLoader);
}
else
{
trace("objType != 'pic' or 'swf.' objType = '" + objType + "'.");
}
while ( this.numChildren > 0 )
{
this.removeChildAt(0);
}
}
private function addObjLoader(event:Event):void
{
trace("addObjLoader started");
if (objType == "pic")
{
trace("trying to load pic");
this.picObj.addChild(this.objLoader);
this.picObj.objLoader.removeEventListener(Event.COMPLETE, addObjLoader);
}
else if (objType== "swf")
{
trace("trying to load swf");
this.swfObj.addChild(this.objLoader);
this.swfObj.objLoader.removeEventListener(Event.COMPLETE, addObjLoader);
}
else
{
trace("ERROR: Cannot add object loader. The 'objType' variable does not contain correct media type. The function 'addObjLoader' should only be called when objType is 'pic' or 'swf'. In this case, objType is '" + objType + "' .");
}
trace("addObjLoader completed");
}
private function addTextContent(event:Event):void
{
if (objType == "text")
{
this.textObj.text = event.target.data as String;
this.textLoader.removeEventListener(Event.COMPLETE, addTextContent);
}
else if (objType == "html")
{
this.htmlObj.htmlText = event.target.data as String;
this.textLoader.removeEventListener(Event.COMPLETE, addTextContent);
}
else
{
trace("ERROR: Cannot add text content. The 'objType' variable does not contain correct media type. The function 'addTextContent' should only be called when objType is 'text' or 'html'. In this case, objType is '" + objType + "' .");
}
}
}
}
View Replies !
View Related
Loading External Swf Transitions
Hi, I have a question for anybody that can help. I have been searching the forums but cant seem to find the answer to my problem.
I am creating an online portfolio for school. I have created a main.fla file that sit on level100 (it contains the background image an buttons to link to other swf's..) I have a transition.swf which loads each time you click on a button--it works fine. However, when I load my portfolio.swf (wherein i have subnav)...I am trying to load another transition to load each sub navigation...there are 3 (web, multimedia, and digitalart)...However, when i load the transition, the main buttons are stopped...Here is the code i am using:
//first frame of main.fla
loadMovieNum("trans.swf", 200);
//last frame of main.fla
stop();
section = "home";
_level200.play();
porfolio.onRelease = function() {
section = "portfolio";
_level200.play();
};
resume.onRelease = function() { ....
applications.onRelease = function() { ...
contact.onRelease = function() { ...
home.onRelease = function() {...
now in my portfolio.fla file i have the following:
//first frame of movie
stop();
loadMovieNum("portfolio.swf", 200);
web.onRelease = function() {
loadMovieNum("web.swf", 200);
}
multimedia.onRelease = function() {
loadMovieNum("multimedia.swf", 200);
}
digitalart.onRelease = function() {
loadMovieNum("digitalart.swf", 200);
}
portfolio.onRelease = function() {
loadMovieNum("portfolio.swf", 200);
}
* the following web.sef loads, but the main buttons are disabled
If anyone can help me that would be great...
Thanks
rensocrazy
View Replies !
View Related
Loading External SWF's With Transitions
I've been using Claudio's tutorial titled "Preloader & Transitions for Dynamic Files" and everything is working okay except for one minor detail.
First off, what i am doing is loading external SWF headers on my site. Each of these headers are animated.
Once the Transition Shutter Mask closes and loads the next header, it starts playing the external header animation immediately rather than waiting for the Transition Shutter Mask to fully open and then start playing the animation.
So as a result, users are missing the beginning parts of each animation.
Also, I noticed that after I uploaded it to test the preloading, I missed more of the Header Animations due to the loading time difference. This means that I can not just insert the exact amount of blank frames, in which the shutter takes to close, to the beginning of each header animation.
Anybody that may be able to help out with a quick solution would be greatly appreciated. Thanx in Advance!
View Replies !
View Related
Loading External Swf's With Transitions
Thanks for posting your tutorial on kirupa.com for smooth transitions between externally loaded swf's. I've search for such an in depth tutorial all over the net and was unable to find any until I came across yours. I need to modify the code however to suit the need of the current site I am working on. My site contains background images ans a button loads an external swf in an empty movie clip ontop of these images. The cliemt would like the end user to have the option of collapsing the box that is laoded to allow the full backgroung image to be seen. I am having troubles modifying the script. Any suggestions? Here is the link to the website asit currently exists.
http://www.fluidcreative.ca/ae
The "x" that appears in the top right hand corner needs to collapse the box, preferribly with the same animation sequence. Any help you can offer would be greatly appreciated.
Kevin
View Replies !
View Related
External Swf Transitions Not Loading Right
okay, I put my sight up for review the other day:
Domain of the Cybereaper once you get past allthat intro crud to the main page:
I got lots o suggestions, 1 was for smoother transitions.. so I am trying...
my mc architecture on the main swf is:
_root.main_mc.empty_mc [the 'container' for loading external swfs]
Using the kirupa tutorial (and I searched the forums to find an answer, but so many and nuthin seemed 2 fit)- In each external swf, frame 1 reads:
Code:
midframe=##;
the midframe simply reads:
Code:
stop();
the final frame reads:
Code:
_root.main_mc.empty2.loadMovie(_root.currMovie+".swf");
Then in the main movie clip, frame 1 reads:
Code:
_root.currMovie = "reaperhome";
container.loadMovie(_root.currMovie+".swf");
then, the architecture for the buttons is:
_root.main_mc.button_mc
Each button has the following code or similar code for different mc's:
Code:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "theories";
_root.main_mc.empty.loadMovie("theories.swf");
} else if (_root.currMovie != "theories") {
if (_root.main_mc.empty._currentframe >= _root.main_mc.empty.midframe) {
_root.currMovie = "theories";
_root.main_mc.empty.play();
}
}
}
on(release) {
gotoAndStop(5);
}
The above code, according to the tutorial should examine the mc loaded, and decide if it needs to load and/or unload. And, it is kinda doing this/kinda not. If you go to my web site you will see the exact problems I am discussing.
It appears as if it is loading and reloading swf's on top of each other...
The gotoandStop command changes the frame within the button_mc to allow me to highlight the currently selected button and topic.
I can't upload the code right now, file is too big and I am too tired for winzip. Hopefully I have listed enough info, if u think the code would allow u to solve it, let me now, I'll compress it all and send it. Thanks in advanced for the help.
View Replies !
View Related
Help With Loading External SWF's (with Transitions)
This is an odd problem to describe, so please bear with me.
I am developing a portfolio flash page where I have external SWF's being loaded into (container) movie clips. Now, I also followed the kirupa tutorial on "Transitions Between External SWFs" to transition between my external SWF's that are being loaded into the containers. I was able to get the transitions working, but the problem is that when I preview the flash page, my external SWF's do not load properly. What happens is that when I click the "illustrations" button (for instance) on my main menu, my secondary illustration buttons appear below. Then when I click on the "logos" button (next to the "illustrations" button), the SWF's transition okay, but instead of the secondary logos buttons appearing, the secondary illustration buttons (from before) keep reappearing. I tried to see what would happen if a different button was pressed first and what I realized is that the first button pressed on the main menu always works (for instance, I press either "Illustrations", "Logos" or "Posters" first on my main menu and those work, but any button (on the main menu) pressed after that will transition into the set of secondary buttons that was just previously displayed. If you need to see what I mean, go to:
www.knoxart.net/benjamikeo
Click on the "Print" button and then either, "Logos" "Posters" or "Illustrations." You should see the secondary buttons appear below. Then click on one of the other two buttons (ex: if you clicked "Logos" first, click "Posters" or "Illustrations" next). You will see what I mean.
I think its just a matter of identifying which external SWF to jump to, but I can't figure it out. Can someone help me out? Thanks so much!
View Replies !
View Related
Loading External SWF's With Transitions
I've been using Claudio's tutorial titled "Preloader & Transitions for Dynamic Files" and everything is working okay except for one minor detail.
First off, what i am doing is loading external SWF headers on my site. Each of these headers are animated.
Once the Transition Shutter Mask closes and loads the next header, it starts playing the external header animation immediately rather than waiting for the Transition Shutter Mask to fully open and then start playing the animation.
So as a result, users are missing the beginning parts of each animation.
Also, I noticed that after I uploaded it to test the preloading, I missed more of the Header Animations due to the loading time difference. This means that I can not just insert the exact amount of blank frames, in which the shutter takes to close, to the beginning of each header animation.
Anybody that may be able to help out with a quick solution would be greatly appreciated. Thanx in Advance!
View Replies !
View Related
Loading External Swf's With Transitions
Thanks for posting your tutorial on kirupa.com for smooth transitions between externally loaded swf's. I've search for such an in depth tutorial all over the net and was unable to find any until I came across yours. I need to modify the code however to suit the need of the current site I am working on. My site contains background images ans a button loads an external swf in an empty movie clip ontop of these images. The cliemt would like the end user to have the option of collapsing the box that is laoded to allow the full backgroung image to be seen. I am having troubles modifying the script. Any suggestions? Here is the link to the website asit currently exists.
http://www.fluidcreative.ca/ae
The "x" that appears in the top right hand corner needs to collapse the box, preferribly with the same animation sequence. Any help you can offer would be greatly appreciated.
Kevin
View Replies !
View Related
External Swf Transitions Not Loading Right
okay, I put my sight up for review the other day:
Domain of the Cybereaper once you get past allthat intro crud to the main page:
I got lots o suggestions, 1 was for smoother transitions.. so I am trying...
my mc architecture on the main swf is:
_root.main_mc.empty_mc [the 'container' for loading external swfs]
Using the kirupa tutorial (and I searched the forums to find an answer, but so many and nuthin seemed 2 fit)- In each external swf, frame 1 reads:
Code:
midframe=##;
the midframe simply reads:
Code:
stop();
the final frame reads:
Code:
_root.main_mc.empty2.loadMovie(_root.currMovie+".swf");
Then in the main movie clip, frame 1 reads:
Code:
_root.currMovie = "reaperhome";
container.loadMovie(_root.currMovie+".swf");
then, the architecture for the buttons is:
_root.main_mc.button_mc
Each button has the following code or similar code for different mc's:
Code:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "theories";
_root.main_mc.empty.loadMovie("theories.swf");
} else if (_root.currMovie != "theories") {
if (_root.main_mc.empty._currentframe >= _root.main_mc.empty.midframe) {
_root.currMovie = "theories";
_root.main_mc.empty.play();
}
}
}
on(release) {
gotoAndStop(5);
}
The above code, according to the tutorial should examine the mc loaded, and decide if it needs to load and/or unload. And, it is kinda doing this/kinda not. If you go to my web site you will see the exact problems I am discussing.
It appears as if it is loading and reloading swf's on top of each other...
The gotoandStop command changes the frame within the button_mc to allow me to highlight the currently selected button and topic.
I can't upload the code right now, file is too big and I am too tired for winzip. Hopefully I have listed enough info, if u think the code would allow u to solve it, let me now, I'll compress it all and send it. Thanks in advanced for the help.
View Replies !
View Related
Creating A 4-sectioned Site With Transitions [renamed]
hi everyone!
i have to make a site consisting of 4 sections, inside these swf i want to have buttons that should load any other of the site's sections and do a transition between what is loaded and the next swf.
i've been working with AS3 for just 3 months and learning OOP as i go, kicking and screaming..
so yeah,,, what would be the structure to do something like this??
let's trip the light fantastic
View Replies !
View Related
[F8] Loading External SWFs And Transitions
I'm using Flash 8 and the MovieClipLoader Class to load external swf files into my main flash website. I'm wondering how I can transition one swf to the next instead of simply having the new swf start loading into the place of the one before it. I have a prelaoder that shows a percentage count before each swf is loaded in, but I'd like the existing swf to possibly fade out or have the elements move off the screen and then have the new one start loading into place.
Any suggestions on how I can obtain this and still use the MovieClipLoader class to load in new SWF files?
Also a tutorial or sample FLA would be a help if it's really advanced scripting.
Thanks
View Replies !
View Related
Transitions Loading External Files
I found the tutorial about how to do this and it works to a certain degree. i have the main choices which then lead to a submenu which is an external swf, then the buttons located in these submenus load other swf's as content. for one section i want to experiment with transitions. i cant get the outro portion to work. the swf loads the way it supposed to but when i load the next swf the other one simply disappears. theres 2 empty movieclips in which the submenu's and content that get load into .. for the buttons its _root.whole.buttons and _root.whole.main for the content. is this why it is working any suggestions would be greatly appreciated thank you.
View Replies !
View Related
Transitions Loading External Files
I found the tutorial about how to do this and it works to a certain degree. i have the main choices which then lead to a submenu which is an external swf, then the buttons located in these submenus load other swf's as content. for one section i want to experiment with transitions. i cant get the outro portion to work. the swf loads the way it supposed to but when i load the next swf the other one simply disappears. theres 2 empty movieclips in which the submenu's and content that get load into .. for the buttons its _root.whole.buttons and _root.whole.main for the content. is this why it is working any suggestions would be greatly appreciated thank you.
View Replies !
View Related
Loading External SWF's With Transitions + Auto Levels.?...
a site im working on has a setup where there is a root movie, with a menu, which loads individual project clips into a movieclip using loadMovie. There is one movieclip in the root and therefore only one project loaded at a time. They decided they wanted a full screen image in the background while the preloader loads meaning there is some delay on some projects before the preloader starts, as its loading in the backing image first.
they arnt happy with this, and want it to work so when you click a project, assuming one is open, the new movieclip doesnt appear until its loaded the background image and then the preloader kicks in as well. This is so at no point after one project has been loaded and clicking of other projects is the girl in the chair visible. the problem i have is when the button is clicked, the existing movie is unloaded immediately to make way for the one just selected and the gap while the image loads takes place. they asked about a preloader for the image, but i said thats overcomplicated and could require even more external SWF's to work effectively, above all i also think its pointless as the images average 45kb. It also wouldnt help, because they dont want anything to appear until the image has loaded
Im not sure how to do this, i dont know how to get around the gap while the preloader image works, and im not sure how load in the movies on top. Obviously projects can be loaded into levels, but as the projects can be loaded in any order im not sure how to approach that either.
Is there a way that you can use loadmovienum and just tell it to load into a layer +1 higher than the current movie, so whichever order they are clicked in the newone is always loaded higher(ie the tenth time you loaded any project, it would be on level 10)? my concern with this is that it wouldnt unload all the other movies and this would lead to poor performance?
can anyone help? does this have somethign to do with listener objects?
i have used transistions before, but they always unload one after an outro then bring in the new one, which wouldnt help. What i need is a situation where you have one clip open, you click a button, the open clip remains until the image has loaded and then displays the image and preloader above, whilst unloading the previous clip, meaning at no point do you see the permanet girl in chair background...
the site so far is http://www.lmplumbingheating.com/tkcreate
View Replies !
View Related
Transitions Between External SWFs Tutorail Pre-loading
I'm reffering to the tutorial on this site, found here.
First let me say excelent tutorail. Well written, structured, and very helpful.
Second, let me admit that I am very new at flash, doing it mostly as a hobby to create a cool website for my wife, and I started about a week ago. With that said, I have gone through almost all the tutorials included with flash (however non-helpful they are), and looked at many helpful things on this site and other flash sites. Still, I'm just starting to get my feet wet.
My question is this: Would it be possible to somehow use the animation from the midpoint to the end of the movie to start pre-loading the next movie? Furthermore, would it be possible to do it in such a way that the animation from the midpiont to the end of the current movie took as long as it does for the next movie to load? Basically what this would do is create a 'stealth' preloader, where the user wouldn't even know that they are waiting for something to load, because they are busy watching a cool transition animation.
The way I understand the preloaders, I'm skeptical if this is possible, but if it is, I'd love for someone to explain how. This is how I understand preloaders now:
When you load a swf, it starts playing as soon as it has loaded the first frame. Putting a preloader in basically removes most of the graphical data from the first few frames so that they load very quickly, and then inserts code to wait until the whole movie has loaded to continue playing the movie.
My idea would be to use MovieClipLoader.loadClip() to start loading the new clip while telling the current clip to go to a particular frame corresponding to the percentage of the new movie that has been downloaded.
Basically, clicking on a navigation button would initiate a MovieClipLoader.loadClip command and then GotoandStop at specific frames in the current movie, based on how much of the next movie has been downloaded, and repeat until the new clip is loaded. My very sorry attempt at such a script is below, but I'm sure it's wrong and flawwed in so many ways:
var my_mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
function mclListener.onLoadProgress(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number){
_root.container.gotoAndStop(midframe+(_root.currMo vie.totalframes-midrame)*(bytesLoaded/bytesTotal));
}
function mclListener.onLoadComplete(target_mc:MovieClip){
currentMovie = traget_mc;
}
on (release) {
if (_root.currMovie == undefined) {
_root.newMovie = "main";
container.loadMovie("main.swf");
} else if (_root.currMovie != "main") {
if (container._currentframe >= container.midframe) {
_root.newMovie = "main";
my_mcl.loadClip(_root.newMovie+".swf", _root.container);
}
}
}
Any thoughts or corrections to my sorry attempt?
View Replies !
View Related
Having A Strange Problem Loading External SWF's (with Transitions)
Ok, here's the deal. I followed the tutorial on the Transitions Between External SWFs - http://www.kirupa.com/developer/mx2004/transitions2.htm.
but ran into a strange problem, using Flash 8 btw, It works but doesn't work correctly. See my buttons on the navigation have an instance behavior of a movie clip, for animating/functionality reasons, and inside the movie is a button with a script as follows: (to create an animating rollover)
on (rollOver) {gotoAndPlay(16);
}
on (rollOut) {gotoAndPlay(37);
}
now, when i add the "Tranistions between . . . " script for external SWF's the transitions not only do not work but it will not load the external SWF's into the container movie.
However, I created a normal button with behavior of a button just to see if that works, and it does . . . perfectly. I cannot figure out for the life of me why the button inside the movie clip doesn't work, and the navigation buttons need to be a movie clip for animating reasons and need to have submenu's that will rollout.
If Anyone can maybe help me out here, I will send you your favorite sweets in a basket +)
View Replies !
View Related
Help With Transitions For Randomly Loading External Swf As Backgrounds
Hi there,
I hope someone out there can help me. I am using flash 8 and am fairly new to actionscript. I have successfully coded my backgrounds to randomly change every minute. The problem is trying to code it so they fade in and fade out. I have searched and posted on various forums, and there are lots of posts on fade transitions with buttons, but that is not what I am looking for. I will post my code and if anyone could help me with integrating a fade in and fade out I would greatly appreciate it. I should not that my external files are a few lines of code, that generate a gradient to fill the stage, the site will be a full browser flash site.
//have a random number between 1 and 10
var randomNumber:Number;
// set interval.. for x minutes
var id:Number = setInterval(this,"loadfunction", 60000);
// make a function with a switch that takes a random number
// and loads a movie
function loadfunction(){
randomNumber = int(Math.random()*10);
switch(randomNumber){
case 1:
loadMovie("bg1.swf", 1);
break;
case 2:
loadMovie("bg2.swf", 1);
break;
case 3:
loadMovie("bg3.swf", 1);
break;
case 4:
loadMovie("bg4.swf", 1);
break;
case 5:
loadMovie("bg5.swf", 1);
break;
case 6:
loadMovie("bg6.swf", 1);
break;
case 7:
loadMovie("bg7.swf", 1);
break;
case 8:
loadMovie("bg8.swf", 1);
break;
case 9:
loadMovie("bg9.swf", 1);
break;
case 10:
loadMovie("bg10.swf", 1);
break;
}
}
loadfunction();
Again I would greatly appreciate any help, as I am pretty confused.
Cheers
View Replies !
View Related
Loading External .SWF's, Fade Transitions And Loader Bar
Hi everyone, I've been reading around the Web and looking at my ActionScript 3.0 book for a while now. I've gathered some knowledge about what I want to do, but I don't know ActionScript enough to make logical deductions when it comes to making modules like this one.
I need this to finish my personal Website, here is what I had in mind. I wanted to make a module that can load external SWF's, and when it loads them it has a little preloader. If you change SWF's, it fades out the current one, removes it and loads the next .SWF
Another example
Press button 1 -> load external button1.swf + activates preloader -> display content
With button 1 loaded -> press button 2 -> fades out button1.swf -> load external button2.swf + activates preloader... ETC
I basically have everything in separate parts... how to load an external .SWF, a preloader with error checking (taken from here, TY senocular! )
But it's making it all work together that I have no clue... anyways any help would be appreciated.
TY.
edit: I also forgot to mention that I wanted the .SWF to load in a specific area (i.e.: a Movie Clip) but I read that you can't really do that in AS3, because you use the display list? I'm confused.
I have the external .SWF's load in my content_mc Movie Clip, but they are offset like crazy for some reason.
View Replies !
View Related
Transitions Between External SWFs Tutorail Pre-loading
I'm reffering to the tutorial on this site, found here.
First let me say excelent tutorail. Well written, structured, and very helpful.
Second, let me admit that I am very new at flash, doing it mostly as a hobby to create a cool website for my wife, and I started about a week ago. With that said, I have gone through almost all the tutorials included with flash (however non-helpful they are), and looked at many helpful things on this site and other flash sites. Still, I'm just starting to get my feet wet.
My question is this: Would it be possible to somehow use the animation from the midpoint to the end of the movie to start pre-loading the next movie? Furthermore, would it be possible to do it in such a way that the animation from the midpiont to the end of the current movie took as long as it does for the next movie to load? Basically what this would do is create a 'stealth' preloader, where the user wouldn't even know that they are waiting for something to load, because they are busy watching a cool transition animation.
The way I understand the preloaders, I'm skeptical if this is possible, but if it is, I'd love for someone to explain how. This is how I understand preloaders now:
When you load a swf, it starts playing as soon as it has loaded the first frame. Putting a preloader in basically removes most of the graphical data from the first few frames so that they load very quickly, and then inserts code to wait until the whole movie has loaded to continue playing the movie.
My idea would be to use MovieClipLoader.loadClip() to start loading the new clip while telling the current clip to go to a particular frame corresponding to the percentage of the new movie that has been downloaded.
Basically, clicking on a navigation button would initiate a MovieClipLoader.loadClip command and then GotoandStop at specific frames in the current movie, based on how much of the next movie has been downloaded, and repeat until the new clip is loaded. My very sorry attempt at such a script is below, but I'm sure it's wrong and flawwed in so many ways:
var my_mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
function mclListener.onLoadProgress(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number){
_root.container.gotoAndStop(midframe+(_root.currMo vie.totalframes-midrame)*(bytesLoaded/bytesTotal));
}
function mclListener.onLoadComplete(target_mc:MovieClip){
currentMovie = traget_mc;
}
on (release) {
if (_root.currMovie == undefined) {
_root.newMovie = "main";
container.loadMovie("main.swf");
} else if (_root.currMovie != "main") {
if (container._currentframe >= container.midframe) {
_root.newMovie = "main";
my_mcl.loadClip(_root.newMovie+".swf", _root.container);
}
}
}
Any thoughts or corrections to my sorry attempt?
View Replies !
View Related
Smooth Roll-over/out Buttons Combined With Loading External Swf's With Transitions
Hey,
I'm new on this forum. I allready tried to find an answer in the existing threads, but I couldn't find it. A couple of days ago I tried the tutorial on making transitions between external swf's (http://www.kirupa.com/developer/mx2004/transitions.htm). Everything worked fine at first when I used normal button movie clips. But when I tried to make it work with smooth roll-over / roll-out buttons, it didn't work any longer. .
These 'smooth' buttons are movieclips in which an animation plays at rollover, stops, and reverses the animation on rollout. These actions are assigned to a hitarea-button (transparent button in the smoothbutton movieclip). In the main timeline, the external swf's are supposed to load in an 'container'-movieclip.
The tutorial on the trasitions refers to the forum when help is needed, so here goes :
Does someone know what I'm doing wrong? I know it must have something to do with the action script I assign to the hitarea in the smooth-button-movieclips. The AS-code I use on this hitarea is:
Quote:
on (rollOver, dragOver) {
play();
controller.gotoAndStop(1);
}
on (rollOut, dragOut) {
controller.gotoAndPlay(2);
}
I tried to just paste the following after the roll-over / roll-out AS code
Quote:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "main";
container.loadMovie("main.swf");
} else if (_root.currMovie != "main") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "main";
container.play();
}
}
}
But like I wrote before, it works just fine when I use the code on normal button-movieclips, but not with the roll-on-rollout movieclips.
Please excuse me if my English is not flawless, it's not my first language.
Thanx a lot!
PS. I posted this thread under 'flash MX or older', because the transition tutorial was made for 'flash MX or older' users.
View Replies !
View Related
Loading External Content
Hi. I am making my first site using the loadMovie(); action (pretty sad...). Anyway, since I'm to this, (loadMovie), I was wondering, first of all, what the best way of doing this would be. Secondly: what are levels? And thirdly how do I preload external content...do I just put a preloader within the movie I'm loading, ect... Lastly, what should the actions on my menu be (ie. load this movie, unload all other movies, if that's even possible ).
Thanks,
Sportzguy933
View Replies !
View Related
Loading External Swf With XML Content
I'm having issues after loading an external .swf into my main movie. Here are the specifics -
The external .swf contains a flash mp3 player that I built which brings in two mp3's via a small xml script.
Upon loading which works fine it seems like the xml part is not getting triggered.
Any help would be appreciated....
View Replies !
View Related
Loading External Movie Content
Hey, I need some information on how to load an external swf file into an existing movie with the click of a button.
I'll try and make that sound a bit clearer. Basically when you have a website with frames you can click links and the content is told to load in a target frame. Thats basically what i want to do in flash. If anyone could throw some information my way i'd be greatful.
Thanks
View Replies !
View Related
Flash 6 Loading External Content With ASP
Hey I got this movie Im trying to create were I load some information from a ASP file now I can do that but Im not good at the duplicating part. I included the file to help. What Im trying to do is load it in the second movie clip within the root then duplicate it down creating a scroll bar. then I have another clip info2 that I want to duplicate and it tell the text movie clip which to show text1 text 2 text 3. If anybody could pleeeeeeeease help me. It would greatly be appreciated. Thanks in advance for everything. I hope I made this understandable not sure how to explain it.
View Replies !
View Related
Dynamically Loading Content To An External Swf
hey,
i'm importing an external swf to a movieclip. In the imported swf is a text box which is populated using content from a xml doc, this information is called through the main swf. this works fine if the swf is exported from another .fla. but if i create this external swf within the main fla and exported from the library the xml content isn't loaded into the textfield. anyone know why this is.
The reason that it is important is because i need the registration point to be the centre of the swf.
thanks
adam
View Replies !
View Related
Loading External Swf With Offstage Content In It
Hi!
I have several swf:s created by another guy which I want to use. These external swf:s are basically slideshows with sliding and scaling sprites + texts. We have decided to work in 800 x 600 and to fill out this area the sprites are a bit larger, making sliding them possible.
The problem is, when I load these swf:s, ALL content is shown, even parts of sprites that were hidden off stage in the external swf.
Is there a way to prevent this?
Thanks!
/Bo
View Replies !
View Related
Loading External Content Over The Web Problem
I've developed a basic flash interface that loads external banner type swf animated movies (averaging 35k) into an empty container, which accompany dynamically loaded xml content.
This resides on our internal server and is functioning fine when played locally in any browser window.
There is a problem however, when I access this externally it doesn't function properly and either freezes or part loads any content. This seems to vary from computer to computer...
Is this a web/server access issue?...
If anybody has any ideas – please!
View Replies !
View Related
Not Loading External Content On Refresh
Ok. this is a new problem for me. I have an swf that loads images from a directory within the site. If I click on a link that takes me to the site, the images load. If I then try to refresh, the images no longer load. What the hell....
Here's my mess of as2.0 (I understand much of it is of no consequence to this problem, but wanted to make sure I had it all here for you) Thanks for any light anyone can shine apon this problem:
Code:
var loaded:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
/////////////////////////////////////////////////////////////////////////////////////
var Image1:String = "images/flash/play_9.jpg";
var Image2:String = "images/flash/play_ace.jpg";
var smimg1:String = "images/flash/play_img1.jpg";
var smimg2:String = "images/flash/play_img2.jpg";
var smimg3:String = "images/flash/play_img3.jpg";
//////////////////////////////////////////////////////////////////////////////////////
//var back_screen:MovieClip = this.createEmptyMovieClip("back_screen", 1);
var bg_img:MovieClip = this.createEmptyMovieClip("bg", 50);
var bg_img2:MovieClip = this.createEmptyMovieClip("bg2", 49);
var small1:MovieClip = this.createEmptyMovieClip("sm1", 20);
var small2:MovieClip = this.createEmptyMovieClip("sm2", 30);
var small3:MovieClip = this.createEmptyMovieClip("sm3", 40);
//////////////////////////////////////////////////////////////////////////////////////
//back_screen.beginFill(0x000000,100);
//back_screen.lineTo(800,0);
//back_screen.lineTo(800,268);
//back_screen.lineTo(0,268);
//back_screen.lineTo(0,0);
//////////////////////////////////////////////////////////////////////////////////////
//back_screen._alpha = 0;
bg_img._alpha = 0;
bg_img2._alpha = 0;
small1._alpha = 0;
small2._alpha = 0;
small3._alpha = 0;
//////////////////////////////////////////////////////////////////////////////////////
loaded.loadClip(Image1,bg_img);
loaded.loadClip(Image2,bg_img2);
loaded.loadClip(smimg1,small1);
loaded.loadClip(smimg2,small2);
loaded.loadClip(smimg3,small3);
///////////////////////////////////////////////////////////////////////////////////////
function load_the_three() {
small2._x = 252;
small3._x = 508;
small1.onEnterFrame = function() {
this._alpha += 2;
if (this._alpha>=100) {
delete this.onEnterFrame;
}
if (this._alpha>=25) {
small2.onEnterFrame = function() {
this._alpha += 2;
if (this._alpha>=100) {
delete this.onEnterFrame;
}
if (this._alpha>=25) {
small3.onEnterFrame = function() {
this._alpha += 2;
if (this._alpha>=100) {
attachMovie("grand_statement","grand_statement",100,{_x:331, _y:210});
three_sat = setInterval(fading_up1, 5000);
delete this.onEnterFrame;
}
};
}
};
}
};
}
function fading_up1() {
fading_up_last = setInterval(fading_up2, 10);
clearInterval(three_sat);
}
function fading_up2() {
bg_img._alpha++;
if (bg_img._alpha>=100) {
clearInterval(fading_up_last);
bg_img2._alpha = 100;
curr_image = "9";
switching = setInterval(switch_pics, 10000);
}
}
function fading_up3() {
bg_img._alpha--;
if (bg_img._alpha<=0) {
clearInterval(fading_up_last);
curr_image = "a";
}
}
function switch_pics() {
if (curr_image == "9") {
fading_up_last = setInterval(fading_up3, 20);
}
if (curr_image == "a") {
fading_up_last = setInterval(fading_up2, 20);
}
}
mclListener.onLoadProgress = function(target_mc:MovieClip, numBytesLoaded:Number, numBytesTotal:Number):Void {
mc1perc_loaded = (Math.ceil((numBytesLoaded/numBytesTotal)*100));
if (target_mc == _level0.bg) {
barz.gotoAndStop(mc1perc_loaded);
if (mc1perc_loaded>=100) {
barz.play();
load_the_three();
//fading_up = setInterval(fading_up2, 20);
}
}
};
mc1Listener.onLoadComplete = function(target_mc:MovieClip):Void {
trace("Done");
};
loaded.addListener(mclListener);
View Replies !
View Related
Loading External SWF Into Sliding Content -help
please point me to any tuts .
project:
---------
5 menu button:
Each button will slide the long background image to a certain x-postion. Once it slides into the appropriate x-postion, contents will start to animate and load.
Currently I have a MC movie sitting at each x-position so when it slides to it.. contents are there and already playing.. which i dont want.
In this method, the file is too heavy and very slow in sliding back and forth.
How do I only load the content needed for that particular section and when another sectioin is clicked, the current loaded content dissappear, making scrolling faster?
basically, I have a long widescreen background scene that will have content loaded when slide to a particular segmented area of the background.
I hope my descriptiion is clear.
thx
View Replies !
View Related
Dynamically Loading External Content
I already know the basics behind loading content. So what I would like to do is to create a "parent" swf file, and then this "parent" swf file would externally load "child" swf files that have images and or dynamic text. Each "child" swf file would be like a self-contained module.
Now the only catch here is there are several different "child" swf files, and an external text file would determine which "child" swf files would be displayed.
Is this possible with Flash MX? Can anyone point me in the right direction?
Thanks!
View Replies !
View Related
Problems Loading News Content Through External SWF
What up everybody, I hope someone can help me on this problem I've been workin on for the past week.. I've tried different things to fix this but no luck..
The news content loads up perfectly fine when u pull up the swf directly.. for example:
http://flaremedia.com/dalab/ral/newz02.swf
but once its being loaded through the mainframe, we start having issues..
http://flaremedia.com/dalab/ral/home.html
Click on the News button
Here's the link to download the News FLA file:
http://flaremedia.com/dalab/ral/news.fla
Now I know this could be something simple such as Path Issues.. but I've never been 2 much of a code guy, but I would greatly appreciate if someone would drop some knowledge on this matter.. Thank you.
JH
View Replies !
View Related
Loading External SWF File Displays Content Outside Swf-box
Hi guys
I'm having a "problem" with loading an external .swf in my main flash swf movie (which is a website).
When the external .swf loads and displays itself on the main swf (website), the complete external swf file is viewable. To clarify: this external .swf has a world map that moves with a tween. If the animation is played within the main swf, I can see the whole world map and not just only that specific part of the world map that is visible on the "original" .swf
How do I solve this best?
- Make a mask over the complete external.swf? Where should i make the mask in the external .swf itself or on the movieclip in my main swf (website)?
- Is there a parameter that i can use?
- Is there a export option for this?
Thanks in advance
Arcko D
View Replies !
View Related
Loading Content From External Link HEEELP
Hi there,
Here is my situation.
I have a flash movie that I am going to be distributing as a tool to about 1000 people to begin with for use on their websites.
My 2 options are, having them download the swf and run it off their webserver... or
Have the swf located on my servers and have these sites link to it.
The file is roughly 300kb in size. I worry that if I have it on my server, that the thousands of sites linking to it, and all of their visitors will cause some latency / overload problems on my server.
If I were to have them host it on their servers, there are a few things that I need to figure out how to do.
1. ) I want to load in an advertisement in the swf, however, I believe that swfs cannot load in anything outside the domain without a certificate, which I cannot make for each and every site.... am I able to make a global certificate allowing any site to load content from my server?
2.) I want to be able to do some basic version checking if they host it on their server... alerting them that a new version is available if it is... I know I can have a static file that has a version number in it, and load the vars, but this leads me back to #1 above.
please help, I am stuck stuck stuck!
Thanks a ton!
View Replies !
View Related
Loading Content Into Containers From External Swf Loaded Movies.
Maybe someone can help me out, I'm a little confused: I have a movie which initializes, then loads home, and from there, home loads the content.
Each movie is supposed to be loaded from init.swf into a container; however, i am unable to load content from home. My movie just hangs.
I'm using the LoaderClass: com.qlod.LoaderClass.as
and i have three movies
init.swf = root layer (FLA attatched)
home.swf = navagation layer (loaded from init) (FLA attatched)
news.swf = content, loaded from home (SWF attatched)
The init has global functions, such as _global.LoadNext()
home is able to load into init's container, but home.swf is not able to load news.swf
I dont get it? I through some traces in to see if the function from home.swf was even calling the LoadNext() located in init.swf but i dont think it was? Any ideas?
thanks
View Replies !
View Related
Altering Static Content When Loading External Swf Files.
OK, so Im working on a project and am going to have animations that transition between pages.. Like this www.ashevillebrewing.com/test ..
I usually have a master.swf that calls the rest of the pages including a static.swf that holds all the things that do not change throughout the site..
When the master.swf is loaded, it calls the first page (home.swf) and the static.swf. on the other pages there are elements that are in different positions than they are on the home page..
What I want is to be able to animate these items into thier new location while the other pages are being viewed, but then animate them back to their original position when you go back to the home page..
The pages in the example site transition pretty much the way I want, but say I wanted to animate the logo to a different spot on the stage during one page and have it return to its original spot when the visitor leaves that page and returns to the home page?
All ideas welcome, thank you in advance..
Aaron
View Replies !
View Related
Loading External XML Formatted Content In Several Text Boxes
i've had followed the tutorial
http://www.actionscript.org/tutorial...nt/index.shtml
all works fine ,
but i have several textarea and want re-use a single xml file to load several piece of text in different text boxes,
how to assign portion of xml into different text boxes
<kungfu1>
<text>lorem ipsum</text>
</kungfu1>
<kungfu2>
<text>lorem ipsum</text>
</kungfu2>
where kungfu1 text go to textbox 1 and kungfu2 text go to textbox 2
thanks
View Replies !
View Related
Altering Static Content When Loading External Swf Files.
OK, so Im working on a project and am going to have animations that transition between pages.. Like this www.ashevillebrewing.com/test ..
I usually have a master.swf that calls the rest of the pages including a static.swf that holds all the things that do not change throughout the site..
When the master.swf is loaded, it calls the first page (home.swf) and the static.swf. on the other pages there are elements that are in different positions than they are on the home page..
What I want is to be able to animate these items into thier new location while the other pages are being viewed, but then animate them back to their original position when you go back to the home page..
The pages in the example site transition pretty much the way I want, but say I wanted to animate the logo to a different spot on the stage during one page and have it return to its original spot when the visitor leaves that page and returns to the home page?
All ideas welcome, thank you in advance..
Aaron
View Replies !
View Related
Altering Static Content When Loading External Swf Files.
OK, so Im working on a project and am going to have animations that transition between pages.. Like this www.ashevillebrewing.com/test ..
I usually have a master.swf that calls the rest of the pages including a static.swf that holds all the things that do not change throughout the site..
When the master.swf is loaded, it calls the first page (home.swf) and the static.swf. on the other pages there are elements that are in different positions than they are on the home page..
What I want is to be able to animate these items into thier new location while the other pages are being viewed, but then animate them back to their original position when you go back to the home page..
The pages in the example site transition pretty much the way I want, but say I wanted to animate the logo to a different spot on the stage during one page and have it return to its original spot when the visitor leaves that page and returns to the home page?
All ideas welcome, thank you in advance..
Aaron
View Replies !
View Related
Old-fashioned Swf Loading Bar In Flash Player 9? (Can't Use External Content)
Hey. I'm making a AS 3.0 game. I'm making it a self-contained SWF so it'll be compatible with NewGrounds's flash portal. How do I create a pre-loader for it? I'm pretty sure I can't use the Loader class, because Loader requires a URL, which implies that the content it's loading must be external to the swf. (Not, for example, Library content.) My game is a 4mb SWF, so a pre-loader is a must. I just can't figure out how to do it, and all the documentation I can find seems assume that my content is all external SWFs and JPEGs residing on a web server or something. How am I supposed to make this work?
View Replies !
View Related
Help With Making Content For Pages On External Swf Files And Loading Them
I'm currently making my first flash website. I do have some knowledge in flash, but I wanted to make a swf file for each content of a page so it will only have to load page by page instead of a huge big single swf file.
this is the layout:
_______________________________________________
.
. Header
.
_______________________________________________
.
.
. Content
.
.
_______________________________________________
. Footer
_______________________________________________
I want to have a main swf with the header and layout and all and I only want the content part to load in and out. So how would I set it up so when a button is clicked in the navigation, it plays animation of the current content part of the page unloading and then loads the swf of the page that was clicked? I hope what I said makes sence.
If anyone has a fla file of this or know any good tutorials on this or would like to explain, I would really appreciate it!!!!!!
Thanks guys!!
View Replies !
View Related
Loading Content From External Text/html File
I am trying to load content from an external text file.
(It would be great if i could format it with html code, is this possible)
I have the following code on frame 1 (Thanks to "nebrekab")
Code:
// array of button names
var btn_arr:Array = ["email","contact"];
// vars to be used in for loop
var i:Number, btn:MovieClip;
// loop array of buttons
for ( i = 0; i< btn_arr.length; i++ ){
// get ref to each button movieclip
btn = dottedPlants_mc[ btn_arr[ i ] + "Ani_mc" ];
// store button name as property
btn.name = btn_arr[i];
// give button roll over effect
btn.onRollOver = function() {
this.gotoAndPlay("shake");
}
// give button roll out effect
btn.onRollOut = function() {
this.gotoAndPlay("start");
}
// give on release method
btn.onRelease = function() {
trace( this.name + " clicked");
}
}
I have modified the onRelease to the following as i want it to go to a particular frame and load the text there
Code:
btn.onRelease = function() {
cont = this.name + ".txt";
gotoAndStop("container");
}
on the frame labled "container"
I have the following code (sourced from the adobe website)
Code:
this.createTextField("my_txt", 10, 10, 10, 320, 100);
my_txt.autoSize = "left";
my_txt.border = true;
my_txt.multiline = true;
my_txt.wordWrap = true;
var envirText_lv:LoadVars = new LoadVars();
envirText_lv.onData = function (src:String):Void {
if (src != undefined) {
my_txt.text = src;
} else {
my_txt.text = "Unable to load external file.";
}
}
lorem_lv.load(cont);
trace(cont);
now this works fine for the first click.
but when i click any other btn it does not work
is it becasue the codes are on different frames?
when i put the code from the container frame to the frame 1
it still wont work ;(
any help with this?
thank you
View Replies !
View Related
Transitions Between External SWFs W/ Symbol Transitions - HELP
So I've been pouring over this forum looking for a solution to my problem. (this is probably a little lengthy, so I apologize in advance).
I've been using the techniques in the tut: Transitioning between external SWFs
to create a little flash movie to be used for work. I've created files to mimic the tut, ALMOST to the T.
Somethings that I have changed... I'm using a transition on a symbol to fade in and out. I'm also using a gray gradient in the first 12 frames as a "woohoo, look at me" intro.
So my problem is that when I start the mainmovie.swf file it's supposed to pull in the first swf file (section1.swf) and go through the same actions as the above tut. But what is REALLY happening is that section1.swf starts, but it's only the gray gradient. When I click on button 2, I get the same gradient, only this one loops (which isn't supposed to happen). Same thing with section 3.
I've gone through the code (which should be right, because I cut/pasted into flash, changing only the file names), but also doesn't mean much, because this is my first dive into AS.
Yes, I have five buttons and only three external fla files, I figured, let me get these working first, and then do the other two buttons.
On top of this, I wanted to get the entire sequence to play and loop three times. But my main concern is to get the buttons working. I would attach the files, but they are too big, even zipped.
HELP PLEASE! Thank you in advance,
~V
View Replies !
View Related
|