Have a Flex/FMS web meeting app that has multiple custom components - live streaming camera, chat, slide dec.
Each component does its share of communicating through the FMS server. Should all three of those things share one NetConnection object in the application or will the live video stream suffer when users chat or the meeting prese...
We are looking for the Flash ActionScript 2.0 code for a 3-D rotating cube to be used to display ads on a website. Any ideas where to start?
...
I'm getting a very bizarre callstack in my Flex project (AS3).
Main Thread (Suspended:
VerifyError: Error #1068: Array and * cannot be reconciled.)
I was able to reproduce it using this block of code. If you debug, you'll never get inside "failure" function.
private var testArray:Array = [{},{},{}]
private function run()...
Flash's MovieClip timeline is created in such way that can skip frames to preserve animation smoothness and audio sync.
My question is, if there is ActionScript on a frame, will there be any chance the frame is skipped so the script isn't called?
Or the frames that have script will never be skipped? What is the mechanism?
...
Is it possible to package a XML file with a Flex app inside the .swf?
With a Silverlight application, you can do this quite easily but you have to do a http request in flash to grab it if you're using flash??
I've been wondering this ever since I did a pretty serious silverlight application and utilized local txt and xml files for se...
Hi guys
Wondered if anybody knows how customizable Flash swf files are made, where there appears to be a template swf that the user can then input some changes (eg text or image) and receives a newly-compiled swf file with their changes.
Some examples:
- http://flashfreezer.com/landingconfetti/index.html
Constraints:
- user receives a...
I'm using AS2, but I could also do it in AS3.
I'm making a simple animation with about 10 "coins" on screen. I have a movie clip that animates another movie clip flipping over. I want to pull a random movie clip from the library into the nested clip so that on each "flip" a random coin face comes up.
I've put all the clip names into an...
So I successfully added a movie clip from the library using addChild(), but now I want to access some movieclips that were in that dynamically added movieclip.
I've used standard dot notation and also getChildByName passing it the instance names.
What am I missing here?
---- EDITED ----
I tried the suggestion of looping through and c...
I want to open a file dialog via FileReference.browse() but I get #2176 error which means that this action can only be invoked upon some user interaction. I'm aware of security considerations but in my scenario I have a thin flash movie which merely displays an image and the whole UI is in javascript (I heavily use javascript <-> actions...
Hello! First question here; hope you can help. I'm completely flummoxed.
I created a flash slideshow which preloads the images. After preloading the images, it proceeds to load an external flash file and then the images. The problem is, very very occasionally, it will fail to actually load the images into view, and I'll just see the pre...
I know that FlexBuiler's refactoring engine can deal with updating variable names… But I can't figure out if it's possible to refactor at the package level.
For example, I want to move foo/a.as to foo/bar/a.as, and I want the package path to be updated (ie, from package foo to package foo.bar) and references to be updated accordingly.
...
I'm writing an application in Flex / ActionScript and have a number of class member variables of type Array storing data.
My question is: what's the "best" way to clear out an Array object?
I noticed the ArrayCollection class has a function removeAll() which does this, but the basic Array class does not. Some possibilities I've consid...
I'm trying to use PNGEncoder to encode a bitmapData object into a png ByteArray so I can send the data to the server. Everything would be peachy except the bitmapData is 4000x4000px and when I run the PNGEncoder.encode function on it the whole app stops (UI is blocked) for 5-8 seconds while it runs. Does anybody have any suggestions on...
how to load image and display in flash from http post?
i would to http post some website and return captcha something and display
captcha from response some website from using actionscript flash?
...
This SO answer says "The Flash Player now looks for a policy file on port 843".. I have a policy server that is listening on port 843 which sends out an XML policy to Flash clients. Is this enough? What is the "xmlsocket://" protocol? Is it just a way to tell Flash player that we're talking about sockets when using the loadPolicyFile() m...
Hello, okay I'm hoping this isn't to lame of question but I have honestly given up on searching the net for any clear example of how to do this.
Here is the end result goal: I simply want to display the value of an xml node which is a url in the htmlText property.
My approach is simple, get the mx:XML source and with a XMLListCollecti...
Does anyone know if you can write your own pages that asdoc will recognize and use? For instance, I'd like to write some "Getting Started","Support" and "FAQ" kind of pages that will help understanding what my actionscript classes are about.
...
The game will be on a school VLE (virtual learning environment) like 'Moodle'. Can you export to email? Spreasheet? Or can it only be done with php? Do not want to be spending weeks on it!
...
I have a LinkBar which is linked to a viewstack. However, as I change the fontsize of my LinkBar, when I run it, the font size does not change at all! I've tried changing the font using CSS and it doesnt change the font size! Any ideas? Here is the code:
<mx:Canvas x="0" y="0" width="30%" height="100%">
<mx:Label x="10" y="10" text...
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...