flash

Accessing Labels in AS3 ?

So I a few badges (MovieClips)! The main idea is to generate a collection of badges with random numbers associated to them. This is what I did up to now: I created two different MovieClip badges, and exported them for ActionScript as Badge and BadgeHover Within the BadgeHover the label has been transformed into a class with insta...

Programming to control the Playback speed of Flash Player

I came across a software for Windows called "Enounce" that allows us to dynamically change the playback speed of videos on popular websites like YouTube that uses Flash technology. However, there is no equivalent program for Linux operating system. I would like to know what should be the approach for developing a similar program on Lin...

POST becomes a GET in Flash Builder 4 beta 2 according to Fiddler monitor?

My HTTPService requests in Flash Builder 4 are working fine for GETs but not for POSTs, where I am sending along params in addition to the name/value pairs on the query string. According to the Fiddler monitor, the header always shows a GET even when I explicitly set the method = "POST". I step through my code and see the method being ...

Flash MMO for facebook Architecture

Can someone please help in the architecture of the social multiplayer browser game with flash. I would thankful if there is detailed process for developing these games and guidance. thanks in advance ...

(Actionscript) Wave-like animation on objects

I have different cards, I need to reveal them in a wave like form, i.e. the cards open and close at different timings sequentially and systematically such that they form a wave. I have the cards in an array alr. How do I implement this animation in the most efficient way? Thx! ...

TCP Flow control in AS3?

I am currently working on a Flash socket client for a pre-existing service/standard. The service uses TCP flow control to throttle itself and the Flash socket is reading in everything as fast as it can despite not being able to process it as fast as it's being taken in. This causes the bytesAvailable on the socket to keep increasing an...

Flash Dependency Checking?

So I've been working on some Flash stuff for a client, and we're recently moving everything into a svn repo, so I need to get all of the class files to be included in the repo. The issue I'm having is that I usually am the only one working on flash stuff, and this project is a little old, so I'm not absolutely sure which class files are...

Simplifying Flex deployments in services-config.xml?

I am using Flex/Flash to build a UI which front-ends my Rails server application. I am using WebORB as the communication mechanism. My question should apply beyond just WebORB, however. (I think). Specifically, it has to do with the services-config.xml file. I have a local (laptop) dev environment, a remote dev and a remote production e...

Retrieving information from facebook and giving it to flash

Hi, The problem always comes down to this, I have a policy file on my server which lets my flash to do what it wants and I retrieve that data. But most of the information one needs in an facebook app is from facebook. My setup is Django/Python with flash. So when I call a url like http://apps.facebook.com/... it gives me a security er...

Best way to build a Facebook App with Flash ?

Hi, I learnt it the hard way, the python/django/javascript/flash was not such a good idea when building a facebook app. So what in your opinion is the best combination to use when building a Flash based facebook app? ...

What's a good client-side, resize-before-upload, flash/java uploader?

Hi, does anybody know a good client-side, resize-before-upload, flash/java uploader? We need this terribly on our project, since we have a lot of people uploading photos and most of them have photos which are bigger than 3MB. We want to be able to resize these photos before they get sent out to us. I've googled for client-side java/fla...

Flash AS3 - Load XML from outside web directory on the local server

Is it possible for flash to access data from outside of the root directory of the server it resides. i.e. Root directory = /var/www/httpdocs SWF = /var/www/httpdocs/flash/file.swf XML = /var/www/xml/file.xml Thanks! ...

What is the correct way to to update Accordion children in Flex?

Hi, Right now I have an Accordion component in Flex that has two children, I want to give the children a reference to my application model when they have completed their instantiation (after the accordion changes index). The following notation fails for me because the children are instantiated after the event is triggered (accordionCh...

What is the easiest way to find out when a Property of a built in type changes to a certain value?

I'm having an issue with Movieclips inside my Swf resizing to the wrong dimensions. I'm currently tracing the width of the offending clip every half second, and I can see the value change to an incorrect size at some interval in the logged output. I really want to see what code is changing the width. My plan was to extend Movieclip, over...

Flash/AS3 security - passing movieclip reference to child swf?

I'm seeing some strange behavior with respect to interactions between my preloader and main application classes (all AS3 / Flash CS4). Roughly speaking, here's the flow of events: Preloader.swf loads two things: main.swf, which is the main app, and assets for a custom object consisting of text and images, which are assembled into the ...

using setChildIndex();

If I use setChildIndex to change my movieclips index position on the stage. Can I only set it to a index that already been occupied. or can I make up an index of my own. like 100. Reason being is because I am trying to figure away to make movieclips always on top. What I had in mind besides setChildIndex is... if(eApi.getChildIndex(this...

Change MP3 frequency on the fly somehow?

Does anybody know a purely PHP based way to alter the frequency of an MP3 file? I am on shared hosting with this, so installing ffmpeg or something similar is out of the question. If this requires actually altering the audio data, then I guess it is not possible nor feasible to do with PHP, but I was thinking maybe this is just a heade...

Tracking Code for Google Analitycs in ActionScript2

Hello all, Im completely new to Flash and ActionScript2 but what I need is to add Google analytics code to track clicks from "button" Bellow is a part of my function this.onRelease = function(){ getURL("http://www.mysite.co.uk/someulr.html","_self"); getURL("javascript:pageTracker._trackPageview('/flash_site.html');","_self");...

Why is the 'Range' URLRequestHeader in Flash restricted?

Can anyone tell me why the Range, header is restricted in the Flash player? I want to be able to pause and resume downloads in my flex application, but I get a RTE when trying to set the Range header. Error #2096: The HTTP request header Range cannot be set via ActionScript. I imagine there isn't going to be a work around client side...

Flash MovieClip width and height always zero

I'm loading a flash MovieClip (Test.swf) like below. The problem is I can't read the size of mc (mc.width and mc._width both return 0, for the height as well), but I need to scale it. I have the stage size, I can scale, but I don't have the size of Test.swf, so I can't scale it to fit into the stage... ActionScript2, not actionscript3. ...