flash

FlexCover 0.81 throws ServicesDepdendency Error no matter what

I've used FlexCover quite a bit before so this is absolutely absurd to me. No matter what version of the flex sdk (3.0, 3.2, or 4) that I apply the appropriate patches too, I get the following error when trying to compile: mxmlc Test.as Error: flex/messaging/config/ServicesDependencies java.lang.NoClassDefFoundError: flex/messaging/co...

How do I adjust the overall alpha value of a Collada Model in Flash PaperVision3D?

Hi, I want to display a Collada model over top of a video stream and dynamically adjust its alpha value. Right now I have it partially working in PaperVision but I can't seem to set the alpha of the model at all. I have tried a few things from google. For non-Collada models the following works fine: var layer:ViewportLayer = viewpor...

Flash Custom Class Management

What's the best way to manage my custom classes without copying and pasting the folder they are contained in into the folder local to my project? Example, I'm using the Tweener class and I have to copy and past the whole caurina folder into the folder of every project I'm working on. How do I designate one area for all of my custom clas...

Can RIA flash apps on the IPhone store persist data until an internet connection is available?

Hi, I'm interested in building a thick client application for my existing web services that will run on the IPhone. Flash finally seems to be an option, so I thought about using Flex for client side development. However, since flash apps are not natively supported by the IPhone, but only through a wrapper, I was wondering if these ap...

String concatenation is extremly slow when input is large

Things like the code below is super slow: var str:String = "" for (var i:Number = 0 ; i<1000000000000000000 ; ++i) { str += "someLongLongLongLongLongLongLongLongLongString"; } There is StringBuilder in Java but seems there is no equivalent for AS. So, how do you guys handle large strings concatenation? Update: Thanks for every...

Flash trace,dump,print Array variables

is there a way to trace an ARRAY in FLASH. I want to have an output similar to PHPs command:print_r(myArray) for ex: (in flash): var event:Array = new Array(); event['name']='david'; trace(event); // that display anything while print_r(event) in PHP would display as string: Array { ['name'] => david, } I want to achieve same ki...

Flash storing strings as keys in array

in php I could do: $prices['ford']['mondeo']['2005'] = 4500; $prices['ford']['mondeo']['2006'] = 5500; $prices['ford']['mondeo']['2007'] = 7000; and could do: echo sizeof($prices['ford']); // output 1 echo sizeof($prices['ford']['mondeo']) //output 3 how can I achieve it in Flash. Flash doesn't seems to like STRINGS as ARRAY KEYS,...

What is the best tool to allow web users to create flowcharts/diagrams?

I'm creating a web application in which teachers need to be able to easily create educational diagrams, flowcharts, basically: boxes and circles with text in them text labels ability to upload and embed graphics easy to make lines with arrows, etc. lots of ready-made icons and clipart would be nice free and opensource would be nice B...

Flash Builder 4 BlazeDS Problem

Currently, I'm trying to develop a rich internet application using Flash Builder 4 Beta In Flash builder 4 BlazeDS can be connected directly using Data menu. However, I face this problem where the program keep asking me to uncomment RDS Servlet, which I have already done so. Does anyone have similar problem? Thanks in advance ...

jQuery UI Dialog and Flash in IE

I've been trying to get Zero Clipboard and jQuery UI Dialog to play nice together, and it's proving to be rather difficult. Zero Clipboard allows copying to clipboard from Javascript by placing a transparent Flash movie over a button, so that the user clicks on the Flash when he tried to click the button. This works nicely and cross-bro...

Exporting FLA to FLV

Can I export the contents of FLA to FLV using Flash CS 3? I have a project where the client wants a generic media container so they can possibly load user supplied content. The content could be slideshows, or video etc. A possible solution is to restrict the media to only FLV. So that I don't have to deal with the situation where a swf...

Detecting browser closure from flex application

Hi, I need to detect browser/tab closure from within a flex application in order to delete the session information in the server. I'm familiar with JavaScript events but I was wandering if there is an event in flex for application unload or something of that sort ... ...

FLV Actionscript playback from non-HTTP source

I'm almost a total noob to Actionscript and FLV, but have been reading up on the documentation. I'm under the impression that NetStream reads the data from the server, caches it locally, and then plays it while continuing to append to the local file as it reads more data from the network. Is that correct? If so, is it possible to downl...

Microphone detection Actionscript 3

Hi guys, I'm having a few problems detecting whether a microphone is detected or not. I'm running the function Microphone.getMicrophone() and that should return null if there is no microphone attached, or if the user has clicked Deny on the security panel, right? The problem I'm facing is, on some computers where there is no microphone ...

How to get dimensions of only DisplayObjectContainer's *visible* contents?

A DisplayObjectContainer's dimensions change based on its contents. That can be a LOT of contents, many of them with visible = false or masked, thus making them hidden. Is there a way to get only the visible contents of a DisplayObjectContainer similar to a TextField has the textHeight property, which gives you the exact dimension of wh...

Integrating Flash with ASP.NET web applications

With flash media server 3.5, I was wonder what my options would be for implementing flash inside my asp.net applications? I've seen some 3rd party asp.net flash controls and flash sells a product called something like 'flash remoting'. Are there any other options? Thanks ...

Flash AS3: Tween MC to MC on Frame to Frame

I am trying to build a four frame animation in Flash CS3. The background images (each being set to MovieClips) change on each frame, and I want to put a fade out/in transition on each of the MC's. I can't seem to get this working properly though. Here is the code I have: if (currentFrame == 1) { var alphaTweenOut1:Tween = new Tween ...

Haxe - Flash project compiles fine, but won't compile using hxcpp

In summary, I think my question is this: How can I force hxcpp to compile haxe code for Flash 8 ? Here's where I'm at. I'm new to haxe, and am trying to get a sample from here: http://tilestudio.sourceforge.net/flash/Demo.html to compile using hxcpp, in my tests to see how haxe compiled apps work on the iphone. I've gotten other sam...

Flash CS3 IDE converting "Use Device Fonts" to "Anti-alias for animation"

Occassionally, when I'm working on an application in the Flash CS3 IDE, that uses very small fonts, I find that I get better results if I use device fonts rather than anti-aliased fonts. However, I notice that SOMETIMES, if a save an FLA that uses "Static" Text fields with the "Use Device Font" setting, the next time I open Flash to edi...

How do I load and external swf AND gotoAndPlay() with ONE button

I've made an interactive tour. Which can be seen here: http://www.92YTribeca.org/Tour The main swf is the nav at the top. And I load 4 external swfs into the main (About, Rentals, Floorplan, Neighborhood). I need a button in Floorplan.swf to load Rental.swf AND gotoAndStop("CAFE") - a frame within Rental.swf. This is the code that I ...