flash

Using SharedObject for client-side persistence?

Has anyone used Flash's SharedObject mechanism for client-side persistence? Are there big gatcha's? Size limits? ...

Flash duplication of an Object - Cloning library?

This is probably a very simple question, I just don't have the foggiest how to go about it. I have an Object that I want to duplicate, and don't know how to go about it. Here's my attempt: var myObj = new ObjectClass(); var duplicate = myObj; duplicate = null; myObj.function(); // Error: Null reference The ObjectClass is very large, ...

Beginner Actionscript reference

My eight years old son asks to "teach him programming in Flash". Can somebody refer on good Actionscript learning resource online? The Flash version we have is "Flash MX". Thank you in advance. ...

Flash preload fails in middle

Flash preload fails in middle how to find the failure and make re-request ...

Dynamic stageWidth and Height in Flash AS3

This seems like it would be a really easy thing to do, but its been giving me all kinds of headaches. I have a movieclip that is a gallery, It's linked to be called from AS when a button is clicked. When an image in the gallery is clicked, It fades in using the Tween class and is supposed to be centered in the main stage, but its cente...

Embedding Flash in 3D-rendering binary

I want to embed Flash (2D GUI) in my 3D game C++ application, and it must be portable. Rendering Flash is not enough, I need user action callbacks. I found Hikari for Ogre3D, but I guess the technique it's based on only works on Windows? (It uses OLE.) Further, from what I've heard (unverified) CryEngine uses Flash. Almost forgot the o...

YouTube api audio doesn't stop playing

OK I have built an application which uses the youtube API. It loads a video into the application when the user clicks a button. If the user clicks another button a new video is loaded in it's place. You can see it here: http://www.grantanderson.net/blogFiles/honours/youtube.html Everything works except the audio from the previous video ...

How to implement CrateAndBarrel.com alike shopping-cart ?

We are looking for approach to implement shopping-cart that keep shopping items at the bottom of the page, just like CrateAndBarrels http://www.crateandbarrel.com/family.aspx?c=837&f=28291 The visitor should be able to add shopping item to the cart by clicking the item's "+ Add to Cart" button. From my understanding, for CrateAndB...

tutorial on using flash or java servlet to upload microphone data from browser to server?

There was a question on how to get data from a microphone on a client to a server via an HTTP browser, and the answer was "use flash or maybe a java servlet applet". Fine, but how? Is there any sample code or tutorial out there? Can it be done with a vanilla server or do I need adobe media server? ...

Actionscript 3 timeline access not working

In frame 1 of a very simple flash file, I have the following code: stop(); this.addEventListener(MouseEvent.CLICK, function(e) { gotoAndStop(5); }); gotoAndStop(10); When I run the flash file, I expect that it would automatically step to frame 5 (ED. we think he means frame 10), but it does not. However, clicking anywhere does cause i...

How to access remote flash Shared Objects from php or java?

Are there any php (preferably) or java libraries that allow to retrieve remote flash shared objects? Something equal to: connection = new NetConnection(); connection.connect("rtmp://example.com/test"); var testdb_so = SharedObject.getRemote("testdb_so", connection.uri, true); ... Thanks. ...

a solution to placing multiple Flash slider galleries on a single web site…?

I'm looking for a solution to placing multiple Flash slider galleries on a single web site… do I have to re-code the XML file accordingly? It currently reads like this: <bg_colour>ffffff</bg_colour> <loader_colour>ab9677</loader_colour> <slide_speed>1</slide_speed> <slide_type>out</slide_type> <thumb_event>over</thumb_event> <thumb_...

Flash playing SWF, video is normal sound is sped up half way on 4th scene

when i play each individule scene as an SWF all the sounds are synced correctly, but it when i play the entire animation that half way through on scene 4 the sounds play too early and are also sped up about 2X regular speed. how can i fix this? ...

How to run SWF without a browser (on a linux server)?

I have a swf file that connects to a remote flash server and receives some data. For security reasons I can't make this swf file web accessible so I can't use browser to run it. Is there a way to run it on the server side from a command prompt (under linux)? ...

Why doesn't my upload from Flash to Rails & attachment_fu work (it has something to do with the content type)?

I am trying to upload a file from a flash widget to my rails application, which uses attachment_fu to handle uplaoded images. I am using flash to upload since it makes it easy to select and upload multiple files. However, I am getting this error when the rails controller tries to call save! on the newly created ActiveRecord object: Ac...

Do you know 1024 Overriding a function error on flex (flash )in action script 3?

In my project i used this below function public function createIconMenu():NativeMenu{ var iconMenu:NativeMenu = new NativeMenu(); iconMenu.addItem(new NativeMenuItem("", true));//Separator if(NativeApplication.supportsSystemTrayIcon){ iconMenu.addItem(showCommand); showCommand.addEventListener(Event.SELECT, onShowCommand)...

Addressing properties of a Shockwave Flash object (MultiPowUpload) in JavaScript

Please pardon the dumb newbie question; I've only been programming Javascript for about 24 hours... :) I have managed (with some outside help) to embed a shockwave flash object into my page - specifically MultiPowUpload 2.1. It's appearing nicely on the page and seems to be functioning correctly; we can take that part as read. Now I'm...

How does Flex/Flash free its memory ?

What is the best way to Free Memory in Flash ? Does it have a Garbage Collector ? How to invoke that GC ? How to make Objects applicable for Garbage Collection ? I have a Website which displays a lot of charts. I observe that the memory that the IE uses while we display these charts continues to increase and sometimes reaches around 500...

Detect When Flash Loads Remote Item

I have a flash player that loads in some additional features from flash files on other sites... for example, the main flash player on on site1, but it displays an animation that is actually housed on site2. How can I detect when (and where) the main flash player is going to for information? Can I trace the network traffic somehow to se...

Preventing google maps Markers to "fly" up when dragged

Heya I'm using the Google Maps Flash API and I have a bullseye Marker that the user should drag to the correct position, but whenever you drag something it flies up a bit and this stupid target cross appears below, which is what I would like to prevent, because it doesn't look nice and I'd even say it's confusing. The only idea I have ...