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


Similar Posts:


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

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 :: 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

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 :: 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 :: Save Multiple Text Files From Multiple Text Boxes?

Mar 2, 2011

As the title states, I need to know how to save multiple text files, from multiple text boxes on the screen. Each textbox has the instance name of t1, t2, t3... and so on. Here is the code I have now:

[Code]....

View 3 Replies

CS3 Preload Multiple Files?

Feb 25, 2010

how can i make a preloader load multiple external (mp3) files before entering the site itself?

View 1 Replies

Play Multiple .swf Files One After Another?

Oct 6, 2006

I have two flash files that I would like to play back to back in the same location on my site. I would like one to play, and then when it's done, I want the other to play in its location.

I googled around and read up on the loadmovie variable, which I thought that is what I needed, but it isn't working.

To start out, what I did was create a new flash file, then I inserted an image into the timeline on its own layer, converted it to a movie clip (named pic_mc), did a fadeout effect on that image, then I created a new layer, and on the frame directly after the image, I put the following:

Code:

loadMovie("/images/preferred-reseller-hosting-0001.swf", "pic_mc")

I then ran a test (ctrl+enter) and all I see is the fade out image, and not the other flash movie. I even uploaded the .swf to my site and tested it there in a real world situation, and it didn't work. It just fades the image out and restarts the movie.

View 14 Replies

IDE :: Best Way Of Loading Multiple XML Files?

Dec 7, 2009

What is the best approach in AS3 when loading multiple XML files. I have 3 XML files I need to load. Should make separate XML loaders and functions for each XML file?

View 1 Replies

Storing Multiple Animation Files?

Aug 19, 2009

I want to have a TV screen and hundreds of (small) flash animations load up in the 'TV'. I'm assuming I'm going to have to use Actionscript, so I'm looking into that right now. However, what would be the best way to organise this? Each "TV" will have a different set of "Channels". Do I create each 'channel' and save them as seperate SWF files, or is it possible to have them all in one main file. I can then flick through each 'channel', which essentially unloads the current animation and loads the next one

View 2 Replies

Loading Multiple Jpeg Files

Jul 7, 2009

i'm making a simple portfolio site, and bringing in a series of jpeg files using a 'for' loop and the Loader class. once all the files are loaded in, i'd like to just be able to add, remove, tween, etc... the items from the stage as need-be by using instance names, such as movie clips or Sprites. but for some reason, i cannot seem to figure out how to have each image, as its loaded in, be separately accessable to me after the loop has completed.

View 10 Replies

Play Multiple Flash Files One After Another?

Nov 2, 2009

I have a series of animations of graphs etc in different flash files. Tried to put everything on the one timeline but was getting way too confusing so thought I would put each part in a separate flash file.
 
What I want to do is, once one file has come to an end load the next one up to play and so on. This is all part of a presentation so the user will click the keyboard to progress to the next file.

I'm using Flash CS4 on a Mac with Action Script 3.0.

View 38 Replies

Flash :: Should Have Multiple Swf Files On Different Webpages

Jan 29, 2010

I'm writing a small game app in Flash, and I'm wondering what the benefits of having one giant SWF loading everything vs multiple webpages and multiple SWF's.

View 1 Replies

Flex :: Possible To Upload Multiple Files At Once?

Jan 20, 2011

I need a component where user can click on browse button and select multiple files using ctrl key and upload them at once. Please note that it is dfferent from clicking add more files each time a file gets uploaded. Is it posible in flex?

View 2 Replies

ActionScript 3.0 :: Using The Same Object Across Multiple Swf Files?

Aug 4, 2009

I have 2 FLA files, a "menu.fla" and "game.fla"

In my "menu.fla" I create an object of my class:

var gameEngine:Engine = new Engine();

I click on a button in "menu.swf" to load my "game.swf" into the window...

I would like to know how can I use the "gameEngine" object in my "game.swf"?

Also, I have to code that runs on a "left-arrow" key-press in "menu.fla", but I also have some code running on a "left-arrow" key-press in "game.fla".

Once "game.swf" is loaded, and I press the "left-arrow" both the code from "menu.swf" and "game.swf" executes.. I only want the game.fla's "left-arrow" code to execute?

I also noticed that "game.swf" is basically layered over "menu.swf". Is there a more efficient way to load .swf files?

View 0 Replies

ActionScript 3.0 :: Possible To Run ComputeSpectrum On Multiple Files

Dec 8, 2009

Since there's (obviously) only one instance of SoundMixer in any given file, is it not possible to run computeSpectrum discreetly on different soundfiles loaded into an application? Basically I want to visualise each sound differently. Anyone come across any workarounds?

View 4 Replies

ActionScript 3.0 :: Multiple XML Files Parsed Together?

May 5, 2011

I'm creating a trivia game with two different categories. The player can choose one category, or the other, or both together. The way I have it is three different xml files (code below). Is there a way for the third option (both categories) to parse the first two xml files together so I don't need to create the third xml which is just a combination of the first two?[code]...

View 3 Replies

ActionScript 3.0 :: Select Multiple Files?

Aug 16, 2011

Any way to browse and select multiple files to upload instead of just one?I'm looking at the ref but all I see is an argument for a filter.

View 1 Replies

ActionScript 3.0 :: Upload Multiple Files?

Oct 18, 2011

I have an array which contains multiple Filereferences.Currently, I am using a loop to upload them with PHP and all is well

ActionScript Code:
for (var i=0; i<MaxNumFiles; i++){
if (PDFFiles[i] != false){ 

[code]......

View 2 Replies

ActionScript 2.0 :: Preloader For Multiple Files?

Oct 15, 2005

I know how to make such preloader for loading one file after another. But I need preloader that will be able to preloade many files/movies at the same time and show percentage of each one. Lets talk about 3 movies. How to do that? I remember that I have seen such thing somewhere on the net before.

View 7 Replies

ActionScript 2.0 :: Preload Multiple XML Files?

Apr 24, 2006

I know how to do this for one XML file, but I'm interested in preloading multiple XML files (My data + config settings).

I thought of 2 ways, but I don't think they're very nice programming:

1. Preload the first XML and do another XML.load within the XML.onload. But that way, you get a lot of nested functions if you want to preload more than 2 files.

2. Preload both the XML files at the same time, and use a counter to check if all the XML.onload are executed.

View 3 Replies

ActionScript 2.0 :: How To Preload Multiple XML Files

May 11, 2006

I want to preload multiple XML files using the XML.load method. I know how to do this for one XML file, but I'm interested in preloading multiple XML files (My data + config ttings).How would one do this?I thought of 2 ways, but I don't think they're very nice programming:1. Preload the first XML and do another XML.load within the XML.onload. But thatway, you get a lot of nested functions if you want to preload more than 2 files.2. Preload both the XML files at the same time, and use a counter to check if all the ML.onload are executed

View 4 Replies







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