flash-cs4

What is playing my SWF?

Working with ActionScript 3.0, is there a way to determine if my SWF file is been played in the standalone Flash Player or using a browser plugin? ...

Flash button that links to PDF

Hi Guys, I'm trying to create a button in Flash CS4 with Actionscript3 that links to a PDF file but when I publish the link just takes me to www.example.com I have other links that are working to external sites just this PDF button doesn't work, any ideas would most appreciated. Here is my code. var pdfURL:URLRequest = new URLRequest...

Do playing MovieClips cause a performance hit if visible property is false?

If I have a MovieClip with its "visible" property set to "false", would it aid performance to "stop()" its timeline? Or will that have no effect, since its not being rendered, anyway? ...

Publish Flash SWF as Linux Executables debian or rpm flavours ?

Hi , Adobe Flash CS4 has the option to publish the swf as windows executable . Is there an Option to publish swf as Linux executables ? Are there any work around where in which flash files has to be execute inside Linux with an embedded standalone flash player. Any help appreciated Thanks! ...

Screenflow based application in Adobe Flex/Flash

I'm searching for some code samples for my Flash application. The app is based on screen-flows , i.e each screen is defined with some visual elements with some buttons which have async events associated with them(consuming web services basically). The buttons also have functionality to go back and forth between screens and jump to any sc...

Adding a MovieClip from inside a class method

Hi to everyone, I have been trying to add a movieclip to my .fla file from a class. my main fla file: main.fla actionscript file: script.as they stay in the same directory. script.as file as follows: package { import flash.display.* public class MyClass extends MovieClip { public var target:MovieClip; public function MyCl...

Prevent FLV Buffering (AS FLVPlayback component)

Hi folks, I have a client who is insisting on having a 65Mb FLV on her home page. I talked her down off of the auto-play ledge but I am concerned about wasting bandwidth on a movie that one in 30 visitors might play. In looking at the docs for the FLVPlayback component here the only buffer related parameter I found was bufferTime Nu...

Insert a movie with original size and play it in full screen mode?

Hi, FlashGurus, I am having trouble to fulfill one of the goals my supervisor gave me. We now have a flash application written in AS2, and now they want it to be able to play the inserted movies(.flv) in full screen mode and be able to exit. I know there's a built-in flvplayback in AS3 that already supports this function, but not in AS2...

Capture webcam images always at max resolution !

Is there a way to know the max resolution of a webcam ? I need to capture images from webcam and send its on another notebook throught internet. So I want to capture images at max resolution indipendently from webcam automatically without setting the resolution every time ( if I have a webcam with 1.3 MPixel, I want to capture images at...

Flash webcam access request prompt unresponsive

Hi there, I have a parent swf called Main.swf that loads a child Registration.swf via a regular loader class then adds it to the stage. This child has a webcam function that captures an image but before that happens it prompts the user for permission to allow the webcam to be turned on. The problem I'm having is that in my IDE the prom...

Center aligning SWF in Flash breaks video prompt request

Hello, I'm using swfobject to inject my swf. My SWF basically initiates a webcam and prompts the user for access to the cam. Problem is whenever I center align the div that contains the swf object the Allow/Deny button seems to be unresponsive/not clickable. It's the oddest thing. Here is the site for you to view the coding: http://tin...

How can I avoid quality problems due to 3D in Flash CS4?

I am currently using Flash CS4 to make some sprites. The sprite is completely vector based and should therefore have good quality. However, once I apply some 3D properties to anything, it becomes very aliased. Is there some quality setting I'm missing? ...

Communication between flash files

How can I make something like this: http://www.litespell.com/altinorumcek/banner/etkilesimli/etkilesimli_craxla.html One flash triggers the other one. ...

How to control (start / stop encoding) Flash Media Encoder using ActionScript 3 ?

How to control (start / stop encoding) Flash Media Encoder 3.5 using ActionScript 3 (using Flash CS4) ? UPDATE: Flash Media Server 3.5 is also installed in same server. It includes an Apache server, which I think can run batch script, if CGI is installed. Is it a solution? Seems dangerous. ...

Flash crash (ends up in a restart loop) when loading an external swf

Im working with FlashDevelop and have two main projects, all pure AS3 projects. When trying to load my second project from my main project I get all kinds of errors. The Main class of the main project extends Sprite and the Main class in the "to-be-imported" project extends MovieClip. Looking at the loading of the swf in the debug wind...

flash map longitude and latitude to x,y

Hi, I am developing a map for my native itself. i mean i dnt need the whole world there but only my city. so i will enter the longitude and latitude of locations and the points should placed exactly on the location. i tried this methong and so many methonds. lat = (lat * -1) + 90; lon += 180; station...

Flash CS4 vs Flash CS5 Actionscript - Should I upgrade?

From the perspective of coding, what are the major improvements from Flash CS4 to Flash CS5? ...

How to make a MovieClip remove itself in AS3?

What is the equivalent to removeMovieClip() in AS3? Apparently many have the same question: StackOverflow: How to completely remove a movieclip in as3 Remove movie clip as3 How to remove childmovieclip and add to new parent movieclip Others: removeMovieClip(this) in AS3? Destroy/Delete a Movieclip??? Remove movie clip But non...

Flash directories

Is it possible to make code in actionscript-3 to parse the virtual directories that are constructed in the flash library? I mean that if i add a folder on the library of CS4 called 'graphics' can i write code that parse the elements of that folder in order to fill an array with folder's elements(which are BitmapData classes) ? ...

Actionscript guru puzzle

Can someone suggest a workaround to the following problem: I want to make an application that will create an area on stage that will be filled with images. Firstly, the images have to be 'saved' on an array. The problem for me is that I want this to be quite generic. I mean, according to a configuration file(?) or some constants(?), one...