flash

Flash builder 4 tracing problem in debug mode.

Hey everybody I am trying to use trace() in flash builder 4 - but it doesn't work! I am running in "debug", also I added to the flex compiler options the "-debug=true" option. What am I doing wrong ??? Thanks! ...

Flash as3 smooth threshold

hello, I'm building a flash app that pulls images from flickr and removes the white background I'm dong this using threshold and i get a really ragged outcome is there any way to get a better and smoother color key? thanks photoNumber = Math.floor(Math.random() * (photos.length)); loader.load(new URLRequest(photos[photoNumber].path)...

How to add wmode="transparent" for every flash object & ebmed tag?

I have a page which displays dynamic flash content from issuu.com. I need to add wmode="transparent" because otherwise navigation menu shows under flash. Is there a short way to do this with jQuery or simple java-script? I don't want to change embed code every time a flash is added. ...

Prevent flash opening new windows

Is there anyway to prevent flash files (swf) that are embeded within a webpage from opening a browser window? Eg. prevent the links within a flash file from opening new windows. Possibly with javascript/jquery? ...

Problem with Flash...help

Hey Guys...need help. Working on a project and get this error on the Output Log TypeError: Error #1009: Cannot access a property or method of a null object reference. at FlashSite_fla::MainTimeline/frame16() Here's every frame that is on, begins, or crosses frame 16 Layer Name: Top Menu (4 Button named Home_btn, Works_bt...

Using code in both Actionscript3 and Javascript

Here's an interesting architectural query. I have a piece of code that needs to run on the server (under Node.js) and on the client (in a Flash 10 app written with Actionscript 3). The code is mostly fairly intricate object manipulation, it doesn't make any API calls, and works fine in both contexts. So far the project is just a demo, ...

Communication between Cocoa and SWF using WebKit

Hi y'all. I'm trying to implement a basic WebView containing a SWF file inside. The SWF file plays and apparently works fine. However I'd like to know if there's some way to retrieve an ActionScript variable from my Cocoa application. Thanks. ...

Does new iPhone developer agreement pretty much kill CS5's feature to export to iPhone app?

Will CS5's Packager for iPhone still be an option when CS5 comes out? Or, will any apps submitted to the App Store be denied because of the new restriction that the app has to be written in Objective-C, C, C++, and/or AppleScript(?)? ...

The standard map/associative-array structure to use in flash actionscript 3?

I'm relatively new to flash, and is confused about what I should use to store and retrieve key value pairs. After some googling I've found various map-like things to choose from: 1) Use a Object: var map:Object = new Object(); map["key"] = "value"; The problem is that it seems to lack some very basic features. For example to even get...

[Flash CS 4] - Batch export images from Library?

i have a flash .fla that was compiling as a .swc with references to images, but now I need to load all these images externally and I dont have the original assets. I know I can export them one by one, but I have a few hundred in the file, and want to find an easier way. Any help would be awesome. ...

How to get sound data from all sounds you play at the smae time? (actionscript flash)

So If I play one sound I use sound = new Sound(); ... sound.addEventListener( SampleDataEvent.SAMPLE_DATA, onSampleData); sound.play(); And so I'll get data, but If I have 20 sounds playing and I want to get data from the sound I here as a resalt of data mix of all that sounds... How to get it? ...

External SWF Loading problem

I have an SWF loading in an SWF containing a papervision scene. I've done it before yet problem is, I get an error - I'm not sure what the issue really is. private function downloadSWF(url:String):void { trace(url); var urlRequest:URLRequest = new URLRequest(url); var loader:Loader = new Loader(); loader.contentLoade...

How easy is it to write a Flash app and what tools are needed?

I have been wanting to learn to write a Flash app so that it can be embedded inside a webpage. But is it hard to write one, say, just to show a circle bouncing around the walls of the 4 sides of the Flash window (no gravity, but just like the dot in the game "Pong"), and what tools are needed (and are they free?). P.S. Then after that,...

flash.media.Sound.play takes long time to return

I'm trying to play some sounds in my flash project through action script. However for some reason in my code the call to Sound.play takes from 40ms to over 100ms in extreme cases, which is obviously more than enough to be very noticeable whenever a sound is played. This happens every time a sound is played, not just when that sound is fi...

Horizontal Scrolling Flash Game/Large Horizontal Scene

Hello, I'm currently learning Flash (CS4, AS3) and am creating a game. I have currently 1 flv file with 4 scenes, I then move from left to right and then to scene 2 and go from left to right. This is the game where items pop up that need to be clicked on and you get points. Is there any way I can combine these onto 1 scene? Flash only ...

Online webcam chat on web page. Free server and easy-to-implement client?

I have a client requesting that his users can use their webcams to talk to each other on his web site. From what I've understood the main thing to use for this is Flash. However as I have not written flash I would like to have something really easy to implement. Of course preferrably free (or trial). The idea of this is that everything ...

How does google swirl work?

I have seen this image swirl effect on a visual thesaurus. Is there any open source code for this? I don't care about the algorithm to match similar objects. I only am wondering about the effects. ...

How can pass parameters to a flash Movie in Delphi 2010?

I have imported the ShockWave flash Activex Control in my Delphi project. I can manipulate All the properties of a Flash movie file. But I need to define my own Parameters in the my own Flash file and Manipulate those parameters in the Delphi project. I know that passing parameters to a flash file is possible in the HTML script. But my p...

How do you hidden/show particular context menu item in flex?

var contextMenu:ContextMenu = new ContextMenu(); contextMenu.hideBuiltInItems(); var contactList : ContextMenuItem = new ContextMenuItem("Add to Existing List"); contactList.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doStaticListCommand); var newContactList : ContextMenuItem = new ContextMe...

How do I use Flare (data visualization) with only Flash CS3? I don't have Flex.

How do i use http://flare.prefuse.org/ with Flash CS3 in AS3. I don't intend to use Flex. Please tell me the simplest way to do that. I am just a novice in Flash Thanks! ...