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


Similar Posts:


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 :: 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 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 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 3 :: Adobe Air Native Installer Is Not Including .class Files And .properties Files

Feb 20, 2012

I have some files in my src directory, some are .class files (Java class files) and some are .properties files, when I create the Adobe air native installer these files are not included. Why is that? How can I work around that?

Also it excludes .mxml files, but that's good. I'm sure that's related, how to change what it includes or excludes?

View 1 Replies

ActionScript 2.0 :: Xml Gallery - Images Appear On The Tshirts To Be .png Files Or Gif Files As The Tshirt Colour Can Be Changed

Apr 7, 2009

I have created a flash file that allows you to click on a thumbnail image and larger image appears ontop of a tshirt. The same way as a gallery would work. The images and thumbnails are pulled in through xml. However I have a problem, I need the images that appear on the tshirts to be .png files or gif files as the tshirt colour can be changed. At the moment my flash file will only display jpegs! I dont knwo why. The jpegs leave me with a white background, so I need the transparency of a png/gif. My actionscript is:

[Code]...

View 2 Replies

ActionScript 3.0 :: Uploading Local Files Without Requiring User To Select Files?

Feb 3, 2009

My users upload a certain kind of text file that sometimeshas references to images stored locally on their hard drive. I needto check this file either on the server or within a flash app tosee if it has these references and then grab those images in aflash app to upload to my server.So I can use FileReference easily enough to have users uploadlocal images. But FileReference requires users to select their files with a dialog box. I can't have that. Myusers wouldn't know where to look and there are typically way toomany files, sometimes with the same name but in differentdirectories.

I can also just use URLLoader with a local URL, I guess I canprobably just use Loader too? That works great. The problem here isI can't communicate with both the server and the local filesystemin the same flash application due to Flash's security sandboxrestrictions. So I can get out of those security restrictions byplacing or editing a trust file in designated locations on variousOSes. I then need to install this trust file which is more invasiveand confusing to users then I want to be...Java's method of accessing local files from a web applet bysimply signing the applet with a certificate and having a dialogbox popup where the users grants access is ideal. Is there anything

View 4 Replies

Media Server :: Make In FMS Files(xml Files) In Order To Reduce The Latency

Sep 8, 2009

iam streaming my web cam to FMS .... i have got a latency of 1 -2 second,,,,,, What should i do to reduce the latency,,,,,, is ter any change i can make in FMS files(xml files) in order to reduce the latency......

View 6 Replies

ActionScript 2.0 :: Retaining Order Of Files Loaded Externally From Large XML Files

Jul 18, 2006

I was messing around with some old examples, and I ran into an unfinished example where several 30k-100k XML files are loaded and stored as a string into an Array. The code looks basically like:[code]Basically, when I trace the 'this', the order of the files that are loaded is off. Out of about 10 tries, about 3 times the order is perfect. The remaining 7 times, the order is a bit off. Does anybody have a suggestion on how to ensure the files are loaded prior to the next file being loaded? I tried placing a while loop that basically delays the clock for a few milliseconds, and that didn't work either. Besides, that is not really a good solution to arbitrarily waste clock cycles.

View 6 Replies

Professional :: Flash CS4 Can't Open .fla Files Or Lose Files/graphics?

Mar 20, 2010

I installed Flash CS4 Professional trial version for school use.  It wouldn't install successfully.  I deleted the font files the troubleshooting guide said to, tried again, but gave up. (I'm afraid to run regedit and mess up everything else I have loaded.)  (I previously had the Fireworks CS4 trial version loaded, then uninstalled it.)  My problem is this- I have it running, but it saves files and then they can't be opened, even if I use the save function often- it's worse when I create the file, test the movie and then save.If I try to open it again, it says "cannot open file."  Once it opened a copy I had saved, and it appeared blank, even though it was 544 kb file size.  I only need it for a few more days, one more assignment and I'm afraid my previous files are corrupt.  I have Windows Vista Home Edition.

View 4 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 2.0 :: 2 Flash Files - Both Files To Be Independent To Each Other And Controlled Separately?

Jul 13, 2005

i have attached a flash file.the problems are

1) i have palced 2 flash file on my web page.if i stop the sound on this file then the sound on another flash movie placed on my web page also stops.i want both the files to be independent to each other and controlled separately

2)if i click on play it shows loading.even after it loads the file it doesnt change itz status. if i click again on play then itz status changes to play.my codes for flash.....

soundUrl = "test.mp3";

// create sound object, assign properties and events
function createSoundObject(){[code].....

View 1 Replies

ActionScript 2.0 :: Display Random Files - Where To Store All These Movie Files

Nov 29, 2007

my question is to diplay random files , and i have given the code as

[Code]....

one more question is "where i need to store all these movie files. either in samefolder where the flash file is placed. or make it as a seperate folder and or in the flash file library". and one more thing is "how can i place these 20 files in a order like declaring the dimensions on the screen. do i need to put in a CSS.

View 1 Replies

Professional :: Using SWF Files To Assemble Larger Flash Files

Mar 27, 2011

I am constructing a Flash animation and I was hoping to build it by scenes. These scenes would be individual SWF movies that I could import into my final Flash file in consequential order and when finished I would have a completed Flash Movie. There would be no interaction beyond Play/and replay. Where can I get information on how to construct this and is this a recomended way to do it?

View 7 Replies

Professional :: Convert Flash Video Files To MOV Or AVI Files?

Nov 16, 2011

I've tried exporting a MOV file using Flash 8. I've tried converting to a MOV using ffmpegx. Neither have worked.

View 1 Replies

Finding Flash Files Embedded In Office Files

Jun 15, 2010

Can anyone improve on this? Requires Sysinternals Strings

date /T >N:output.txt
net use z: /delete
net use z: \svr-002

[Code].....

Basically it mounts a share as a network drive then runs through the share looking for swf files inside office documents.

View 1 Replies

Professional :: Produce Swf Files From Video Files?

Oct 10, 2011

I have no experience with Adobe Flash because others have done this out of house in the past. (time has come for me to learn - quickly)
 
I need to simply create  "swf" files from a number of videos I have finished in Premiere Pro 5.5.
 
These videos are 800 x 600 videos that display at "point-of-sale".  The spec is swf and not flv.
 
(I do not need to do anything else in Flash apart from create the video file with the swf extension.)

View 2 Replies

ActionScript 3.0 :: Does Client Get Class Files And .fla Files

Oct 14, 2009

Just wondering what is the standard in the Industry; does the client get the ActionScript Classes and the .fla file?

View 2 Replies

ActionScript 2.0 :: Decompiler Can Edit Swf Files To Fla Files

Sep 27, 2006

I came across that website to see some products news, then I find there was a nice flash tool. You know that decompiler can edit swf files to fla files. But this tool which I want to introduce to you can edit swf to swf perfectly, amazing right? Plz check it here:URL...

View 2 Replies

ActionScript 2.0 :: Load Several Xml Files - Address Each Of The Files?

Jun 13, 2008

how to load for example two xml files, and how to address each of the files? The red comments will explain what I want

[Code]...

View 1 Replies

ActionScript 2.0 :: Prevent Users From Viewing Site And Then Simply Going Into Their "temporary Internet Files" And Stealing Swfs And XML Files

Feb 5, 2009

I am trying to prevent users from viewing my site and then simply going into their "temporary internet files" and stealing my swfs and XML files. I have been using a great .PHP code to stop this but now I am working on a server server that only uses .aspx files. Does anybody know of a way that I can stop files from being stored in the "temporary internet files" folder. I have encrypted the files but this is not good enough.

View 0 Replies

ActionScript 3.0 :: Have Two Navigation In Same Fla?

Aug 1, 2010

I�m trying to have two navigations in the same scene where i want both to load external swf�s but i�m having problems with the 2nd one.

I wrote this code in the first frame of my fla instead of writing it in the .as file. I don�t know if i�m doing well with this but i also tried to insert the same code in the .as but the same errors show up[code]...

View 1 Replies

Navigation.swf Into Webpage.fla?

Dec 20, 2010

I'm currently developing a full flash site. I've made the dropdown navigation menu with flash also. However, whenever I insert or import it into the webpage .fla, nothing works. When I preview the navigation menu swf file it works perfectly, ie, the mouseover effects, however I lose all actionscript coding when I bring it into my webpage .fla, what am I doing wrong?

View 4 Replies

Navigation From 1.swf (scn.1) To 2.swf (scn.1) And Back

Apr 11, 2011

I just missed the Flash Q&A @ Facebook... didn't get an answer to my navigation question: I know how to go from 1.swf (scn.1) to 2.swf (scn.1) and back. (buttons) I don't know how from 1.swf (scn.1) to 2.swf (scn.1) then back to 1.swf (scn.3)

View 5 Replies

Navigation With The Keyboard?

Jun 2, 2011

how to change the focus of movieclips and buttons when I press the arrow keys of the keyboard. Its kind like the tab navigation but with de arrows keys, in the four direcctions. This flash app i'm developing has to be handled 100% with the keyboard.

View 2 Replies

ActionScript 2.0 :: Navigation From SO's?

Mar 7, 2004

I have just read the tutorial on hyperlinks in dynamic text boxes.Whis is very good but not quite what I need.I want to load in my navigation from external text file using SO's.So from a link in my text file I want to go to a named frame or load a new movie.I have managed to make a link work inporting it from the text file but do not know how to get links to work to other content. I really want to start a function from these text links within the SO.

View 3 Replies

AS2 :: IDE - XML Navigation / Mapping

Feb 3, 2009

[Code]...

Etiam nisi ligula, sodales non, pharetra eget, tempus ac, purus. Vivamus sagittis mollis risus. Proin dictum libero a elit. Curabitur feugiat, metus sit amet convallis imperdiet, est tortor volutpat nulla, eget mollis diam nisi vel lacus. In diam ligula, euismod eu, dapibus non, fermentum quis, urna. In consequat pede eget erat. Quisque luctus felis. Mauris dignissim. Fusce pulvinar, dolor sit amet porttitor egestas, quam massa tristique pede, nec porttitor diam odio in magna. Mauris congue mauris eu lectus. Duis eu felis ut ligula consectetur blandit.

[Code]...

View 1 Replies

IDE :: How To Get Navigation Bar To Work

Jul 9, 2009

I have a navigation bar made in flash that I placed on a dreamweaver document and I don't know how to make the links work with the flash. How can I tell the flash to go to the certain dreamweaver docs?

(as)
function onLoad(){
var menu :Array = [
{label:"Home", url:"[URL]"},
{label:"News", url:"news.html"},
{label:"Sports", url:"sports.html"},
{label:"Features",url:"features.html"},
[Code] .....

View 1 Replies







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