flash

Is there a lighter version of Google Analytics for Flash

40k of compiled code seems like a lot to me to be making some straightforward flash-javascript calls and makes GA unsuitable for banner ad work as well. Does anyone know if there is a 'lite' version of Google Analytics for Flash? ...

Flash CS4: Unresponsive error when using "Loader.contentPath" ??

I want to display http://www.flash-mx.com/images/image1.jpg image as a thumbnail box in my flash SWF file. TO do so I have taken a Loader control in my flash movie and named it as my_thumb and then writing the code as: _parent.my_thumb.contentPath = "http://www.flash-mx.com/images/image1.jpg"; But I am getting following error after a...

jquery ie6 issue swaping videos through hide/show while playing.

So my code is: Click the link show the div. I'm using the jquery flash embed object. $(document).ready( function() { $('a.overview').click( function() { $('#overview').show(); // show div.contact $('#evaulting').hide(); // hide div.contact $('#his').hide(); // hide div.contact }); }); $(do...

Fluid flash layouts

I'm trying to get my main class to resize to the browser window size. I'm listening on the stage to Event.RESIZE, updating my width/height to match the stageWidth/stageHeight, and drawing a rectangle to show me how big it is. When I resize, it flashes between a small and big size every other time the event fires. The width and height a...

Flash AS3: How to gradually limit rotation of an object influenced by y position of mouse

Hi, I have created a flash app in which there is a circle with circles plotted along it's circumference, it is rotated when the mouse is moved up or down. The rotation is drawn directly from the y position of the mouse pointer. What I would like to do is grade the movement some how so that the further down the mouse pointer goes the les...

Most useful ActionScript packages / libraries

What are some useful plug-ins, packages or source-code for ActionScript? Please include ActionScript version, name, link and description. ...

mxmlc (flex4 beta)command line on ubuntu hangs

Im using mxmlc to compile as3 on ubuntu linux. I've donwloaded flex4_b2_100509, just to use the most recent stuff... so Im typing 'mxmlc file.as' but it just hangs on me... it doesnt return anything. I checked running processes ('ps -e') and its showing both mxmlc and java as running, which tells me the compiler started... after a wh...

Dispatch an event from a class that inherits from EventDispatcher

I've got a class that extends EventDispatcher. What I want to do is to dispatch the click event when the component is clicked. (The class is essentially some text in a textfield that needs to be able to do certain things, and it needs to be able to respond to a click). Sounds easy enough... I want the event dispatched when that portion...

Play FLV in ActionScript 2

Hey, I am very new to Flash and Actionscript. I am trying to simply play an FLV file. I have the following: import flash.MovieClip; import flash.Video; import flash.NetConnection; import flash.NetStream; class Program { private var container_mc : MovieClip; private var video_mc : Video; public function new() { var mc : flash.M...

Why can't I access dynamic text within a CS4 compiled SWC?

I have a movieclip created in CS4. I export that into my Flex Project's /lib and then try to access the text. All the textfields have ids, embedded text, and show up in intellisense. But when i run the project, the textfield is blank. What is going on? Edit: It appears to only not work when the text is embedded. Non embedded text works ...

Javascript doesn't work in IE8

I am trying to create this html elements dynamically on the onload of my page,however;when I run it the code wont work on IE8 but okay in firefox,safari,and others. function getmovie() { var container = document.getElementById("container"); if (!container) return; var object = document.cr...

Is actionscript 3.0 strong enough to finally be my sole server-side language?

Actionscript 3.0 is much more powerful than its previous versions. Does this mean that I can start using it as my sole server-side language? can it connect to the database just like coldfusion or php? What is it that it can't do on the server-side? Thanks ...

Is actionscript a client-side or server-side language?

Someone just told me that Actionscript is a client-side language. I'm not sure how this is true if we save the .as files on the server? I also heard several times before people referring to it as a server-side language. Which is true (if you can, please clarify with a reference). Thanks. ...

Is the framework AMFPHP a bridge between flash and PHP? How?

Please explain about the connectivity of data using AMFPHP between the flash frontend and the mysql database? ...

Track a click on a flash movie (object / embed) with jQuery

I am making a dynamic banner system which can handle img banners, as well as flash banners done with object/embed. The entire site makes heavy use of jQuery, including handling the 'click' events. This obviously isn't a problem when it comes to tracking the clicks on the image itself (i track the click on the parent DIV tag. However, i...

Problem while capturing ALT key event in flex

Hi all, I need to enable alt-<key> selection semantics for some Buttons in my application. If I write KeyDownEventListener for the Button, its not getting triggered when I press ALT key in the keyboard. Is there any way to enable alt key semantics for the buttons? Thanks in advance ...

SWFUpload on HTTPS not working

I have trouble uploading files with SWFUpload when target servlet is listening on HTTPS. On HTTP it works fine. The issue is only when using FireFox or Opera. On IE it works fine - not tried other browsers. EDIT: Error message as provided from SWFUpload when in debug mode: *SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_...

Flex Datagrid - how to obtain item for mouse x/y coordinates?

Hey folks, my mission is to select an item in a DataGrid instance with nothing but the coordinates on screen. We are implementing right-click functionality in our Flash application, with the goal of being able to right-click a DG row, which would select that row plus show a popup window containing some context commands. I have managed...

problem embedding flash in webpage

Hello, I am not sure whats going wrong but when I am using a flash file in the web page when I am setting size style="width: 445px; height: 386px" white strips are embedding sideways automaticaaly,, while using the same page with size width="450" height="440" no white strips appear. It might be the problem associated with the asp...

How to create a web widget for my website users to insert on their blog ?

Hello, For my wishlist site, I would like to propose widgets to my users in order to publish their wishlist on their blog or personal website. The idea is to propose a few lines of code to my users that they only need to copy/paste to insert the widget displaying their wishlist. What is the best way to create/develop a widget ? I ha...