flash

facebook/flash security error

* Security Sandbox Violation * SecurityDomain 'http://apps.facebook.com/feline-frenzy/modelstest/' tried to access incompatible context 'http://b.static.ak.fbcdn.net/rsrc.php/z71HX/hash/4h1ls3l8.swf' Getting this error, notice that it does not say that a swf is trying to access the url but my url is. Inside my swf I have essentially rem...

Actionscript on change handlers

I have a text box (dynamic) whose value is being changed by javascript using the setVariable method. Bascially I'm now stuck in getting the flash application to recognise when the text box value has been changed, onKeyUp etc.. do not seem to work. The below code works if the user types in to the box, but if it is changed via JS it doe...

How to tell if a web page is being exited/unloaded via flash versus via normal HTML

Hi, I have a flash app, that redirects to another page. I'd love to trap any other window unload event (clicking links / submitting forms) and warn the user they'll lose their progress in the Flash app. However, I can't find any way to tell that the click/change of URL/window unload was triggered by Flash vs being triggered by a normal ...

Flash google map like http://online.wsj.com

I want to show flash google map as given on below link http://online.wsj.com/public/resources/documents/info-FDICBANKS111609_RETRO.html Can anyone please help me from where can I start? Is there any ready map available like that? ...

Flash - Mouse Event Handling (Make symbol transparent to mouse)

Hi, I have a flash that has a background symbol that responds to CLICK event. On top of that symbol I have a sprite that contains a Bitmap with transparent pixels. Both of them are added to the stage, so they are not related directly. I want clicks on the transparent pixels on the sprite to go straight through to the background. I hav...

Is there a way to detect Flash blockers?

I'm wondering wether there's a Javascript way to detect wether a user has any sort of flash blocking plugin installed so i can accommodate these users properly. For example, I use 'click to flash', but sites that use SiFR to render text are littered with "click to flash" buttons, which is getting very annoying. I don't use SiFR in my de...

Binary $_POSTed filedata gets messed up

Hi, I am currently testing out the new client side resizing of SWFupload ( http://demo.swfupload.org/v250beta2/resizedemo/index.php ) It resizes the image on the client via flash before it gets uploaded. However, it sends it as a normal POST request with the image data as a binary string / application/octet-stream. I am able to acces...

AS3: Add multiple buttons to stage with eventlistener?

Hi, I've got as far as adding multiple buttons to the stage with AS3 and giving them unique instance names, but now I have a problem. There is no limit on the amount of buttons that could be present, there could be one or one hundred so I can't hard code. How would I go about creating event listeners for each button? I tried pushing ea...

Why won't SWFUpload execute the upload.aspx code, and why is it saving all files to the root directory?

I am using SWFUpload v2.2. In IE (8):   If I upload a very tiny file (16kb):      1) The file appears in the root directory where upload.aspx is located.      2) Page_Load on upload.aspx.cs is executed.      3) The file is actually processed by the Page_Load procedure, and the processed file is saved in the correct location.   If ...

Using SWFUpload, why are my uploads not being proceesed by upload.aspx when using Firefox (they are processed correctly in IE)?

Using SWFUpload v2.2, Firefox 3, IE 8, Flash 10 In my ASP.NET application all uploads are being processed by upload.aspx (I have the correct upload_url set in the settings object). Can anyone tell me why (in Firefox) the uploads never hit the upload.aspx page? Most of the code for the page that the user visits to upload a file is show...

BlazeDS 3.2.0 and JBoss 5.1 DatabaseServerLoginModule

Has anyone that is using BlazeDS RemoteObject been able to retrieve the authenticated user roles through JBoss DatabaseLoginModule login policy? I'm using using BlazeDS 3.2.0 and JBoss 5.1. I can successfully authenticate but I, users with unauthorized roles are still able to login. I've changed the Realm in default/jbossweb.sar/server....

Flash CS4 refuses to let go

I have a flash project; it has many source files. I have a fairly heavily-used class, call it Jenine. I recently (and, perhaps, callously) relocated Jenine from one namespace to another. I thought we were ready - I thought it was time. The new Jenine was better in every way - she had lost some code bloat, she had decoupled herself from a...

Passing optional arguments (...rest) through to another method that takes optional arguments in AS3

Hi! I have a "format" method that works in a similar manner to the C# String.Format method, with the following signature: In a class named StringTools: /** * Formats a string, based on C# String.Format method. * @param raw A string with numbered tokens, such as "{0}, {1}" * @param rest Values that replace the numbered tokens in raw....

misunderstanding buttons and textfields

I am a little confused. I made a button symbol and I put a textbox called "butLabel". this button is encapsulated into another movieclip called MainMenu. cbegin is the instance name I gave the button. If I trace like this.... trace(menu.cbegin); It recognizes cbegin is a button. but if I trace it like this trace(menu.cbegin.butLabel...

How to tell what .swf generated an error?

I was viewing a page just now and got the error box popup telling me of a runtime error in a .swf The problem is, there are multiple .swfs on the page, and I do not know which one generated the error. Is there a way to tell? ...

How do I ignore a Flash component's ADDED_TO_STAGE event during authoring time?

I've built a UIComponent in AS3. When I drag it onto the stage during authoring time, the ADDED_TO_STAGE event fires. I have an event handler, but it's really only meant to perform actions at runtime, not when I'm dropping the component onto the stage to design the layout. Is there any way to check to see if the component is "running" ...

(curiosity) Why does youtube show the loading icon even when it has loaded enough video to start playing?

I mean youtube or any other streaming video site, but I've seen it on Youtube. There are times that the loaded bar shows that more than enough video stream has been loaded so the player could play it but it suddenly pauses and shows the loading icon? I'm just curious. But it is a programming related question, as it could help me to bette...

Why is it better to use classes in AS3

I don't like external as files. Most developers prefer this and claim it's better. Explain why is it better to use classes in ActionScript 3.0. My ActionScripts are different. I strip the classes away and paste it in the Flash IDE. 9 out of 10 times it works fine. My question is Socratic, but I really feel ignorant about this, since the...

Adobe Flash CS3 Profesional - missing DirectShow 9 and QuickTime 7

In Adobe Flash CS3 Profesional and when I start the Flash Video Encoder I get the following message: "A required system library did not initialize properly. Please ensure you have DirectShow 9 and QuickTime 7 or higher installed on your system." ...

PixelBender Bevel FX in Flash

I want to stay in the Flash IDE, but I can’t get this bevel effect on my 2D animation in Flash. I don’t know anyone that messes with PixelBender, but I think this effect is possible. Can PixelBender do bevels in Flash. Show me an example of code. I’m going to waste time in After Effects if this doesn’t work. If it only effects bitmaps, ...