flash

Coldfusion returning typed objects / AMF remoting

Is the same possible in ColdFusion? Currently I am using .Net/Fluorine to return objects to the client. Whilst in testing I like to pass strings representing the select statement and the custom object I wish to have returned from my service. Fluorine has a class ASObject to which you can set the var 'typeName'; which works great. I am h...

AI car development for computer player.

i am using way point for the artificial car but i don't know the exact concept for that i want to make 3 AI car so how can i mange them parameter based like acceleration speed rotation on turn and collision b/w them pl z guide me. ...

list array menuList[i] getting i as access of undefined property

Continued from here: http://stackoverflow.com/questions/2906847/create-variable-from-array-actionscript-3 I'm usually not this rushed, but I have to have this project finished by tonight... so any help is appreciated. The poster there gave me the following code, which gets "access of undefined property i" on the second line. All the ite...

Actionscript 3: foreach drawing object in movieclip

Hey, I got a europe map designed in flash (1 movieclip, 1 frame, really simple), which contains the map as drawing objects directly inside the scene and in addition some specific countries as clickable buttons. So far it's working fine. What I need now is to make all the other drawing objects clickable without having to edit and script ...

Facebook Graph API - Image Uploading (as3/flash)

I have been trying to get a bit more familiar with the Graph API for facebook. Its very convenient although the documentation is poor at some places. Im having trouble uploading an image to an album. Anyone know how to do it ? This is the code im currently working on :) private function uploadNewPic(albumId:String):void { var...

Flash AS3 Mysterious Blinking MovieClip

This is the strangest problem I've faced in flash so far. I have no idea what's causing it. I can provide a .swf if someone wants to actually see it, but I'll describe it as best I can. I'm creating bullets for a tank object to shoot. The tank is a child of the document class. The way I am creating the bullet is: var bullet:Bullet ...

SeriesInterpolate - removing data at start of array

Hello all, I've been experimenting with Flex Charts (in Flash Builder 4) recently, but have run into one area which didn't quite work as I was expecting. Specifically, when adding and removing a data point from an array, with SeriesInterpolate set. I've put up three examples, as I expect these will make a lot more sense than me trying ...

Flex 3.5 Accordion and TabNavigator selectedIndex Bug

I'm using Flex 3.5 with Adobe Flex Builder 3. I have found that if you very rapidly click between multiple headers of an accordion component or the tabs of TabNavigator, these components will begin to exhibit odd, unexpected behavior. Once this behavior has been evoked, even trying to set the selectedIndex programmatically does not end...

fadein child when calling addChild

Everywhere I've looked has instructed me to download plugins and addons because they're "superior." I'm just looking for a simple fade in/fade out when a child is added/deleted (if fadein is all I can get, I'll take it.) Here is a function I'm calling... var trashbagFrame:MovieClip = new menu_trashbag_mc_frame(); trashbagFrame.x = 900;...

Can html5 video element play flash movies?

element is upcoming cross browser standart for playing videos, while most videos out there right now are in flash format. I am new to tag, so if it is possible a code sample of how to play flash movie with tag would be nice ...

How to encorporate encyption to FlexPaper

Is it possible to configure the FlexPaper reader to un-encrypt password-protected pdfs or swfs? Here is the use-case: User uploads a pdf My server would then convert the pdf to swf via pdf2swf Then somehow encrypt the swf with a password (not sure best way to do this) Then the FlexPaper would be able to un-encrypt the swf and display ...

Storing Instances of Classes in Flex Shared Objects

Is it possible to store instances of a class in a cookie or in shared objects. Basically in my application I have an object "Diagram" that the user can create. If they hit save, I want to store the current instance as a cookie and allows them to reload it later. Alternatively, I could see about getting them to store the saved version o...

Enable clipboard functions in swf generated by pdf2swf.

I am using pdf2swf (http://www.swftools.org/) to convert PDF's to .swf. I have written a flex application that loads the swf generated by pdf2swf. I want to enable select , copy and paste functions on the loaded swf. Is there a way to do this. Please note I am able to extract the text from the loaded swf using textSnapshot, which means ...

What is C# .Net analog for Flash/Flex flash.utils.ByteArray?

What is the C# .Net analog for Flash/Flex flash.utils.ByteArray? ...

How to translate such AS3 class into C#?

So I try to create opensource C# project for slicing FLVs I began with translating of existing project called flvslicer Can any one please help me with translating one of their classes package org.bytearray.video.events { import flash.events.Event; import flash.utils.ByteArray; public final class MergedEvent extends Event ...

How to embed SWF in Flex and get the timeline code in the embedded SWF?

Hi, my client want to have all resources embedded into the Main SWF which i create with Flex. The UI itself origins form a .FLA that must have timeline actionscript (AS3). After I embed the SWF there seems to be NO timeline AS in the embedded SWF. Is this possible to solve? I Embed like this: public var templ: TemplateBase; [Embed(s...

What is the best way to remove flickering from a fast series of image loads in Flash?

Hi, working on making a flash program that loads about 1000 jpegs and then plays them like a movie. Have all the buttons and stuff working but the time it takes for an image to load is so high that the movie can't be played at 30 fps. I've tried multiple ways of fixing this using 1 scrollpane and changing its source ever 30 ms. This ...

Web: Copy to clipboard (custom..)

Hey, I know the best and easiest way to copy text to a clipboard that is both cross browser and simple is to use Flash, which is fine with me! I have come across this awesome plugin called clippy but the problem is you have to embed the image or object onto the page. I wanted to have a link that when clicked would do the copying. Any i...

Calculating Text Width In ActionScript And Flex

I'm trying to calculate how WIDE to make my button, based on the text that it will contain, and when I try to google for how to calcuate something as simplistic as the WIDTH OF SOME TEXT, I go cross-eyed just trying to wade through apparently nonsensical esoteric counter-intuitive voodoo. Can anyone out there help simplify for me how I ...

Playing flash video with ASP.NET MVC

What's a good flash player to use on an ASP.NET MVC site? The page I'm working on will need to display a number of videos on each page dynamically based on what the user searched for. I'd like each of the videos to show up as thumbnails that can be played, paused, and or enlarged to full screen. I've worked with the standard ASP.NET an...