flash

Flash video hiding the cursor on Mac OS X

I found a Core Graphics function, CGCursorIsVisible, that one can use to determine whether the mouse cursor is shown on screen. I have a small app that uses a timer to call that function a few times a second to see if the cursor is shown or hidden (as I found no way to get my app notified when the mouse cursor shown/hidden status change...

TypeError 1009, XML and AS3

My animation is advanced forward, but it's frozen. It throws a TypeError 1009. How do I get rid of this error and get it to play? download http://sandboxfun.weebly.com/ XML <?xml version="1.0" encoding="utf-8"?> <SESSION> <TIMER TITLE="speed">1000</TIMER> <COUNT TITLE="starting position">10000</COUNT> </SESSION> FLA //DynamicTex...

SWF transcoding, does it exist?

Hey all, I am looking for some type of SWF transcoder so I can convert SWF files to .avi's. Preferably something that we could hook into our Java architecture. Any suggestions? ...

TextField instance inside a button created in a separate layer in Flash is null in Flex

I've created an button object in flash. The button contains 2 layers. One is the background image and on top of it is a textField. The textfield is dynamic. I use the button inside a movieclip and I export it in a SWC. The I'm trying to use it in flex. I'm trying to do this: var myComponent:MyComponent = new MyComponent(); myComponent....

Flex integration problem

have 3 swf files. 1. a preloader 2. a screen-wide menu 3. a photo gallery (coding in as3) Each of these files individually is not very large in size. But all this together might be. My Question: Can I import all 3 files in flex and this happen: user click on the preloader, leads to the screen-wide menu. and depending on the button cli...

event flow in action script 3

I tried to dispatch a custom event from some component on the stage and I registered another component to listen to it but the other component doesn't get the event. Here is my code; what did I miss? public class Main extends MovieClip //main document class { var compSource:Game; var compMenu:Menu; public f...

Set scaleX property on a Sprite without altering the child inside

Is this possible? My site is set up with next and prev buttons on the right and left sides respectively, and as you roll over either of the hit areas around the buttons a Sprite fades in which contains a TextField that describes the next page. Said Sprite calls the StartDrag() method, so it follows the mouse within the bounds, which is...

Why does the "choose files" button not work in Wordpress 2.5 when trying to upload photos?

I've got Wordpress 2.5 installed on my website. It works well, but I can't get the photo uploader to work. When I'm writing a post, I click on the "Add media" button. In the "Choose File" tab, I see the "Choose files to upload" button. When I click on it, nothing happens. I searched the net and found nothing helpful. One page vaguely men...

Multiple flash instances or a single one?

Hello, I have a doubt: When you open various flash pages in tabs, for example in Firefox, all those pages share the same Flash instance or each one use an instance of flash?? Bye! ...

Flex - Is there a way to change the "Channel Disconnected" error message?

I have a Flash app with a PHP backend. Whenever there is a PHP error, I get the "Channel Disconnected before an acknowledgement was received" error message. I'm getting ready to push my project to beta and I would prefer if this message said something more like "There was a PHP error, please log a bug" or something instead of a message ...

Flash AS 2 Button

I recently made a website, and the buttons look like this: On(release) { gotoAndPlay ("title", 1); } My problem is, when you click the button the first time, it goes to the correct frame. but when you click it again, it goes to the next frame, or to the next scene. How do I remedy this? thanks! ...

How to determine code and assets size within a SWF?

Is there a way to take a compiled SWF file and figure out how much of it's size is used by code and how much is assets (images, etc)? I'd like to see if I can get my Flex SWF smaller but I'm unsure what's taking up the most space. ...

Screen capturing Flash

Hey everyone, Is there a way to play a SWF and screen capture it in a headless environment? Thanks! ...

How do I add statements to an anonymous function in ActionScript?

I've created a class that parses an XML document to create an Object. I can successfully create dynamic, anonymous functions that return objects like this: myObject[functionName]=function():Object { return {property1: value1, property2: value2, ...

AS3 serialization of Vector of custom objects

What is serialization support like for the new Vector class? I have a Vector.<GameMove> which I'd like to serialize into a ByteArray. GameMove is a custom class. I presume it's necesssary to call registerClassAlias() on GameMove, but do I also have to register Vector.<GameMove>? It's it it's own distinctive type, or is it kinda composed...

Flex Overwriting my .HTML wrapper

When I make changes to a Flex project and rerun the project, it seems that FlashBuilder4 rewrites my html wrapper that embeds the SWF. But I have additional javascript code in the html wrapper and don't want to keep losing my code. I had to re-write the code once and it was a pain in the neck. How do I stop it from re-writing the html. ...

How do we prevent the flash player from loading "large" files more than once.

How to avoid reloading of "large" movie files but keep them in cache. Keeping a movie in a cycle, where a large 50MB - 300MB movie file is displayed from time to time. Currently my program stores smaller movie files, but the large ones is reloaded every time. To find a solution on this is better than to degrade the movie to a worse fra...

fms port error after installed

I installed fms 3.5 and actually am running apache for php in 8080 and want to make this fms service in different port and made it as 8083 while installing, After installed when am starting fms using ./fmsmgr server fms start it shows error message and i checked in messages file it gives already that port is used by someone "Mar 2...

How to play MOV,M4V, M4A files using flex or flash?

Is it possible to play these files in Adobe Flex or flash? ...

Flash button not working in IE using wmode as transparent

I have a flash banner and css menu to use. I tried flash with wmode as transparent for flash banner which makes the css menu to come over the flash banner. but the button which is there in flash is not working in IE 7 and it's lower version. any solution for this??? ...