flash

Silverlight vs Flash

Which technology is the best? Anyone with experience in both? ...

Flex Spark List scroll to bottom when new data is added

I have a Spark List (spark.components.List) backed by an ArrayCollection for its dataProvider. The List has a vertical scrollbar when there's too many rows to display. What I want is when a new row is added to the List for it to scroll to the bottom to show that new row. I've tried calling List's ensureIndexIsVisible from a listener on ...

Flash Pro or Flash Builder to make graphical web widgets with sockets?

I've contacted Adobe sales and tech support, and realized that I need to talk to someone who actually develops with these tools. I want to develop some simple graphical widgets with the ability to reload themselves via an xml-socket a couple of times a second. Which Adobe tool should I buy-- Flash Builder, or Flash Pro? ...

AS3 - Keep getting a "Package is Unexpected" error in Flash CS5

I'm trying to use one of Adobe's examples to put a video player in my Flash application using ActionScript 3 in Flash CS5. It's the one at the bottom of the page here: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#buffering I'm putting the ActionScript into the frame I want to play the video i...

Drag-drop AS3: how to drag child mc out of parent mc and add to new parent mc

Here is a working script to drag drop a ball from the stage into another target mc: ball.addEventListener(MouseEvent.MOUSE_DOWN, pickUp); stage.addEventListener(MouseEvent.MOUSE_UP, dropIt); function pickUp(event:MouseEvent):void{ var ballPoint:Point = ball.parent.localToGlobal( new Point(ball.x, ball.y) ); ball.parent.r...

can't reference nested array

var orb_strip:Array = new Array(); var orb_strip_matrix:Array = new Array(orb_strip); public function OrbArray() //constructor. { for (var a:uint = 0; a < orb_strip_row_size; a++) { //one for loop create an array of movieClips and draws them on the stage in a row. for (var i:uint = 0; i < orb_strip_size; i ++) ...

How to export SWF as HTML5 Canvas on Flash Professional CS5 ?

Hey there, I have Flash CS5 on my computer but didn't find the way to export swf as HTML5 Canvas.. any help? ...

set flash mode camera.parameters android 1.5

Hi, I'm trying to use the camera in an Android app using the 1.5 API. I want the camera to flash for every picture. However, when I looked at the API for camera.parameters, the setFlashMode() method is only supported for 2.0 and higher. Yet my Cliq XT, which runs 1.5, has a flash that I can set in the menu - I take this to mean there is...

How to implement click and pause/resume in flash?

Most flash video tutorials have this kind of feature,1st click pauses the video,while 2nd click resumes it. How's that implemented in flash? ...

Consuming XML from a file/URL without a .xml extension in Flash

Does flash specifically prevent the consumption of XML from files/URLs without a .xml extension for some reason? I have verified the output of the URL is valid XML for my purposes but the Flash will not recognise it. ...

ActionScript - Installing Documentation For Your Own Classes?

Is it possible to write/install your own documentation for self-created classes along with Adobe's documentation in Adobe Help? ...

bold and italic tag xml problem in flash with character embedding

Hi I am uploading text in flash as2 from xml and i need to do some text in bold, italic, underline and anchor. text are visible fine and underline and anchor tags are working fine but bold and italic tags are not working if i select character embedding to all then bold and italic tags are not working. If i select do not embed option the...

Flash player artifacts on IE

Hi. The Flash player in this content slider gets artifacts on IE7, 8, and 9 Beta when the slider changes slides: http://bit.ly/9hhDY5 The text next to the video ends up going on top of the video in a jumbled way but clears up when you click the Play button. The slider looks fine on Firefox and Opera. I'm using Win7 64-bit Enterprise on ...

AS3 Refresh Stage

Hello, I have been using the evt.updateAfterEvent() whenever a mouse is clicked. Is it possible to call an update on the entire stage to remove any pixels which are no longer being used? Thanks ~ Kyle. ...

Object Recognition using Adobe Flash and Projector

Looking for some examples / off the shelf stuff that can help with a project I am doing that will allow me to develop something in Adobe Flash (or similar technology) that I can use with a camera to detect something and then react to it. So for example if I was projecting some water on a floor and then a person walked over it the camera ...

Flash Actionscript 3 SimpleButton doesn't have focusEnabled property?

This is driving me insane. I am working in Flash (not Flex) with Actionscript 3. I have an instance of the class SimpleButton. I have a TextField that I don't want to lose focus when the user clicks my SimpleButton. It is my understanding that both Actionscript 2 as well as the Flex class 'Button' both have a settable/gettable proper...

Flex video/audio chat for a site

Looking for a component which can be embedded inside my site (PHP, ASP.NET...whatever) and give a support for video chat. I'm not a flex developer and would like to use a component. There are some/many video chats available, like flashcoms, red5chat...but all of those are heavy(monolit) components. What I would like to have on my sit...

SWF to HTML5 or iPad compatible format

Hey, Is there any SWF to HTML5 converter or any format which can run on the ipad? not smokescreen... other alternatives.......? THANKS! ...

How vunerable to XSS attacks is Flash?

The reason why I ask is that I'm telling a vendor of ours they have to use the MS AntiXSS library with the ASP.NET UI components they make, but they also work with Flex to build Flash based UIs - and I was wondering if there's an equivalent for Flash (assuming it's vunerable). ...

Flex Application does not connect to server [while it connects after running on flex flash builder]

Hi, I've a flash application. It connects to my server when i build and run it from flex builder. I'm using crossdomain policy file (i've have that file correct, because if i do not use any policy file my application does not connect to server) I want to publish my application and export and publish it on my host. But my application d...