ActionScript 2.0 :: Go To Previously Viewed Page?

Apr 14, 2010

I am creating an ebrochure, where in my timeline i have three layers: top bar (for my glossary and help buttons), nav bar (with my prev and next buttons) and the pages of the brochure.

The pages consist of each frame having a movieclip for that page, so frame one has page one movieclip, etc... and are all individual frames.

The top bar layer spans the entire set of page frames (14) as does the nav bar, but I have the glossary and help on frames after the pages end. What I am trying to do is that when someone clicks to go to the glossary from where ever they currently are, the prev button on the nav bar that is over the glossary page can take me back to the last page I was on. So, if on page 4 and click to go to glossary, prev takes me back to page 4. But if i am on page 7, prev takes me back to page 7.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Track Time A Page Is Viewed?

Jan 11, 2011

Is there a way in which to track the time a Flash page is viewed? For instance, once the page loads, a timer begins. When the user moves to a different page, the timer is stopped?

View 2 Replies

Navigate Already Viewed Page Only Shows Last Frame Of Slide?

Sep 26, 2006

I am creating a website using the slide presentation template. However, when I navigate to a page I have already viewed, it only shows the last frame of the slide rather than starting from frame 1 of the slide. Is there I way I can tell button to go to a slide and play from frame 1 regarless of how many times the slide has been viewed?

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

ActionScript 3.0 :: Php Variables - Call From The Player To The Xml File For Whichever Member Page Is Being Viewed

Jun 5, 2011

I have a flash mp3 player that lives in the root on my server, I have members on my site that each have their own folders which have an xml file in them for their uploaded mp3 files, my question is, how do I get as3 to call from the player to the xml file for whichever member page is being viewed, for example, if you were viewing members/profile.php?id=1, the player which is on the profile.php page calls to the playlist.xml file in the id folder '1' I know I can use the xml load function but how would I get the members/$id in there

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

FLA Won't Publish In CS3, Previously Compiled Swf Is Gone?

Jul 20, 2009

I have had this problem a few times lately. When I try to update & publish files that I created in the same version of Flash CS3 and previously published fine, the "Exporting Flash Movie" bar comes up, but no movie compiles. When I go to look for the swf in the Finder (Mac OS 10.5.7), it has mysteriously disappeared, and only the .FLA remains.
 
It doesn't happen with ALL files I publish, only some -- so I know the SWF preview should come up automatically. I normally work off of a shared network drive, but the same thing happens on my local machine. Has this happened to anyone else?? Is there a cache I need to clear or something?

View 10 Replies

ActionScript 3.0 :: Unload Previously Loaded Clips?

Mar 23, 2010

I am creating a 40 slide presentation with soundtracks, narration, and animations.Each slide is a separate swf clip).I have noticed that when I load a new clip, the previous clip is still loaded (I wasn't using any background so I could see through the first clip and see the second).This tells me that I should consider unloading the previous clip or use backgrounds.Putting on a background is easy however if I should want to unload the previous clip, how do I do that?Here is how I load the next clip:

mmBtn.addEventListener(MouseEvent.CLICK,loadMM);function loadMM(event:MouseEvent):void {trace("Main Menu Button was Pressed")var loadMain:Loader;loadMain = new Loader();addChild(loadMain);loadMain.load(new URLRequest("mainMenu.swf")); }

Some slides will have many navigation options and others will only have one or two.I have AS in each slide to keep each slide self contained. This makes it easier for me to develop and test.Is there a way to remove the current slide contents (from the stage and memory) and load the next slide? I'm really concerned about the memory usage.

View 3 Replies

ActionScript 2.0 :: Get X And Y Properties Of A Previously Created Thumb?

May 13, 2007

I have this dynamically created thumb gallery from a XML[code]...

Is there any way to get _x and _y properties of a previously created thumb (e.g. k-1) and use them in maths of a position of current thumb??

View 1 Replies

ActionScript 3.0 :: Clear The Previously Loaded Content?

Jun 14, 2011

I play back videos in my application. When a video completes or finishes, the user may play it again. However, when I reload a new video, I see and hear a brief moment from the previously loaded video.

I am replaying the next video by simply calling play(newVideoFilename) with my netstream object.

Is there something else I need to do to clear the previously loaded content?

View 4 Replies

IDE :: Flash CS4 Won't Open Previously Working Fla File

Dec 9, 2011

I try to open my file and I get this error:

The following JavaScript error(s) occurred:

In file ""/Users/Jeremy/Library/Application Support/Adobe/Flash CS4/en/Configuration/Javascript/ObjectFindAndSelect.jsfl"":
Cannot find file file:////Users/Jeremy/Documents/creative/meatheadz/mouse story/mouse.fla.

I was really psyched about this work, if it's lost, it'll be a real drag!.

View 3 Replies

ActionScript 1/2 :: MovieClipLoader And Checking Whether Clip Was Previously Loaded

Mar 22, 2011

I'm using a preloader and MovieClipLoader to seemingly good effect and I have an ending sequence to my preloader where it plays out once the target clip is loaded. The ending sequence features within the preloader itself (preloader_mc.endingClip). preloader_mc plays through its frames with:

[Code]...

until it gets to 100% and then gets to a frame telling endingClip to play. All good unless the target clip is already loaded. Then what happens is that the preloader jumps to 100% and only plays the ending sequence. I would like to have a way of checking to see if the target clip has already been loaded so as to avoid displaying only this ending portion of the preloader.

[Code]...

View 4 Replies

ActionScript 3.0 :: Removing Text Which Has Been Placed By Previously Clicked Buttons?

Jun 1, 2011

I've been trying to convert and AS2 project to AS3. I've been able to load all the static items from the library and been able to get the buttons to load different text. However when I select a previously clicked button it doesn't remove the old text. here's a section of the code.

ActionScript Code:
//Add the FactFind button
var factFind_btn:factFind = new factFind();
addChild(factFind_btn);

[Code].....

View 0 Replies

ActionScript 3.0 :: Clear All Of The Previously Added Items Within A List?

Feb 6, 2009

Is there any way that I can clear all of the previously added items within a List?

View 4 Replies

ActionScript 3.0 :: AddChild Is Replacing Previously Added Child?

Jul 28, 2009

The code below is called after a thumbnail is generated and available. It is supposed to add the thumbnail to a MC along with the file name. The first go around (after a file is uploaded and converted) works, but the second time around the 2nd MC is generated and placed on stage with the correct file name and thumb image, but the first thumbnail image isappears (the file name stays).I don't understand why.

Code:
function initlistener(e:Event):void{
myURLFILE = "myURL";//reset URL

[code]......

View 2 Replies

ActionScript 3.0 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

Flash :: Loading A SWF Dynamically Causes Previously Loaded SWFs To Misbehave

Mar 26, 2010

I have run into a very strange problem with Flash and Flex. It appears that under certain circumstances, movie clips from a SWF loaded at runtime (using Loader) cannot be instantiated if another SWF has been loaded in the mean time. Here is the complete code for a program that reproduces the error. It is compiled using mxmlc, via Ensemble Tofino:

[Code]...

View 4 Replies

Flash - How To Implement Own Cirrus (previously Named Stratus) Server

Apr 17, 2011

I am interesting in creating a P2P application using Cirrus [URL]. The examples given create a connection with servers managed by Adobe. I'd like to do this on my Node.js server, how should I implement this? Or does Adobe force developers that use Cirrus to buy Flash Media Servers?

View 1 Replies

ActionScript 1/2 :: Turn On Audio For External Flv On Replay When Previously Muted While Playing?

May 3, 2011

I have a project where an external video plays with cue points that  trigger the elements on my main timeline (captions). I have a custom mute button  for the video so that the guy talking on the video can be muted if necessary (did not use a skin for video controls but set it up as a button). The problem is, when I reach the end of the video and I click  a "replay" button to restart at the beginning, the timeline and video start but if the video was muted previously, the video remains muted while my button shows that it isn't. How do I  get the audio to turn back on automatically when restarted, or at a minimum show that it's still muted when replaying? My replay button AS2. mcPlayer is my flv.

[Code]...

View 9 Replies

Actionscript :: Flex Edit DataGrid Cell On Click Only When Previously Selected?

Feb 27, 2010

I need to modify the behaviour of an editable datagrid to this:

-Single-click on a row, doesn't make the cell show a text input field (only selects the row)

-Double-click on a row, doesn't make the cell show a text input field either

but

-Clicking a cell in an already selected row, shows a text input field ready to be edited.

View 1 Replies

ActionScript-3 :: Difference Between Playing Previously Created MovieClip And Event.ENTER_FRAME

Aug 1, 2011

I am creating game which involves some billiard-like balls to bounce on the screen. I created a MovieClip with only one frame which represented the ball, exported it to the class, extended it to my needs and animated it using Event.ENTER_FRAME. It works fine, but there is something that confuses me -- both, the stage and the ball have only one frame each, so I don't quite understand how Event.ENTER_FRAME works... I mean, if there are no keyframes, how is done the animation? If I used already animated MovieClip, I would have to add keyframes, right?

View 4 Replies

ActionScript 2.0 :: Preloader - Detects When A Movie Has Been Previously Loaded So That It Won't Show The Loader Bar Again?

Dec 12, 2006

I'm working on the following site http:[url]...I'm getting there however the preloader I'm using keeps appearing even when the movie in question has been cached. Is there a preloader solution out there that detects when a movie has been previously loaded so that it won't show the loader bar again. I find it annoying seeing the bar appear unneccessarily all the time.The preloader I'm using is basically this:

onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();[code]....

View 5 Replies

ActionScript 3.0 :: CS4 Projects Not Able To Be Viewed In CS3?

Aug 1, 2009

I downloaded CS4 and created several projects, but then the 30 day trial period ended. When I opened up my licensed CS3, and tried to open the projects I created in CS4, they didn't open.I don't understand why Adobe would do this, unless they didn't, ? I can't believe it is not backward compatible?

View 10 Replies

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

NavigateToURL Not Firing When Site Viewed On Mac

Oct 28, 2010

I am simply trying to link a button on my site to another webpage (an online store). The site is currently live at Higdon Florist (won't let me put the dot com address due to forum rules) The last 2 menu options (View Bouquets and Place Order) should link to (store dot higdon florist)

On PC, this works just fine every time.

However, I have reports that Mac users have trouble. The action never fires on the first 4 or 5 tries. Then, suddenly, it begins to work (and continues to work thereafter).

My AS3:

import flash.net.URLRequest;
import flash.net.navigateToURL;
navigateToURL(new URLRequest("(store address)"), "_self");

[Code]....

View 4 Replies

ActionScript 2.0 :: Variable Viewed As One Line?

Jan 9, 2009

how do I store and retrieve rather large multi-lined texts blocks that contain hard returns in a url or embed code?

Hah, yeah, probably a ridiculous request but this is used in a flash/custom BBcode partnership. The idea being that the user posts on the bulletin board and wraps their text in [customtag][/customtag]. It spits that information out as an embed code with the text stored as a variable that calls the flash applet and displays their post in a fancy way. This is for a browser based game so it's basically for admin's to post RP style messages.

View 2 Replies

CS3 Combobox Doesn't Work When Viewed Through Container SWF?

Jun 23, 2009

My SWF contains a combobox that functions as expected when it is viewed alone. But when this same SWF is loaded into a 'container' SWF the combobox no longer works.

The container SWF uses AS3, and the SWF that is being loaded into it uses AS2. Could this be the problem?

View 1 Replies

Removing A Flash Banner When It Is Being Viewed On A IPhone?

Jan 4, 2010

I was using a friends iphone the other day to view my site, I have a flash banner at the top of my site. When you view the site on a iphone you get the flash logo, does anyone know a way to remove this banner & logo when it is being viewed on a iPhone?... That way I could display a image instead, Pls don't just say remove the banner, I like it and i want to keep it. (it looks good when its not being viewed on a iphone).

View 3 Replies

ActionScript 3.0 :: MP3 Player - Getting Error When Not Viewed Locally

Apr 6, 2010

I am a as3 nub but basically when I view locally I have no issues... When I view over a network I get an error like:
TypeError: Error #1009: Cannot access a property or method of a null object reference.

I am calling this mp3 player from inside another movie...
PHP Code:
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);
xmlLoader.load(new URLRequest("playlist.xml"));
var trackList:Array = [];
var bandList:Array = [];
var fileList:Array = [];
var MusicLoading:URLRequest;//File Request
[Code] .....

View 2 Replies

ActionScript 3.0 :: NavigateToURL Not Firing When Site Viewed On Mac

Oct 28, 2010

I am simply trying to link a button on my site to another webpage (an online store). The site is currently live at [URL]. The last 2 menu options (View Bouquets and Place Order) should link to [URL] On PC, this works just fine every time. However, I have reports that Mac users have trouble. The action never fires on the first 4 or 5 tries. Then, suddenly, it begins to work (and continues to work thereafter). I have scoured Google and Adobe Forums, and it seems this is not a common problem. So I'm hoping it is just a simple fix.

[Code]...

View 4 Replies







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