ActionScript 3.0 :: Mark External SWFs As 'Viewed'?

Oct 1, 2009

I've got a SWF that calls up external swfs via XML. Users are able to navigate to each external swf using a next button. When a user views the external swf, I need to mark it as 'viewed'. This way, if the user leaves the site prior to seeing all swfs, they can come back and start where they left off and view only the swfs they haven't seen.

What is the best method for setting this up? Array? Somehow parsing the XML file?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Put A Mark On Movie When One Of Them Is Already Viewed?

Jan 27, 2011

There are 3 flv movie in my flash page. Is there a way to indicate in my flash page if the flv movie is already viewed on user's browser? I need to put a mark on the movie if one of them is already viewed? Am I to use Shared Object?

View 4 Replies

Actionscript 3.0 :: External Swfs Won't Load When Viewed From Html Page

Nov 20, 2009

I have a html page with a flash element. The flash element loads in an external swf. This works fine when I'm testing from the swf, but when I test from my HTML page the external swf doesn't seem to load into my main swf.

I have all my swf's in a folder called "swf". The HTML document is at the root level. In my main swf the actionscript for loading the external swf is:

[Code].....

Some how the path to the external swf gets lost. I've tried new URLRequest("soundComponent.swf"); as well. And like I said, this all works from the swf, just not when viewing from an HTML page.

View 1 Replies

IDE :: SWFs Start With A White Blink When Viewed Online?

Aug 30, 2009

An example of it is viewable here:

[URL]

The .swfs that make up this website were originally made by somebody else who has asked me to help them get the site working online the way they intended. The main problem I'm having now is making this white space (that appears briefly in shape of .swf's dimensions) go away. The flash projects for the swfs do not even have a white background, neither do the HTML documents. Deadline for solving this problem is early tomorrow and I am stumped. This even happens with tiny, 40kb swfs with preloaders (I thought reducing swf sizes, adding preloaders might solve problem somehow)

View 1 Replies

ActionScript 2.0 :: Transitions Between External SWFs - Looks Crap As The Size Of External SWFs Grow?

Sep 2, 2006

[URL]regarding this tutorial I started my site [URL] to get some trasition effects but im getting somewhat different since the external SWFs take time to load. isn't it better to create "intro and outro" on the same time line instead of loading external SWFs bcos once the movie loaded as a whole will lead to smooth and contineous transitions.

View 1 Replies

IDE :: Transitions Between External SWFs / Close Button For External Swfs

Aug 15, 2005

I recently created a site using the "Transitions between External SWFs" tutorial for Flash MX 2004. I use this to load the sections of my site into the main movie file. Each section is an External SWF file. When a viewer clicks on a navigation button, the specific external swf move will load and play. Currently, a viewer would need to click on another navigation option to close the current external swf file. I would like to add a close button to each of the external swfs so that a view has the option to close the window without clicking on a naviagtion link.

View 12 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 1/2 :: Track Scenes Viewed And Display Image A Or Image B Based On Scenes Viewed

Feb 26, 2011

I have an interactive story divided into scenes. At the end of each scene a button appears. This occurs on a frame on the timeline.
 
There are two different buttons that might appear based on whether a prior scene has been viewed or not.
 
For example, there are Scene_1 and Scene_2. At the end of Scene_2 one of two buttons will appear. The buttons will be either "Go see Scene_1" or "Return to Main Menu".
 
If the user has already seen Scene_1, Flash will know that and automatically go to the frame in Scene_2 that contains the button "Return to Main Menu".
 
Conversely, if the user has not seen Scene_1, Flash will know and automatically go to the frame in Scene_2 that contains the button "Go see Scene_1".
 
I imagine there would be an action frame at the end of Scene_2 that will contain the as2 code to enable this action.
 
Perhaps something like, but probably not at all like the following:
 
if ("Scene_1", last frame == true){gotoAndPlay("frame#");}else{gotoAndPlay("frame#");}

View 1 Replies

ActionScript 3.0 :: Loading External SWFs From Another External Swf Into The Main SWF Container?

May 4, 2011

I have created a main "site.swf" file that loads a "default.swf" file into a container after a preloader. On this default.swf file I have buttons that needs to load new external SWF files in its place in the container. All of the external SWFs contain buttons and navigations that will also call up other external SWFs into this container. So, I would like to know how to program each button (some are movieclips as buttons) to unload itself and load the respective SWF into the container (eg. AboutUsButton to call up aboutus.swf into the container). I do not have a main navigation on the site.swf file bacause the navigation changes on each SWF that needs to be loaded into the container.

View 2 Replies

ActionScript 3.0 :: Stop .mp3 And .flv In External Swfs When Loading A New External Swf?

Apr 10, 2009

Specifically, I am building a flash page that loads external swf files and inside some of the external swf  files, I would like to add audio and flash video (flv) streaming from the Flaash Media Server. In some of the external swf files, (using a FLVPlayback component) when you press a button on the main timeline to unload the current playing swf the audio/video continues to play after loading the new external swf file.So I believe that my approach is all wrong and I should be working to dynamically load the .mp3 and.flvs in the external swf ... my questiion is how to unload those assets when loading the new external swf

View 1 Replies

IDE :: Transitions Between External SWFs?

Jan 30, 2009

I read the tutorial about transitions between external swfs and started implementing it! So as a good and ordonate guy that I am, I put the index.html in the root, created a style folder for the style and a folder for the swfs. I was struggling about one hour to find out why it wouldn't work, to find out that if I move the html inside with the swfs, being in the same directory, it worked fine!

View 3 Replies

ActionScript 3.0 :: Implementing External Swfs?

Sep 28, 2010

I have a custom form that I want to implement and I am having a problem figuring out how to do so. I want to have it work like an inner popup where it blurs and unblurs the background imageHere's my setup:FLA file contains-UILoader for swf sectionUILoader for random background imageLets say I load a section called home.swf into the section loader. Within the home.swf I have a button for someone to call up the form.swf. Is it possible for the form to blur the random background image when loaded then unblur it when it's done? I also have no idea how to unload it.

View 1 Replies

ActionScript 3.0 :: External SWFs Won't Play

Jul 16, 2009

I know this is a very basic question and one that I know the anwser to, but it's been a while since I've used Flash and the solution is escaping me right now. I'm loading external swfs into my main swf and they should just be playing automatically. When I test in Flash, the system works. Upon loading the swf into an HTML page, the system seems to shut down. It seems liike the exteranl swfs aren't even loading. This is what I've got so far.

[CODE]...

View 5 Replies

ActionScript 1/2 :: Load External SWFs Through XML

Feb 15, 2010

I am using this thumbnail gallery attached but instead of loading images through the xml I want to load external SWF'S. I also want to be able to control each SWF loaded in individually apparently in order to do that I need to give the container different instance names..however I don't know how to extend the code inorder to achieve this..

View 7 Replies

ActionScript 3.0 :: Cannot Get External .swfs To Load

Apr 29, 2010

Im trying to load an external .swf, from one of those lazy-do-it-for-you photo gallery creators. Well, it just simply refuses to work
 
Ive tried using AS3 code straight off adobes site and i get this:

[CODE]
var request:URLRequest = new URLRequest("4melogo.jpg");
var loader:Loader = new Loader()
loader.load(request);

[Code]....

View 12 Replies

ActionScript 3.0 :: Preloader For External Swfs?

Nov 17, 2010

Does anyone know of some good Tutorials on creating a preloader for external swfs.   something like, having a container swf that all my external swfs will load in and out of, including the preloader swf.

View 1 Replies

Professional :: Array For External Swfs

Jan 5, 2011

I have a menu files that loads all the swf clips I have in another folder.I did it in an array so that it calls to the clip and then plays it in the movieclip I have in the menu flash file.And yes, I use Actionscript 2.0.My question is, how can I make a player control that will skip to the previous swf that has been played.I have a rewind button already, but it doesn't rewind through the previously-played swfs.I'm trying to think of a code that will load the previous swf file played in the array when a button is clicked.Similarly, I would like to do that with a forward button and simply have it move to the next swf in the array line up.I'll just tweak a little bit of the code I'd have for the previous swf button.I just don't know where to begin.It seems like I almost have it figured out, but I'm just missing a key element.

View 16 Replies

AS2 :: Flash Preloading External Swfs

Apr 15, 2011

I've found this bit of code and it works for preloading my single 'Q1.swf' in an old AS2 project I did a while back. How do I adapt it to preload 5 swf's? Can I load them all to the same target mc or do I have to load them on separate levels or to different targets.I don't want to change the project to AS3 as the budget doesn't allow. Also will this work when the project is viewed from a CD as well as online?[code]

View 1 Replies

ActionScript 3.0 :: Loading External Swfs Into Mc?

Jan 12, 2010

how can i load 3 external swfs into one movieclip at the moment i can only get it to load one or it may be loading each clip over the previous one.

View 3 Replies

ActionScript 2.0 :: Using XML To Load External SWFs?

Jul 6, 2010

I've got this down using ActionScript 3, but I am in over my head trying to revert back to ActionScript 2.

I have a main swf that acts as a shell and calls up external swfs via XML upon a button click.

I've read a number of tutorials over the past few hours, and have learned the basics of how to trace the XML information; however, I'm struggling getting the content to appear on stage.

View 3 Replies

ActionScript 3.0 :: External SWFs Don't Load

Aug 4, 2010

I am working on a an automatic slideshow that's also clickable with buttons...I got the code to work fine on my sample file, but now that I brought it over to the actual file I need to make a slideshow out of - the external SWFs don't load all the way! The first default one loads ok - and the rest remain at about 80% Alpha...

//Import classes for easier use
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;

[code]...

View 1 Replies

ActionScript 3.0 :: External Swfs And Their Removal

Feb 17, 2011

The structure I have is one where I have a main.swf which loads an external swf named say external1.swf. Then external1.swf loads external2.swf. My question is when I remove external1.swf, is external2.swf also removed by proxy from the display list or do I have to explicity remove external2.swf using removeChild on the relevant loader?

View 0 Replies

ActionScript 3.0 :: Preloader For Several External SWFs?

Jul 29, 2011

I have about 20 SWF's on a HTML-page. Though they are not very large in size, they still take time to load. Is it possible to have a preloader / visual effect showing while the SWF's are being loaded? My aim is to avoid opening up all 20 SWF's and add code

View 6 Replies

ActionScript 3.0 :: Laggspikes With External Swfs And TLF

Oct 19, 2011

Im having small freezelaggs when my external swfs finishes loading.The problem started when i swapped all my classic textfields to TLFTextfields.As some of you might know there is a known bugg with TLF in external swfs, i worked around this using class SafeLoader to load swfs. (Used other workarounds with same result)However, whenever one of the external swfs finishes loading, i get a brief freezelagg.Even if none of my code is executed in the loaded swf, the problem persists. The problem occured when i started using TLF (yes, they do need to be tlf). The quantity of TLFTextFields is what makes it freeze.

View 3 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 3.0 :: External SWFs Won't Load

Jul 16, 2009

I'm loading external swfs into my main swf and they should just be playing automatically. When I test in Flash, the system works. Upon loading the swf into an HTML page, the system seems to shut down. It seems liike the exteranl swfs aren't even loading. This is what I've got so far.

var clips:Array = ["amerishelf2.swf", "bedHardware.swf"];
var index:int = 0;
var thisLoader:Loader = new Loader();
thisLoader.contentLoaderInfo.addEventListener(Event.INIT, doneLoading);

[code]....

View 3 Replies

Actionscript 3.0 :: Pre Loader For External Swfs?

Aug 23, 2010

I am using the below code to load in external swfs. I normally put the preloader in the external swf but that does not work with this code. I therefore need to put the preloader in this swf. All the preloader need to be is the numbers (1-100).

Code: Select all/
/EXTERNAL SWF LOADER
var loader:Loader= new Loader();

[code].....

View 3 Replies

ActionScript 2.0 :: Preloaer With External Swfs?

Jul 28, 2002

Here's a great problem with my movie.I have created a two -scened movie.The first contains my preloader,the second contains my main movie with the"loadMovieNum"action in order to load two external swfs at different level(they are complicated interfaces).But the preloader using the action".getBytesloaded" is showing up while the second scene is loading without waiting for the external movies,too.SO,how can I make a movie with A PERCENTAGE PRELOADER, which counts the kbs both of the main movie and the two external movies,as well? Is there any actionscript for this extremely annoying problem?

View 1 Replies

ActionScript 2.0 :: Importing External Swfs?

Mar 24, 2003

I've incountered a problem that I need help figuring out...I'm using dynamic buttons to load external swfs into an area within an interface on level0. There is an actionScript on a button that has been duplicated dynamically..The external swf is loaded into a host mc called "subpage_mc". The swf that should be loaded, is indicated within an array in the first frame of _level0.

Here's actionScript on button before dynamic duplication:_level0.loadMovie(link,"subpage_mc");

The script works, but it replaces the interfacce completely on leve0. I want the new swf to load into level0 and for the interface to be visible at all times, not to be replaced. Does this issue have to do with instance stacking order? How should I make sure that this doesn't happen?

View 6 Replies







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