flash

How do I set a flash object to open a url in a new window?

Hi Guys, I have this code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="300" height="250"> <param name="movie" value="Spotify_premium_300x250.swf" /> <param name="quality" value="high" /> <embed src="Spotify_pre...

Is there a better alternative to PureMVC for Flash projects?

I used PureMVC in a prior Flash (not Flex) project. After adjusting to its requirements, it worked well, but I'm left feeling that it was too over-engineered and cumbersome. I noticed that Mate had lots of positive reviews due to its clarity and simplicity, but it is only for Flex projects, not Flash. Would it be simpler/clearer to just...

How to prevent a GWT Flash/ActionScript component from reloading when visibility is toggled?

I have a Google Web Toolkit (GWT) application that utilizes a Flash/PaperVision3D component that I have created. The GWT app places instances of the Flash component on different tabs in a tab panel. During execution of the app, everything works great until the user starts clicking in between tabs. At the GWT level, the JavaScript is chan...

do not want to open a new window in flash

I have a home page in flash that links to pages in Dreamweaver. When online, I do not want a new window to open when directing to the url. (Now, I have an actionscript to go to URL, and a new window opens). Is there anyway to keep it the same? ...

Flash/AS3 passing a method into a method

I am trying to make a transitionmanager and I wish to pass a method into a method, because I would like to make a bunch of different seperate transition methods which I fetch as a public static function from a Transitions class. Example in TransitionController class: public function doTransition(mc:MovieClip, transition:Function = Tra...

How-to disable right mouse click for Adobe Flex WebApp

Say, I've an Adobe Flex 3.0 WebUI App. I'd like to limit the user only to those operations that I programmed myself. As such, I'd like to disable right mouse click. Is it at all possible? If so, how can this be done? Thanks in advance. ...

sIFR 3 rev 436 - copy link to clipboard

This was originally a question, but is now a code enhancement, since it's a very minor (but useful) update. When heading (or other) text is used as a link with sIFR 3, you now get the two 'open link / open link in new window' options in the right-click flash context menu for the link. When I came across sIFR for the first time yesterda...

Detecting flash test player

I've noticed that there are certain AIR options that don't work in the flash test player (the one that previews movies when you Ctrl + enter). One example is NativeApplication.startAtLogin. If it is called from the standalone player (double clicking on the swf file, for example) it works, but if i test it on the flash ide it will throw...

Flash app depends on Flex. Are there any SWF bytecode size optimizers?

Hello world application that uses Flex, compiled with optimize=true has size 178K. How to reduce application size? We do not like to use RSL, we don't like to avoid Flex. Largest part of resulting SWF is unused bytecode. Are there any tools to optimize bytecode — drop unused methods, classes, give methods shorter names and so on? I kn...

Flash, cant reach movie clip.

Hello, I am working on a flash step-by-step guide. and i have a problem. There are 3 layers, 1 is scripts 2 is invisible button 3 is a cover screen(mc) , inside cover screen. on its own timeline , it has an animation. , what im trying to do is ; when i roll over the invisible button , i want the cover screen timeline to play and sto...

Flex: Databinding watch

Given this MXML component: <mx:TextBox id="test" text="{test2.text.length &gt; 5}" /> How can I get an event dispatched whenever the value of test2.text.length > 5 changes? I've tried ChangeWatcher, BindUtils and PropertyChangeEvent, but no luck :( Thanks; [EDIT] Copying my comments from further down: Well... I'm actually using...

How does vector graphics performance in Java compare to Flash?

Answers should compare the best possible methods/libraries for drawing/animating the vector graphics on both platforms (particularly java, is there more than one way in flash?). What are those methods? ...

creating optimized swf from a swc

I've created a swc library. Opening this swc, I can extract the library.swf. Placing library.swf on my server and using it as an RSL, everything works fine. If I run optimizer against the library.swf, the resultant library-optimized.swf does not work as an RSL. I get Flex Error #1001: Digest mismatch with RSL ... Redeploy the match...

Image Maps with Flash/Flex & jQuery

Is there anyway to create an image map in Flash/Flex, and have it as a scriptable element in the DOM through jQuery? I currently have a standard HTML image map that, when a certain selection is clicked, checks a checkbox on a form on the same page (via javascript). I'd like to replace it with something more visually appealing, so I tho...

Can a client Flash (swf file) do the following?

Hi folks, I need to make a simple flash program (exported as a swf to be displayed in a webbrowser) that allows a user to manipulate an existing image but then SAVE this manipulated image to a webserver. Can the client side flash program generate the new image OR does it need to send back all the changes to the web server, which will ...

filling in (...rest) parameters with an array?

Some as3 functions handle overloading by allowing for an arbitrary number of parameters using the convention: public function doSomething( ... rest ):void; I am in a situation where I need to pass all the values of an array (of arbitrary length) into this type of function... I am not sure how to do this. Suggestions? Here is a hack...

Flex equivalent of Google Visualization Geomap (choropleth map) ?

The Google Visualization Geomap component is a choropleth map of continents, countries and regions, with colors and values assigned to specific regions. Although it is rendered with Flash, it can only be accessed and customized via JavaScript or GWT API. Does anyone know an alternative Flash/Flex component that I could easily embed into...

Looking for a Flash/JS-based SVG editor or editing framework

I'm looking for a framework or library to create SVG images. It should run in the browser, so it should be based on Flash or maybe JavaScript. Up to now I found the Flash library by inevo.pt, the SVG editing component of Dojox, and some little JavaScript tools. Is there anything else, preferrably stable and mature? Thanks a lot in adva...

color code passed to flash variable in Twitter badge

I'm trying to create a simple interface to automate the creation of a flash twitter badge for a WordPress theme. My question is this, on the twitter page which has a simple color customizer, the standard hex color codes are getting translated to something to be passed to the flash as a variable. Can anyone shed any light on what that c...

What web video formats can do this?

I'm at a loss here--trying to come up with the best way to embed a video in a web page such that it can start playback at a specific frame number programmatically (not a simple timeline bar like youtube). ...