ActionScript 2.0 :: Navigation On Multiple External Swf Files?

Jun 30, 2008

I have a file (main.fla) which loads external movieclips on it,using an empty movieclip as loader (loader_mc).Now,I want to create a navigation,with two buttons (previous / next) which will allow me to navigate through the external movieclips.So,I have created these two buttons.For the "next" button I am using this code,to load the first external swf file (example1.swf):

Code:
on (release) {
if(this._parent.loader == Number(this._parent.loader_mc)){

[code]....

View 4 Replies


Similar Posts:


ActionScript 3.0 :: Navigation Between Multiple SWF Files?

Aug 20, 2009

I'm still working on this project and it got literally huge... at least huge enough to consume all of my 3 GB RAM memory and crash my Adobe Flash CS4. Anyway, I decided to put the site on several swf's but the problem is that I've never done that before so I have no idea how to navigate between them.

Basically I have a main swf file, inside it there's an image (let's say its instance name is "projects_btn") that should take me to "Projects.swf", and I want to click on an "x" sign (its instance name is "xSign_btn") inside Projects.swf that would take me back to the main swf file "Bnaider2.swf".

View 8 Replies

ActionScript 3.0 :: Secondary Navigation Using External SWF Files

Dec 20, 2010

Everything was going fine on a website project I've been working on, until yesterday. I'll try to explain the whole scenario first, and I'll put the code in here too so anyone can try to figure out what is wrong. Here's the breakdown of the site:

1) There is a MAIN SWF file that plays an intro and then stops on the last frame with the "Main" Navigation buttons.

2) Inside the Root folder where the MAIN SWF resides, there is another folder called "swfs" which contains six main external navigation pages, as well as another folder called "galleries" which contains additional external swf files for six gallery pages.

3) On one of the layers of the MAIN SWF, there is a movie clip called "mySWFLoadingClip" that the "Main" Navigation buttons load and unload the main swf pages onto. These all work perfectly. The problem start on the next step. This is the code I used for the navigation buttons on the MAIN SWF timeline:

var Xpos:Number = 0.0;
var Ypos:Number = 0.0;
var swf:MovieClip;
var loader:Loader = new Loader();
var defaultSWF:URLRequest = new URLRequest("swfs/home_page_swf.swf");
[Code] .....

4) One of the external navigation SWF pages is called "portfolio_page_swf" and gets loaded into the "mySWFLoadingClip" moveclip on the MAIN SWF. This is where the problem begins. The "portfolio_page_swf" has six buttons that call out to an additional external swf from the galleries folder. Now when I open the "portfolio_page_swf" file to test out if the buttons work, they work perfect. When I click the buttons, the external swf gallery files show up like they should. But the problem is that when I open the "MAIN SWF" file to test out the site, I can click the Main Navigation buttons and they work. I click on the Portfolio button on the Main SWF time line, and it places the "portfolio_page_swf" onto the stage like it should, but when I click the buttons that are within the "portfolio_page_swf" the galleries don't show up. The buttons from the "portfolio_page_swf" page only work if I open the "portfolio_page_swf" file directly.

Here is the code that is used in the "portfolio_page_swf":
var Xpos:Number= 0.0;
var Ypos:Number = 0.0;
var swf:MovieClip;
var loader:Loader = new Loader();
var defaultSWF:URLRequest = new URLRequest("galleries/gallery_print_swf.swf");
[Code] .....

How to load an External SWF onto the main time line and then load an additional external swf from within the first external swf.

View 1 Replies

ActionScript 3.0 :: Converting Navigation In Main Movie That Loads External Swf Files

Aug 19, 2009

I am diving in to learn AS3 and converting my site over to AS3. The majority of my code is for my navigation in my main movie that loads external swf files. Here is what I have and I don't know where to start to convert it. I know I need to do this in steps. So the audio is not important now or my other swf files.

[Code]...

View 10 Replies

ActionScript 2.0 :: Preload External Multiple SWF Files

Jan 14, 2009

this is how im trying to preload external swf files:

[code]...

i am loading first four swf files from swf directory (page1.swf, page2.swf, page3.swf, page4.swf) - However, I WOULD LIKE THEM TO BE INVISIBLE WHEN THEY ARE PRELOADED TO THE STAGE.. how should i do that.. "fileLoad._visible = false;" does not work

View 2 Replies

ActionScript 3.0 :: Multiple External Text Files?

Aug 17, 2011

I'm making a site that my clients will be able to log into, in order to check their status with my company.

Basically, I have the following dynamic text fields (instance names);

ActionScript Code:
/*
mayPay
junePay
julyPay

[Code]....

I will have .txt files uploaded to my server which I will be able to edit on the fly. I am just having trouble setting it up.

I can find a way where I am able to load one external text file into a dynamic text field, but not multiple..

View 1 Replies

ActionScript 2.0 :: Multiple Preloaders For External Files?

Dec 11, 2005

I have designed this site with few external swf. I was wondering how can I preload all the externals swf's file in the same preloader of my first frame and scene. I have this code :

onClipEvent (load)
{
total = _root.getBytesTotal();

[code].....

View 14 Replies

ActionScript 2.0 :: Preloading Multiple External Swf Files?

Apr 19, 2007

I'm working in Flash MX

I made a site completly in flash.

But to lower file size I made the each section a different swf file

when you click a link you will have to wait for that section to load, it would be good if peoples can see the loading progress while they r waiting.

And i hav added a preloader in each of the external swf file.. and then i realise that if i wanna change or modify the preloader, i will have to change all the preloader too.. this is really kicking axx..

is there a way where on the main page there is only 1 preloader needed to show all the external swf files loading progress? i am using an empty mc as container to load thoose external swf files..

View 6 Replies

ActionScript 2.0 :: Print Multiple External Files?

Sep 28, 2007

I am trying to find a way that I can print a range of jpgs that aren't currently loaded in my movie.

I have a list of thumbnails of photos (with correlating larger version residing externally)each with a number. I want the user to be able to specify a range they would like to print. I think I've gotten close by trying to create a new cast member and load the jpg into it for each one in the range. However my movie keeps hanging and not responding why I try that method.

View 1 Replies

ActionScript 2.0 :: Preloading Multiple External SWF Files

Jan 14, 2009

how im trying to preload external swf files:[code]i am loading first four swf files from swf directory (page1.swf, page2.swf, page3.swf, page4.swf) - However, I WOULD LIKE THEM TO BE INVISIBLE WHEN THEY ARE PRELOADED TO THE STAGE.. how should i do that.. "fileLoad._visible = false;" does not work-

View 2 Replies

ActionScript 2.0 :: Loading Multiple External Music Files?

Sep 4, 2010

I am working on a photo gallery with music and everything works good except I can not seem to load multiple music files one right after another. This is the code I have that works with one music file.

View 1 Replies

ActionScript 3.0 :: Loading Multiple External SWF Files In Sequence?

Dec 3, 2008

I have a fla file that I've created to load 7 external swf files. I am able to create the code to load one swf file without any trouble but I can't figure out the code to get it load swf #2 when #1 is done, and so on. My code for one is below:

[Code]...

I'm fairly new to AS3 but this seems like a pretty basic thing to do.

View 8 Replies

Professional :: Multiple Buttons Which Load External Swf Files?

Apr 11, 2010

I have a drop down menu whereby the clicking of a button causes it to move to a specific keyframe in the timeline. I also have multiple buttons which load external swf files.The problem is when i navigate to the drop down menu the loaded external files keep dissapering because they are not on the keyframe where the drop down menu is actuated. Is there any way of coding it so that which ever swf file is loaded remains there whilst the drop down menu moves to its specific stage in the timeline?

View 1 Replies

ActionScript 2.0 :: Loading Multiple External Movie Files?

Nov 15, 2007

I have been working on this script that currently loads 2 external files into two separate areas inside my application. the 2nd file loaded is supposed to have several buttons that control the 1st movie clip. Like go to next frame, etc. My problem now is the 2nd file loaded, is not controlling the 1st anymore ( i had this all sitting in one file before).

So the action script to load the files is;

Code:
this.myBtn.onRelease = function() {
//load render 1 into viewer
this._parent.viewer.createEmptyMovieClip("clipHold", this.getNextHighestDepth());

[Code]....

View 1 Replies

ActionScript 3.0 :: Share External Class Files With Multiple SWFs?

Sep 9, 2010

Is there a way to share common .as files with multiple swfs?

View 5 Replies

ActionScript 2.0 :: Preload Multiple External Swf Files Into Specific Frames Of Parent File?

Dec 15, 2009

I am trying to eliminate the Loader component from a project. Run locally, the Loader is sufficient to load-up the voiceover swf files that exist on many of the frames in the parent file. On the web, the short download delays at runtime due to the Loader are causing timing issues. I'm not sure if there is a way to preload multiple swfs into specific frames of a parent file so that they are available before runtime.

View 4 Replies

ActionScript 2.0 :: Navigation Between Swf Files?

Jul 2, 2009

I have a home.swf and a purchase.swf. What AS2 code do I need so that when I click on a mc in the home.swf, it takes me and displays either the purchase screen or a particular mc on the purchase screen.

View 1 Replies

ActionScript 3.0 :: Navigation Within Swf Files That Use Different Version

Sep 6, 2011

I have multiple swf files that need to link up together, the problem is this, some of the files was developed a few years ago with Flash MX and actionscript 1 while some of these files was developed recently in CS 5 with actionscript 3.Is it possible to navigate within different version of actionscript files in the same flash player?I found that actionscript 1 file will not work once i have navigated to actionscript 3 file.

View 4 Replies

ActionScript 3.0 :: Multiple External Actionscript Files

Jul 23, 2009

I want to start making my flash projects more modular by creating external actionscript files for each part of my projects.For example, if my project were to create a car, I would break the car into a set of classes; a class for the body, a class for the engine, a class for the wheels, ect.So here's my question(s). Should I just keep all of my classes in the Document class? even though doing this wont modularize my project?Now, I know how to make external actionscript files for each class, but how do i link (I don't know if "link" is the correct terminology or not) the external actionscript files together to get them to work together?Do I have to instantiate the external actionscript files on the time line for each class?

View 3 Replies

CS3 Drop Down Menu Navigation With Multiple Movie Clips?

Aug 16, 2011

I am creating an interactive website so it can be viewed where there is no internet.Each section of the website is split in to different movie clips with the navigation itself being a movie clip on a different layer.Currently I am able to jump to the beginning of frame 1 of a MC then able to navigate to frame 2 but unable to go back to frame 1 through the nav.My biggest problem is jumping to frame 2 of a MC.

View 6 Replies

ActionScript 3.0 :: Image Gallery With Multiple Navigation Instances ?

Aug 18, 2009

I've created an image gallery that loads movieclips from my library with a simple navigation system. Everything seems to be working fine however I'd like to add some additional functionality. What i would like to do is have the navigation first appear on a splash page. When a user selects one of the nav buttons, the nav will fade out. The image selected will then fade in as well as the navigation but smaller and tucked away to the side.

Users can then continue to sift through the gallery with new (smaller) navigation. I don't know if any of that made sense so I whipped up a few images to demonstrate what i mean. I've also attached a zip file with the current gallery I've created.

View 0 Replies

ActionScript 2.0 :: Load Multiple Swfs Into One Swf Via A MAIN Navigation Swf?

May 12, 2002

I want to load multiple swfs into one swf via a MAIN Navigation swf.

Right now I have 5 sections in Main Navigation swf.

I want each different section to open in the same external swf.

View 4 Replies

ActionScript 3.0 :: Image Gallery With Multiple Navigation Instances?

Aug 18, 2009

I've created an image gallery that loads movieclips from my library with a simple navigation system. Everything seems to be working fine however I'd like to add some additional functionality. What i would like to do is have the navigation first appear on a splash page. When a user selects one of the nav buttons, the nav will fade out. The image selected will then fade in as well as the navigation but smaller and tucked away to the side. Users can then continue to sift through the gallery with new (smaller) navigation. I don't know if any of that made sense so I whipped up a few images to demonstrate what i mean. You can find a sample of my current gallery here: [URL].

View 3 Replies

ActionScript 3.0 :: Navigation Menu - Multiple Hit Area With Specific One Active

Aug 14, 2009

The center top of this webpage has a navigation menu that I'm trying to create [URL]. Basically, depending on where the mouseover is, the image and hence the button/link below changes. How to have multiple hit areas overlapping in the same place, and to have only one specific hit area active depending on where the mouseover is at the time.

View 1 Replies

ActionScript 2.0 :: Singular Button Navigation To Multiple Places In Timeline?

Sep 26, 2006

I have a navigation menu that is a movieclip (menu_mc). In the movieclip are 5 buttons. i need the buttons, when clicked, to play a different area of the timeline, dependent on where the user is on the timeline.

I've tried writing this actionscript on the main timeline. But can't get anything to work and am a little lost. for example Say the viewer is on frame 5, and clicks the "blue" button and jumps to frame 6. on frame 6 if they are to click "blue" button again i want to send them to frame 7, not to frame 6.

if anyone could direct me to a tutorial on how to write up something like this, especially one dealing with a very large timeline and multiple buttons, i'd be grateful!

View 3 Replies

ActionScript 3.0 :: Protect Files (make External Then Unopenable Such As .lib Files)

Jul 19, 2011

I'm working on making a pretty chunky game engine for games I plan on making, but I was wondering if you make external AS files unopenable such as .lib files, so that if I give it to a friend that wants to use it, he/she cannot change my code. Is there anyway to make external AS files unopenable? Also, obfuscation isn't an option for this problem as it only stops the people who hack the finished product, not stopping people who have access to the actual files.

View 2 Replies

ActionScript 3.0 :: Multiple Button Navigation - Tween Animation For Each One With Delayed Timing

Jul 2, 2009

i would like to do a simple set of buttons dynamicly created by code, like simple recangles which will act to each other and have different target urls or movies to load. Also buttons should have constant spacing to each other and it should be possible to have a tween animation for each one with delayed timing, so button 3 slides in first, button 2 slides in a second later and finally button 1 slides in at last. If you click one button all of the other buttons should get deactivated and the alpha should tween down to a lower level for e.g

Something like that, sounds simple but i don?t know where to start. I guess i will need to duplicate the button give each of them different targets, tweening and activate / deactivate states, but thats all i know in theory so far.

View 9 Replies

Actionscript 3.0 :: Navigation With External SWFs

May 27, 2009

I am having problems with navigation.. I do not know how to load external swfs to each button item clicked.. And it removes child and put the new child on it.Code: Select all// Its for menu animation, the arrow starts stopped at home_mc but its like a refference;[code]

View 9 Replies

ActionScript 2.0 :: Navigation Control With External Swf's

Mar 25, 2004

I'm currently building a demo tour in flash, I created a main swf that has an intro and navigation. Each link on the main.swf calls a loadMovie and loads each section with external swf's in an empty movie clip. What I'd like to add is 2 buttons, which are next and back, giving the user the flexibility of going through each section, using these 2 buttons. Its just that since each section is an external swf file, I'm not sure how to script the 2 back and next buttons..

View 4 Replies

ActionScript 2.0 :: Navigation Control With External Swf's?

Mar 25, 2004

I'm currently building a demo tour in flash, I createda main swf that has an intro and navigation. Eachlink on the main.swf calls a loadMovie and loads eachsection with external swf's in an empty movie clip.What I'd like to add is 2 buttons, which are next andback, giving the user the flexibility of going througheach section, using these 2 buttons. Its just thatsince each section is an external swf file,

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved