flash

flash menu link..

hi to all. i am working on flash menu. in this menu i make a 4 tabs.. in each tabs i have 2 text.. in this text i have to give a link on google.com. and i also have to add a underline when my mouse over the text. then how to do this.. ...

flash .swf file run in java swing

how to load flash swf inside jlabel of swing in java. ...

Appending logs to flashlog.txt?

Hi, I have few questions regarding flex logging... i. how do i append logs in existing flashlog.txt??? ii.can we append timestamp to name of flashlog.txt??eg.flashlog_2/25/2010_14:07:32.974.txt Can anyone help me? ...

where can I find a really good tutorial to create 3d carousel in flash MX?

where can I find a really good tutorial to create 3d carousel in flash MX? has anyone implemented this in flash MX? Thanks ...

loading swf from AmazonS3 - crossdomain policy

Hi, Looking for a little help if anyone has any experience with this. I have a flash app sitting in domainA which needs to load a swf which comes from an Amazon S3 bucket. On load I get the following error. "Error #2044: Unhandled securityError:. text=" I have put a crossdomain file in the bucket and presumed that would do the trick. A...

Problem with caret return character added to string taken from Adobe Flash input text field

I have encountered strange problem. I have created simple Flash text field control and I wanted to compare its content with some other string. This comparison in triggered when user is pressing the button. In Action Script 2.0 code I noticed that a caret return character (\r) was added at the end of the string coming from the input text...

Saving a picture from a browser canvas.

Hello I'm currently developing a website in ASP .NET MVC and I require functionality for a user to be able to draw a picture on a canvas which can be saved in a database. What is the best method for doing this? preferably a very lightweight solution. I was thinking flash would be the most accessible platform and there may be some good f...

How do I create a global OnClick event in Flash AS2?

I have a Flash AS2 application that is made up of many SWF files. I need to create an OnClick event in a container SWF that will work for every SWF called. I am trying to avoid adding code to every SWF (over 100). Currently I can get access to the click in the container for the first SWF but when the second SWF is called it seems to ove...

flash movie stops after a while?

im a newbie to flash,and i hav got this really weird problem.i have created a movie that has got 15 scenes,it stops working on the 15th scene.is there any reason why this is happening? has anyone come across a similar problem? i know this might be the lamest question some one has ever asked about flash on this site? if i hav done some...

CFChart not displaying all chart data items

I am having an issue with ColdFusion's CFChart tag. I have a couple graphs that do not display properly. For a horizontal bar chart, when attempting to display 50 or more chart data items, the graph's bar labels stop plotting, but keeps plotting the bars themselves once it gets to bar number 50. I noticed making the chart height larger m...

how to work a flash file that has over 16,000 frames?

im planning to create a movie file that might have over 16,000 frames?i know this sounds silly but,i have already created 14 scenes which is just over 15,500.i have created the 15th scene but it stopped playing because i know maximum number of frame we can have is 16,000. is there any way around this problem? its a huge presentation im d...

Testing movie with Flash IDE fails to load file from localhost

Hi, I'm just wondering if anybody can help me with my simple but frustrating problem. I have created an SWF that loads an XML file from http://localhost/flash/Projects/MEL/Quiz/Quiz/bin/xml/quiz.xml, but I get this error when running the movie using Test Movie in the Flash IDE. Error #2044: Unhandled ioError:. text=Error #2032: Stream ...

Flash AS2 - Handle Missing Sound Card

In my AS2 Flash game, I play a number of sound files and wait for the "onSoundComplete" message/function before proceeding. The problem is if there is no sound card in the system (or it is disabled in device manager) - everything acts like it is working (no errors, onLoad handler gets "true") - but the sound never actually gets played...

finish argument “starter code” AS3

How do I finish arguments to control an external swf? A sketchy “starter code” example of how to write this would be helpful. problem I can’t follow the string arguments and “drilling-in-to” external documents. I'm playing catch up. loader.swf import flash.net.*; import flash.display.Loader; import flash.events.*; import flash.sy...

Calling function in other Class not working

Hey everyone, not sure what is going on here :( Basically I have a function that is needs to tell 2 other classes to do something. It works for one of the classes: BigPlayButton, but not Background for some reason. TabMenu.as Class function Note: The function below WILL call the hitPlayCircle function in my BigPlayButton class, but I ...

How does Flash preload a partially received SWF?

Flash has built-in functionality that displays a preloader of the file being downloaded while that file being downloaded. So, myfile.swf can specify what should be displayed while myfile.swf downloads. Pretty awesome idea. There's three ways I can think of implementing this: The preloader is contained within the first x bytes of the sw...

Copy to Bitmap loaded in sprite from Loader

Hi, i am trying to do the following: I want to load an external image (dest) and display it on the stage, and i want to load another image (src) which will not be visible. When i hold the left mouse button on the image that appears on the stage, then a function that start copies the src image to the dest will be invoked. Actually i want ...

How to get an FLV to play inside a SWF that is embedded in another SWF?

Yes, it is a strange situation but we have a SWF (with FLA source) that is embedded inside another SWF (no source) by an auto process. The first SWF has a link to a FLV video file. When the SWF with the FLV is embedded it plays but does not show the FLV - just the blinking FLV mime type icon. The problem is that we can embed the FLV bu...

Is it possible to tell the Flash Player to use AVM1 instead of AVM2?

It's my understanding that the Adobe Flash Player has two ActionScript Virtual machines. AVM1 and AVM2. It is supposed to detect whether a swf contains ActionScript 1/2 or ActionScript 3 and automatically select the proper virtual machine. The latest releases of the Flash Player 10.0.40+.x are breaking our oldest content. We speculat...

Flash AS3 extract numbers from String (regexp?)

I am sending a var to Flash: // incoming var pageColor:String = "rgb(81, 89, 112)"; I have this function to covert the RGB values to a HEX function rgb2hex(r:Number, g:Number, b:Number) { return '0x'+(r << 16 | g << 8 | b).toString(16).toUpperCase(); } // trace(rgb2hex(81, 89, 112)); Now I am looking for the best way to extract...