ActionScript 2.0 :: How Long Do Localconnections Persist

Feb 3, 2010

A) I have created a localconnection and connected to it successfully;

B) I re-run my .swf 20 minutes later and now the .swf cannot .connect(...) because apparently the localconnection object from A is still persistant, and more importantly the name used to .connect("the_name") is still persistant;

View 4 Replies


Similar Posts:


ActionScript 2.0 :: Two Separate LocalConnections?

May 1, 2009

//I've got this working
var sending_lc:LocalConnection = new LocalConnection();
this.mcLeftBox.onRollOver = function() {

[code].....

View 2 Replies

ActionScript 2.0 :: LoadMovieNum - Users Of The Player To See How Long They Have Listen Or How Long Time Back Of The Song

Feb 5, 2004

I'am making a advanced mp3 player arund this tutorial: [URL] and i want the users of the player to see how long they have listen or how long time back of the song. i have the AS i what to use but i cant connect them. becuase the tutorial i used does not make a sound objekt (MUSIC)

[COde]...

View 1 Replies

Flex :: Playing A Large/long H264 File With NetStream Takes A LONG Time To Begin Playback?

Aug 1, 2010

I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can cause this bloated lead in time?

View 2 Replies

ActionScript 3 :: SharedObjects Don't Persist Across Different Swfs?

Oct 20, 2010

I am serving two different swfs that read and write to the same SharedObject variable. The SharedObject variable is a number, and each swf checks that number to make sure it isn't using the same number twice. It then stores the last number it selects. In this way both swfs should never use the same number twice, no matter which order they're loaded.

If I repeatedly load one of the swfs, the never-twice rotation works. However, when switching back and forth between swfs, sometimes the number is repeated. SharedObjects are supposed to be global to the Flash Player, so why would this happen?

View 2 Replies

ActionScript 3.0 :: Sound Still Persist After Unload?

Feb 16, 2011

I have unloaded the external swf that contains sound. but the sound still persist, how do I get rid of this sound?I'm pulling my hair here.I've tried:- _loader.unloadAndStop();- flash.media.SoundMixer.stopAll();all doesn't work because stopping sound that way only works when the sound has already playing. If the sound is "about to play" (but not play yet) the stopAll() cannot prevent the upcoming sound from playing

View 5 Replies

ActionScript 3.0 :: Button Background Color Persist?

Oct 9, 2010

Based on a dropdown menu tutorial by Jody Hall, i created the same dropdown menu and also added some stuff to remembers and read the button click.The problem i encounter is after clicking the selected button, the previous selected button backgroundcolor still persist

View 4 Replies

Actionscript 3 :: Persist Row Order In Flex AdvancedDataGrid

Sep 30, 2009

I have an AdvancedDataGrid that I allow the user to drag/drog the rows to reorder them and also allow them to sort on columns. I want to save the row ordering so that the next time I load up the data, the row ordering is preserved.

I have a bindable array collection to the data grid. The array is a collection of a custom AS object. I tried just using the bindabled array collection I give to the datagrid but the order always stays the same.

View 1 Replies

Actionscript 3.0 :: Persist A Tilelist Style, After Click?

Apr 23, 2009

i'm trying to have a tilelist that when any item is clicked, it will set a unique skin (selectedUp) and set its label to the word "clicked". i need all of the "clicked" items to maintain the (selectedUp) skin, even if something else is clicked.this code is working, but for some reason it is also selecting every tenth item in the list as well.

Code: Select allimport fl.controls.TileList;
import fl.controls.listClasses.TileListData;
import fl.controls.listClasses.ImageCell;[code]........

if i comment out the following lines, it stops selecting every tenth item. but how do i make the selected item maintain the skin?

Code: Select alltestCell.setStyle("upSkin", selectedUp);
testCell.setStyle("downSkin", selectedUp);
testCell.setStyle("overSkin", selectedUp);

View 2 Replies

Flex :: Persist A Hyperlink's Style After Mouse Has Moved Away?

Oct 17, 2009

Is it possible to persist the look of a 'hovered' hyperlink even after the mouse has moved away from it? I want to keep the user's attention on the hyperlink -- or at least have them able to see what it was, standing out from the rest of the text -- for a few seconds after they've left it. Ideally it would fade slowly back to normal

View 1 Replies

Actionscript 3 :: Flex Mobile Persist View Data?

Sep 18, 2011

I built a simple hello world app to check out the Flash Builder 4.5 mobile capabilities.Here's how it works:The Default View asks for name in an textinput and has a continue button.When you click the continue button it pushes a new view in the viewNavigator which just displays "Hello " + name in a label.When you click anywhere in this view, it pops a view (i.e. itself) from the viewNavigator, to go back to the default view

I see only 1 issue with this:When I get back to the default view, it is in its initial state, i.e. the textInput is blank. It seems as if the viewNavigator created a new view of the default view's class and pushed this, instead of just removing the top view and displaying the previous one.I see this being especially problematic for programs which display data in a grid and you can click the data to view the detail...when you get back, the grid will be empty.

EDIT:
Project name: HelloWorld
Code below:[code]....

Clicking on screen 2 gets us back to initial screen. Notice the blank textInput

View 2 Replies

Html :: Persist Flash Animation On Page Browsing?

Jan 27, 2012

Is it possible to have flash animation work uninterrupted on my site (in some overlay at the border of the browser) while user browses my site pages?The only way I see is to put animation onto <frame> but the geometry of such layout is very limited.

View 1 Replies

Flash :: Persist Application Data Via Javascript Between Browsers?

Feb 23, 2012

I'd like to persist a list of favorited items for all browsers on the user's machine.

Cookies are too volatile, and localStorage, while useful, does not move between browsers.

Are Flash's Local Session Objects my best bet?

View 1 Replies

ActionScript 2.0 :: Changing Values Of Variables That Need To Persist Amongst All Users Of Site?

Sep 28, 2006

I want to know what the best method is for changing the values of variables that need to persist amongst all users of my site?For example, say I have a button that can only pressed 10 times. And not 10 times by a single user during a single session, I mean 10 times between every user who ever visits my site. How would I keep a running count?

View 2 Replies

ActionScript 2.0 :: Make Non-inspectable Component Properties Persist From Design To Runtime?

Jun 9, 2010

I have two components (lets call them A and B) which have normal inspectable properties (e.g. NAME and AGE) which allow you to enter values via the component inspector. When I type the value for NAME in component B (via the component inspector) I communicate via a singleton class and store this value in a NON INSPECTABLE property located in component A.

When I run the movie, I want to access this non inspectable property within component A; however, it is always null - the value will not persist from design time to runtime. I check that the value is set at design time by tracing the A's non inspectable property once component B has set it - and it does indeed work, so I know component B has managed to set the correct value in A.Basically, what I need to know is, how do you persist properties of a component from design to runtime, without having to make properties inspectable and having to manually type property values via the component inspector?

View 1 Replies

Professional :: Make Non-inspectable Component Properties Persist From Design To Runtime?

Jun 9, 2010

I have two components (lets call them A and B) which have normal inspectable properties (e.g. NAME and AGE) which allow you to enter values via the component inspector. When I type the value for NAME in component B (via the component inspector) I communicate via a singleton class and store this value in a NON INSPECTABLE property located in component When I run the movie, I want to access this non inspectable property within component A; however, it is always null - the value will not persist from design time to runtime. I check that the value is set at design time by tracing the A's non inspectable property once component B has set it - and it does indeed work, so I know component B has managed to set the correct value in A.

View 2 Replies

Flash :: Flex - Adobe Player Cache: Does Data Persist Across Different Users Of A System

Sep 16, 2009

Does anyone know if adobe flash player cache data is available to other users on a system? For example: A user logs onto Windows XP, then uses my adobe flex application... and in the process of doing so downloads the signed flex lib... He then decides to mow the lawn and log off. At about 3pm the same day, his Mum can't hear the TV over the sound of the mower, so she decides to log in using a different XP user account. She proceeds to use the very same flex application. Does she also need to download the flex lib again, or would the data already be cached in the flash player?

View 2 Replies

Iphone :: Flex - RIA Flash Apps On The IPhone Store Persist Data Until An Internet Connection Is Available?

Oct 8, 2009

I'm interested in building a thick client application for my existing web services that will run on the IPhone. Flash finally seems to be an option, so I thought about using Flex for client side development.

However, since flash apps are not natively supported by the IPhone, but only through a wrapper, I was wondering if these apps can persist any data. Data entered by the user should eventually be transmitted to the web service, but until then I want it to persist even if the Iphone should run out of power.

Is this possible? Or does the Iphone flash wrapper make it impossible to access the hard disk?

View 2 Replies

Skipping Around A Long Flv?

Jun 2, 2009

I am working on a project wherein a long (40-50min) flv plays inside a flash interface. I have a set of buttons that I would like to use to skip to different parts of the video as it plays, this works fine on my local machine using cue points but of course online I cannot jump to sections that have not yet been buffered, I'd like to be able to do this if possible. I'm looking at a couple of options at the moment...1, Use a content delivery network that offers a flash media server, as I believe this will sidestep this issue, however this will cost money that isn't really available for this project.2, Split the long movie file up into chunks and have my navigation buttons load a new flv onClick.If I go for option 2 is there any way of keeping a cumulative progress bar running as if it was all one video.

View 11 Replies

Long SWF Freezes Near End

Sep 21, 2009

I have a long timeline based animation, about 23 minutes in full.  When I test or publish the movie, the SWF freezes with about one and a half minutes of playback time left. The streaming audio, however, continues to play.I know that the error isn't due to some sort of errant stop action at that point in the animation because I have it broken up into several scenes, and if I test the final scene by itself, it does not freeze and plays back correctly.  Also, if I rearrange the scenes, the SWF still freezes about 21 minutes and 20 seconds into the animation, which, after rearranging, corresponds to a different point in the animation.

View 1 Replies

Site Take Too Long To Load?

Jan 4, 2010

My flash site works but takes too long to load. Could you tell me if there are any settings I could adjust to somehow compress the file and shorten the loading time?

View 2 Replies

CS3 Animating To A Long Soundtrack

Oct 14, 2010

I've been given a complete soundtrack, about 15 minutes long, complete with background music and dialog.I'm animating the whole thing as once scene so that I can keep all the dialog synced up. My question is, what's the best way to organize my animation?The way I've been doing it, I try to keep my objects on their own layers organized into folders, but even so I end up with a very large and confusing amount of stuff in the layers.But should I just be cutting the soundtrack into scenes and animating the movie using scenes instead?I've never actually used scenes.If I cut the soundtrack how would I avoid audio glitches when the whole animation plays back?

View 1 Replies

Long Delay On Everything In Flash?

Jun 4, 2009

I Have Flash CS4 and a pretty decent system with Vista and 3 GB of RAM.  However, whenever I click on anything in Flash, it takes about 3 or 4 seconds for it to become active.  If I click a keyframe, the stage won't come up for 3-4 seconds, if I click the text tool, the cross hairs won't come up for 3-4 seconds, etc.  It has been like this since I installed it...I am just finally getting my full of it.

View 3 Replies

Audio Lags In Long SWF?

Oct 23, 2009

when exporting a long SWF (10,000 frames and higher...of course not over 16,000 cause it won't export) the exported audio in the SWF will slowly start to lag behind the animation until it is completely out of sync by a few seconds at the end of the clip. i have all my sounds set to stream and they are all on the main timeline. this is a straight animation with no actionScript.i run at 24fps and export the audio at mp3/128kbs/best.

Flash CS4
windows Vista 64bit
8gb RAM

View 1 Replies

Best Way To Make Long Animations?

Nov 2, 2010

Would it be better to make long(5+ minutes) animations all in one file on the same timeline, or to make sections and assemble them later?

View 2 Replies

IDE :: Scrollbar Content Too Long?

Sep 15, 2009

I have a scrollbar in which a very long list which I can't make any shorter / smaller.roblem is, the script for the scroller demands that I place the text at 0,0 on the Flash axis, and the lenght of the text makes it run way down to the lower edge of the Flash workingfield.Somehow this makes the text run 'beyond reach' of the scrollbar; the scroller only shows about 2/3 of the list, and does not show the text beyond that point.How can I extent the reach of the scrollbar??? Can I shift the 0,0 point of the Flash axis (maybe place it higher, so the text falls into the more 'reasonable' regions of the workingfield of Flash?)

View 1 Replies

ActionScript 3.0 :: ByteArray Reading Long Value?

Dec 28, 2011

I have a java server sending the time with:long time = System.currentTimeMillis();I put this in a packet. It takes up the first 8 bytes of the packet and send it to the as3 client.Then in as3 I read the packet but since there is no readLong function with ByteArray, I can only think of reading it with readDouble to read the first 8 bytes of the packet. I'm not sure if this is the right way to do it.

I compared it with the time from AS3's function: Date().time;The time I get from AS3's Date().time is different than the time I receive from reading the packet with the time sent from the java server.I'm not sure if I'm using the wrong time functions or reading the packet wrong.

View 1 Replies

ActionScript 1/2 :: Drawing A Long Line?

Mar 26, 2009

I'm having troubles with the width of a line using the lineTo and lineStyle function, I can put setting the thickness and noScale parameters, and it works fine for no longer lines than 32000 pixels, but when I try longer line, the thickness changes to a bigger width. if you want to try what I'm saying you can prove this by changing the num variable:to 33000 for example:

num = 32000
this.createEmptyMovieClip ("Envolvente", 100);
this.Envolvente.lineStyle(0,0x00CC00,100, false, "none",
"round", "miter", 0.8);

[Code]...

View 2 Replies

Other Options For Very Long Gallery Slide?

Jun 7, 2010

I have a gallery slide that is going to be greater than 4000px in length. I have a slide movie instance that I script to slide from right to left.

This method require two slides to make them appear to loop seamlessly. So that is 8000px wide in total. I remember that Flash can only slide movie instance 3000px wide.

What other options do I have to allow for this type of slide length. Inside the slide movie instance, it contains all my images and text that are positioned differently from each other.

View 1 Replies

Flex :: How Long One Test Took In FlexUnit

Jul 1, 2009

Is there a way to know how long one test took in FlexUnit? Is there a way to know how long all tests took?

View 1 Replies







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