// When I Run The Following Two Lines, I Get The Error Shown Below
var B:Button=new Button();
var lineMetrics:TextLineMetrics=B.measureText('Hello World');
// TypeError: Error #2007: Parameter antiAliasType must be non-null.
From My Point Of View, As Useless Errors Go, This One Is Unsurpassed.
Can anyone point me in ...
Hi all:
I am working on The ausdcf.org to try adding several banner ads in swf format to the top.
Everything starts to work, but I've got several questions that need your help:
The client chose not to go with Google AdManager, but prefer a "minimal approach" to do this task.
What I am trying to do is sort of "mimicking" the way Goog...
How do I get the root node of an XML object in Actionscript?
One would think that I could say this:
var Node:XMLNode = XMLVar as XMLNode;
But although XMLVar is of type XML, Node will = null.
So how do I do it?
...
Is it possible to play an embedded AAC file in Flash/Flex somehow? I know you can playback embedded MP3 files, but I hear that you can't do that with AAC. Anyone know any sneaky ways to get around this?
By way of illustration, here's come code.
[Embed(source='../../audio/music02.m4a', mimeType="audio/aac")]
private static const __Exam...
I wish to do screen sharing application using as3 as the part of one project.
how to get screen sharing video using as3. Thanks.
...
I have a string like "My <color>"
I want to replace "<color>" with "Orange".
I did
str = str.replace("<color>","Orange");
but it doesn't work.
How to do it?
...
Hi,
Could someone clarify for me what input Flash accepts for its text fields?
I am tasked with managing a content management system, this then generates XML which power's flash sites. I have nothing to do with Flash. I work with PHP. Currently we use a rather temperamental Flash Text Editor which is prone to all sorts of troubles.
I ...
I need to show the first slide of a PowerPoint presentation in my jsf app. It must look something like that:
user upload the .ppt file to jsf app
the app take the first slide and converts it to Flash
user sees the converted slide in the separate (not as part of the another page)
I suppose that I couldn't use any external converters b...
Hi,
I'm trying to check if a clicked element is inside of an IVisualElement in Flex 4. So I want something like "if this element is in this element, then execute function".
I'm aware of the 'parent' property but this doesn't seem to work when my element is not a direct child of the element but for example 3 levels deep.
Can anyone he...
I read limited (small - 15 - 500 mb files).
I need to be able to put all file bytes into one single bytearray.
So I have a function:
[Bindable]
public var ba:ByteArray = new ByteArray;
//.... code ....//
protected function fileOpenSelected(event:Event):void
{
currentFile = event.target...
Im trying to create a simple loop that creates 50 buttons, adds them to screen and then when a button is pressed, it traces out that number. I can get it to work by doing stuff I consider hacky (such as using the buttons X/Y location to determine its value), but I'd rather just be able to hold a single value in the function.
The code it...
I'm using a set of PNGs to run my cu3er slides. They keep the transparency, until the transition and then they're boxed with a white background. Is there a way to either keep it transparent or set the background color? http://205.186.139.193/ is the test site
Javascript:
<script type="text/javascript">
var flashvars = {};
flashva...
Is there an open source Flash uploader that can handle files larger than 2 GB? ASP.net implementations like SlickUpload are not an option, and SWFUpload (and others that I've seen) do not handle files larger than 2 GB. Nor is requiring the user to have Java installed to run applets. This would be for both IE and Firefox.
I've seen a cou...
I am building a Audio Recording tool using Flash and Wowza.
I dont want to start the recording until the use clicks the Allow Button is the Security Pop-up question represented here http://www.macromedia.com/support/documentation/en/flashplayer/help/help05.html
In Audio I dont get this until I attach the stream to it. In Video can get ...
I'm trying to find something that will let users upload multiple files to a website. The requirements are that it let them easily select multiple files (preferably with something like check boxes) and that it displays a preview of the images they select.
I'd prefer to only use Javascript or Flash if possible, but Java is also an option ...
Instead of populating the BitmapData class from an IMAGE. I would like to (within Actionscript) GENERATE some new BitmapData by capturing the Bitmap representing say, a TextArea component on the stage.
In other words, sort of take a "screen capture" or "screenshot" of one of the components, and convert that into an image. Am I silly t...
Hi all:
I've been trying to do as the client requested : redirect to campaign page then to destination page once a customer clicks on the top banner in swf format.
You can check what's been done at :http://ausdcf.org
If you are using Firefox, Chrome or Safari, I suspect you can reach the destination page.
However, if you are using IE...
I'm building a game in as3 that has balls moving and bouncing off the walls. When the user clicks an explosion appears and any ball that hits that explosion explodes too. Any ball that then hits that explosion explodes and so on.
My question is what would be the best class structure for the balls. I have a level system to control levels...
How to write such C# code in Actionscript?
Console.WriteLine(BitConverter.ToDouble(new byte[8]
{ 0x77, 0xBE, 0x9F, 0x1A, 0x2F, 0x0D, 0x4F, 0x40 }, 0));
...
My fellow friend is building site in flash and he uses xml files to access data in Flash.
I want to build editable cms so that client can edit stuff.
Now i don't' have any experience with XML.
I know php html mysql very well.
SO how can i change those already build xml files using mysql and php.
ANy help??
...