ActionScript 3.0 :: Linking Swfs Or Exe Files?

Jun 17, 2011

I needed to break it in smaller pieces because it is a large file (over 300 mb) and every time I wanted to publish the entire project flash crashed.
 
Here is my test: I have two exe files that should link back and forth. Intro_YIM.exe, which has a button that links to Videos_FrontPage_YIM.exe Here is my code, which is in Intro (button name= nav_4).
 
[code]...

Problem: The link seems to work, but there is a message that says save or run. When I click run, there is another message that says the file can't be open.
 
Questions:

1. Is there a better way to handle links using executable files using Flash CS5 and AS3?

2. If swfs were used, how can I have a main page displaying all other swfs as they are linked?

View 5 Replies


Similar Posts:


ActionScript 3.0 :: Linking SWFs Together Without Loading On Top Of Another?

Nov 21, 2010

I have a conundrum in that I have 5 SWF files, I have various buttons in these SWF files linking to one another. Now all I want to do is have these buttons open up the relevant SWF file (and therefore completely replace the current SWF).I have been using a Loader class so far, but have just realised that this simply loads the new SWF into the original one! (Because I am dense), and everytime a button is clicked its loading the SWF on top of the original (slowing down my program quite a lot, as you can imagine!)

Is there no simple way of just linking these SWFs together without loading them on top of another? (I looked up unloadAndStop, but I can't get it to work in my SWFs! I have also read containers being mentioned, but I would rather stay clear of that as well if I can!)

View 1 Replies

ActionScript 3.0 :: Deep Linking - External Swfs And Swfaddress

Aug 23, 2011

I'm implementing swfaddress in my project, which starts with a main swf with various menus. When a menu item is clicked, it signals a url change, and the url change loads a corresponding external swf. All works swimmingly here. But... what if I wanted to have another menu from within the loaded external swf, and have that have its own loaded external swfs, url change etc, as well? For example, on my home page, there is a menu item called "news".

Once "news" is clicked, the url changes and loads a "news.swf" into a holder on the main swf. Now, in the "news.swf" there is yet another menu, this one with two buttons: one button says "Article 1" and the other "Article 2" and each would signal a URL change and load "article1.swf" and "article2.swf" respectively when clicked. Is there a way to get the menus on the external swf to communicate with the swfaddress that is happening from within the main swf so that every swf has it's own url address and different events triggered by that change? so the url for article 1 would look something like [URL]

View 11 Replies

ActionScript 3.0 :: Linking External SWFs To The Main Flash File Error 1120

May 16, 2011

I have made a menu bar and linked each separate swf file to the corresponding button. Upon testing my main movie, all the text on the main page is disappearing, the new swf file is not loading and the message 1120 error appears for all my buttons. I have checked the instance names and they match along with publish settings and folder settings. I cant understand why its not working

[Code].....

View 2 Replies

CS3 Linking Between 2 Different .swf Files?

Nov 12, 2009

So I have main .swf file(I'll call it movie1) that leads to webpages that are not in the movie. The webpage has a navbar which is a seperate .swf file (I'll call this movie2). I need the buttons on the navbar to link to a certain place in the main movie. Is there a way to use gotoAndplay in movie2 to go to a scene in movie1?

View 4 Replies

ActionScript 3.0 :: Linking Several Swf Files

May 22, 2010

So, I'm making this website, and each page is a separate swf file. Let's call them 1.swf, 2.swf, 3.swf.. 6.swf.So far, I suceeded in linking page 1 to page 2 using Loader, but there's a problem. Page 2, in the player, is OVER page 1. That mean's you can see page 1 where you should be seeing page 2 background.My question is, is there anyway in AS3 to unload or close page 1, right after page 2 is loaded?

View 1 Replies

ActionScript 3.0 :: Linking SWF Files Together

Jul 25, 2011

I made several SWF files and I am trying to link them together but I am not sure how. Right now I have 3 applications, and a main page. All 4 SWFs were compiled from different FLA files. The main page has 3 buttons that links to all 3 of the SWF files. When I tried to do a URLRequest-URLLoader method to load the swf files, I realised I had to compile all the MovieClips of the 3 applications within the main.fla for them to actually work when you do URLLoader to load them(or it will throw a missing file error). I couldn't move all the graphical assets into main.fla as there are many replica names of different graphics from all 3 different application fla files.

Is there a way to still link up different SWF files without the need for all the graphics to be in one similar FLA file? or is there a way to remedy my situation without having to rename all the MovieClips?

View 9 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

Linking SWF Files Without Loading In File

Jun 26, 2009

Files: Attached is a link to a file I made named "index". [URL] I would have liked to have included the following files but was limited due to "you-send-it" not uploading folders. Files not included: [but functioning and vital to the site as well as the question]

- xml list
- images [folder]
- thumbnails [folder]

Project scope: Website is an online-art gallery. I was able to get a functioning xml rolling thumbnail bar as well as have it load images. [Due to certain circumstances I was forced to put the project on hold until now.] It consist of 17 buttons, on the index [home] page, which are to call upon an xml file to load the appropriate scrolling thumbnail bar and the images which it loads upon clicking.

Problem
When you open up the index file, go to the actions layer. You will see the script needed to load in the xml scrolling thumbnails as well as the associated images. The actionscript is fine and works in as much as when I save out an swf file the thumbnails dynamically load in and when I click on them the associated image loads to stage as well. [again if you download the index file you will not see this as not all the files were able to be uploaded due to "you-send-it" as mentioned.]

[Code]....

View 8 Replies

ActionScript 2.0 :: Linking Two Flash Swf Files?

Dec 1, 2011

i am creating an app two swf file ( one is interface file and another one is output file) in AS2. i in connecting the two swf files. i.e if i press any button in one swf it have to sent data to another file and it have to trigger some function in that file.

View 1 Replies

Flash :: Static Or Dynamic Linking Of .SWF Files

Feb 2, 2011

If you compile a Flash project into a .swf file and that project refers to another .swf file, is it linked statically or dynamically? That is, is the second .swf file contained physically in the first .swf file or does the first .swf file refer to the second at run-time?

View 1 Replies

ActionScript 2.0 :: Linking Swf Files To Play In One Movie

Nov 17, 2010

I have about 12 SWF files that I need to play as one swf file

Heres were i'm at right now. Opened new file. Imported each swf file into the library. in one layer I have 12 keyframes each with one of the swf files in it. I need the swf to play through then go to the next keyframe and play that movie and so on.

I guess the question is I'm not sure where to put the actions (on each of the keyframes or in the swf file or both) and I'm not sure what actions need to be used.

View 9 Replies

ActionScript 3.0 :: Flash Linking To Source Files?

Jan 11, 2011

trying to use a CMS to import swf files. These swf files currently access source files through the standard code of: [url]...

and all works fine when testing on my machine because the swf is next to the file folder [url]....what I need to figure out is, is it possible to reference the [url]... folder as an absolute URL e.g. (http:url..) or is there another workaround I am not seeing?

View 2 Replies

ActionScript 3.0 :: Linking FLV Files - Auto-load The Rest One After Another

May 13, 2009

ok so i've created (X) amount of .flv's and i basically want a slide show but i didn't want to make it all one file bfcuase the time line would be longer. i need to link all the files so that when i play the first one it will auto load the rest one after another.

View 5 Replies

ActionScript 3.0 :: Linking Buttons To Swf Files Inside One HTML Document?

Jun 9, 2009

I am trying to figure out how to link a bunch of buttons to different photo albums inside a single HTML page in Dreamweaver. Here is an example of what I mean: [URL]

Unless I'm mistaken, everything in this website is contained within one HTML document.When you click on any of the various buttons in the portfolio menu, they simply load up and appear inside the same HTML document.

How on earth do you do this without clicking on any of the various buttons and having them linked to another page??

View 3 Replies

ActionScript 2.0 :: Passing Xml Files To Swfs?

Feb 2, 2004

I have a main movie with a dynamically created menu (uses data gathered from an XML file). Each menu item has an Action and Variables associated with this action.

Code:
<?xml version="1.0"?>
<menu name="mainmenu">

[Code]...

Now as you can see from my XML file above one of my menu options is a photo gallery. What I would like to to is have one swf, i.e. photoGallery.swf, and load this into an empty movie clip called content_mc and pass it different XML files (same format, but different content). (see my loadSlideShow() function)

View 14 Replies

ActionScript 2.0 :: Pass Xml Files To Swfs?

Feb 2, 2004

I have a main movie with a dynamically created menu (uses data gathered from an XML file). Each menu item has an Action and Variables associated with this action.

Code:
<?xml version="1.0"?>
<menu name="mainmenu">
<item name="Home" action="gotoURL" variables="http://www.something.com

[Code]....

Now as you can see from my XML file above one of my menu options is a photo gallery. What I would like to to is have one swf, i.e. photoGallery.swf, and load this into an empty movie clip called content_mc and pass it different XML files (same format, but different content). (see my loadSlideShow() function)

View 14 Replies

ActionScript 3.0 :: Load Swfs With LoadMovie Into Files?

Apr 7, 2009

is it possible to loas as3 swfs with loadMovie into as2 swf and keep them working? i have a whole as2 swf website and i want to embedd an as3 flv player....

View 1 Replies

CSS :: Flex - How To Compile Multiple Files Into Individual SWFs

Jun 18, 2010

Right now I am using an apply task inside of an antrun execution.

<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.4</version>
<executions><execution>
<id>compile-default-theme-css</id>
[Code] .....

How do I do this in pure maven? Without the antrun plugin?

View 1 Replies

AS3 :: Flash - How Are SWFs Are Compiled From External .as Class Files

Oct 5, 2011

In the Flash app I'm building, I have a "main" SWF that will load a variety of "child" SWFs.

All of the AS3 code for both the main SWF and child SWFs is contained in external .as class files.

In other words, each movie has it's own document class .as file.

There are also a number of .as class files for all of the common elements (e..g, UI buttons and controls).

So - for example - both my main SWF and all child SWFs use the "MyCommandButton" class; the code for this class is in MyCommandButton.as, which all SWFs reference (import).

Here's what I don't understand.

(Let's say that the code in MyCommandButton.as draws buttons that are red.)

First, I compile ALL of the child SWFs.

Next, I change MyCommandButton.as, so that the buttons it draws are blue, instead of red.

Then, I compile the main SWF.

When I run the app (main.swf), I would expect all of the buttons in the main SWF to be blue (since that's what MyCommandButton.as specified when main.swf was compiled), and all of the buttons in the child SWFs will be red (since that's what MyCommandButton.as specified when they were compiled.)

Instead, ALL of the buttons are blue, which means the change I made to MyCommandButton.as affected all of the child SWFs, even though I didn't recompile them.

View 1 Replies

ActionScript 2.0 :: Remote SWFs May Not Access Local Files

Feb 4, 2007

I have this situation (simplified):
MC-A.swf opened from local computer (C:/) and loads MC-B.swf which is hosted on a server.
When MC-B.swf is loaded, it tries to access file called "loader.swf" which is also on local computer (C:/).

When it tries to access the "loader.swf" I get the following error message:
*** Security Sandbox Violation ***
Connection to file:///C|/loading.swf halted - not permitted from [URL]
-- Remote SWFs may not access local files.

I read discussions concerning this issue, and as I understood, I could use:
System.security.allowDomain("[URL]");
to solve this problem, but it didn't work.
I wouldn't like to change the loaded file to load it's resources also from the web, since it can find them on the local machine.

View 4 Replies

ActionScript 2.0 :: Class Files Caching In External SWFs

Jul 30, 2009

The problem is class files being cached in external swfs when they are loaded into another swf. (as2-cs3). In a nutshell, we've got a clip on the stage that is linked to a class. You can make changes to the class, pub the swf and everything works fine. When we then load that swf into our application swf, the changes are all lost, and it "reverts back" to a previous version of the class.

View 9 Replies

ActionScript 3.0 :: Remote SWFs May Not Access Local Files?

Aug 18, 2009

lod.load(new URLRequest(str2));how to unload the lod when second time i cal that function.how to over come this (*** Security Sandbox Violation ***SecurityDomain )

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 :: Preloader And Transition For Dynamic Files AND Transitions Between External SWFs?

May 15, 2008

ANYONE KNOW HOW TO Preloader and Transition for Dynamic Files AND Transitions Between External SWFs MIX TOGHETER...

View 1 Replies

ActionScript 2.0 :: Individual Listbox Items Linking To Individual External Text Files?

Jun 20, 2004

I've gotten as far as getting a listbox with a list of articles to display the articles in a dynamic text box, only i can only get it to work if i use one huge external text file that contains all the articles. what i want is to have each item on the list open up its own external text file, i.e. for each item on the list, there exists a separate text file. I'm about ready to put my fist through the monitor, and that would suck because this is a really nice monitor

View 13 Replies

ActionScript 1/2 :: Absolute Linking Of .as Instead Of Relatively Linking?

Jul 28, 2009

the project im working on is all database driven, there are no html files and all coding that is created is made by php then stored within a db to be called later on. now because of this i can't use relative links at all with anything i.e. images, videos and swf files.
 
so.....i am using swfobject to link to a swf file using absolute linking as shown in the coding below. but what i need to do now is link an .as file in my swf using absolute linking so i can call some arrays from the file.i have doubled checked to make sure my vars can be passed by local testing and it works but now i need it as absolute....is this possible?

View 16 Replies

ActionScript 2.0 :: CS3 Buttons In Loaded Swfs Loading Other External Swfs Into The Main Timeline?

Sep 11, 2009

I have a main fla file which loads an external swf into an empty movieclip on the main timeline which works fine but I want a button in the external swf to load another external swf into another empty movie clip on the main timeline.eg. start.swf loads UKEIAMap.swf into (empty movie clip within start.swf) MapLoader_mc then a button havant_b within UKEIAMap.swf needs to load HavantProjectSheet.swf into (empty movie clip within start.swf) ProjectSheetLoader_mc without unloading UKEIAMap.swf

View 3 Replies

ActionScript 3.0 :: External Swfs Load - Remove The Swfs And Sound After A New Button Is Clicked

Nov 13, 2010

I am loading eight external swfs by way of eight buttons with actionscript to remove the swfs and sound after a new button is clicked. This works fine except that as soon as you get to the frame where the actionscript is all the swfs load at one time on top of each other. I don't want any to load until the button is clicked for the right one. MouseEvent listener works but only after all the swfs have loaded. How do I get the swfs to load only when the buttons are clicked. I can't figure out what I am doing wrong.

[Code]...

View 5 Replies

ActionScript 2.0 :: Access Local Swfs Using Remote Swfs?

Jan 5, 2010

Is it possible to access local swfs using a remote swf

View 1 Replies







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