flash

flash/actionscript to display an image for x seconds

Is there any opensource flash/actionscript code to display an image for x number of seconds. ...

Drupal path to flash resources

Hi, I have the following javascript to embed a flash in my page.tpl.php <script type="text/javascript"> <!-- var flashvars = { xmlUrl: "xml/banner.xml" //Use to change XML filename or location ...

The problem with alpha channel MovieClip (Actionscript3)

Here is my code: var menu = new Menu (); menu.x = 0; menu.y = 0; addChild (menu); menu.alpha = 0; TweenLite.to (menu, 10, (alpha: 1)); This works, but transparency varies for each element MovieClip separately, but I would like that would have changed the whole MovieClip transparency as a single image. Menu(); is generated from XML. ...

Back/Forward buttons in Flex applications

Hi, I have a Flex application which uses the BrowserManager class for enabling deep linking within the application. The URLs work fine through all browsers but the back/forward buttons work only with Firefox and Internet Explorer. Even that is a bit flaky and sometimes doesn't work. The buttons don't work in Chrome/Safari or any other b...

Cross-compiling Flex/Flash to Javascript

Are there any options for compiling Flex/Flash projects into Javascript/JQuery? I seem to remember this feature possibly being part of Adobe's latest dev tools? ...

Books Regarding Flash Media Server development

What is the best book out there reagrding Flash Media Server development using flex 4/ Action script. There are many books or resources out there on Flex and action script but nothing specialized on Flash Media Server. ...

Loading data (HTML) from external domain into Flash Actionscript 3

I'm trying to load HTML/CSS from an external domain into a SWF using Actionscript 3. The data loads properly when I "test movie" out of Flash. However, when I upload the SWF to the website, it will no longer import the data. Here is an example of my code... import flash.events.MouseEvent; var req:URLRequest = new URLRequest("http://w...

How to access frame data in AxShockwaveFlash in C#

I'd like to know how to access frame data (frame buffer) in AxShockwaveFlash in C#. The code is like: AxShockwaveFlashObjects.AxShockwaveFlash axShockwaveFlash1; axShockwaveFlash1.Movie = "flash movie (.swf)"; axShockwaveFlash1.Loop = false; axShockwaveFlash1.Play(); Since it can be played, the frame da...

What's an awesome formatter for MXML/AS3?

I want a Flash Builder plugin that takes ugly unformatted mxml and makes it beautiful +1 if you would like something like this also. Edit: noticed that screenshot is barely legible. Larger version here: http://dl.dropbox.com/u/672147/mxmlFormatterDream.png ...

view response content of ajax,flash http requests

I'm interested if there is some tool (preferably a firefox addon) that allows you to record http requests and view their response header and content. ...

Pulling xml data in Flash with a button

I have been failing to do a thing with Flash actionscript2.0; Here is the problem- My xml file name is: sea.xml On my fla file, there is a button named: do; and a movieClip named: loader; What I am trying to do is- load xml only when the button is pressed. So I tried this- myXML:XML = new XML; do.onRelease = function(){ myXML.load("s...

Flash CS3 problem with outlines

Hi, im having problems with my artwork in flash. I am vectoring playing card faces. My problem is, even if Im using the thinnest stroke which is 0.1, when i zoom out the page, the line becomes thick which looks bad in the flash game. Can anyone tell me how i can make the stroke be the same in appearance even if I zoom out the page? ...

How to loop a sound without gaps in www site

I need this sound http://www.sound-effect.com/sounds1/noise/Static_Stereo.wav to play in background of my site all the time. Is it possible to do this without gaps? I understand that in most of the sites sound is annoying for users, but this site is exception. This sound is essential in this site. ...

Problem automating mouse and interacting with Flash apps

I written a C# tool that simulates a user interacting with a Windows 7 environment. It works except when interacting with a couple online flash applications. Mouse movements and clicks are being generated, but the Flash apps do not receive them. I am thinking I need to generate lower-level mouse events, but cannot confirm this. I hav...

Need some help completing a bumptop-ish selection tool.

Hi: I'm in the midst of creating a Bumptop styled selection tool. Right now I got as far as creating the tool itself (which actually works pretty good) and spreading some random square items on the stage. This is the class that creates the selection tool : package com.reyco1.medusa.selectiontool { import flash.display.Sprite; i...

Flash dispatchEvent fired twice

I have two frames with as3 code: // frame1: gotoAndPlay("show controls"); // frame2 - have movieclip with name slide0 // create menu items click listeners for (var i:int = 0; i < slides.items.length; i++) // slides.items.length = 1 this["menu_item"+i].addEventListener(MouseEvent.CLICK, menu_item_click); // click on the first menu...

Flash error 5001: name of package does not reflect location?

I'm getting an error on Flash that I've never run in to before. 5001: The name of package 'Document' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:\Work\2009-2010\Flash\Tests\Document.as The fla is called TestEvents1... and that's all the info I...

Accessing Flash functions through jQuery

I use the following jQuery code to access functions in my SWF (FP 10.1 SWF embedded via SWFObject): $('#FlashApp')[0].someFunc(); This works fine in every browser.. except for Internet Explorer (surprise!). Surely, the point of jQuery is to make this code work across all browsers? I'd really rather not write extra code to check for IE...

Web browsers interacting with desktop?

What languages/techniques are used for letting the web browser interact with the desktop, e.g. dragging files to the web browser, dragging files from web browser to desktop, and maybe more features that I'm not aware of. I think flash and silverlight allows you to do that but I'm not sure. Does javascript do this? ...

Add dynamic instances of MovieClips to an array.

I'm trying to add an instance of a MovieClip inside an array. Inside the House Class is a property called HouseObjects. Inside that array, I created a Comp and a Light class. MovieClips are dynamically placed on the stage, via linkage. The MovieClips also act as "toggle buttons." If the button state is ON, value is 1. If the button state...