flash

Select a tab in a TabNavigator in a new state

Hello, in my case I click a button. it calls changeTabState() ; it changes the state and then needs to select a tab using selectedIndex. but that does not work properly. If i go back go the main state and click the button again, it works as it should. Help! What should I do 'register' the tab navigator component in my new state? Butto...

embedding a Movieclip with flashDevelop

I am trying to embed a movieClip with flashDevelop but apparently its not working because its not recognizing the movieclips that are within it. here is my code package com.objects{ import flash.display.MovieClip import flash.text.TextField; import flash.events.*; import flash.text.TextFormat; [Embed(source='../../...

How do these guys make Flash access the clipboard and file IO?

Adobe Flash has some interesting and, at times, frustrating security rules that prevent lots of things from happening, like writing files to disk. Swf Studio and Flash Jester allow Flash to "break out" of the security sandbox that prevents file IO operations. How are these programs written? Is this something that I can do in any of the ...

What's the difference between the Video object and the FLVPlayback component?

What is the differences in use of these two objects? Which one should be used for a "Youtube-like" video player with a custom skin and playlist? ...

Can't connect to server with AS3.0 XMLSocket

I have a server that I have written in Python and I'm trying to connect to it via Flash's XMLSocket. I know for sure that this server is working properly as I have used it successfully with multiple non-Flash client applications. For right now, I just want to connect to the remote server with an SWF residing on my local disk. From what I...

flashdevelop not compiling correctly

When I try to compile my application in flash develop. it wont compile. even if I put a simple trace in the Main class. Nothing happen. the sdk is in the correct place. ...

starting an Adobe AIR application multiple times

Adobe air runtime prevents more than one instance of an air application to be started at the same time. Is it safe to circumvent this restriction by arbitrarily changing the publisher ID? Does anyone know if Adobe plans to allow multiple concurrent instances in Air 2.0? ...

Save a file from server using flash

I have added a button in flash I want this button to save a mp3 file from the server when a user clicks on it inside a browser. One way to do this is: import flash.net.FileReference; import flash.utils.ByteArray; var fileReference:FileReference = new FileReference(); var data:ByteArray; // load up your data into this ByteArray fileR...

Can't control Youtube embed even with document.getElementById('xyz').playVideo() - not a function?

OK, I'm stuck and I don't know what's wrong even after following Google's docs and reading suggestions here on Stackoverflow. Why can't I control Youtube embeds in my web page? If I create an HTML file with the <body> being: <object id="o1" width="480" height="295"> <param name="movie" value="http://www.youtube.com/v/qCTLCNmnlK...

tomcat: loading swf into page

Hi. what's the recommended method to load an SWF file in my page ? just to use HttpServletResponse.getWriter and to print with it the SWF object, or is there a more efficient method ? ...

Accessible Flash Content for the blind

Hi All, I am working on a browser project for the blind in my university. For swf files, I am trying to access the contents of an SWF and parse so that screen readers can use it to read it aloud. I was successfully able to extract static text using swfutils.jar from inside the Flex SDK. But I was wondering if the following i spossibl...

Is actionscript2 not supported by flash9/10 anymore?

I'm new to this language. But I see lots of people prefer as3 to as2 ...

How to handle banner capping in video ads?

We all know that when serving normal ads (with document.write and all that) it's easy to setup cookies on the client's machine even if the ad server is on a remote domain (include a pixel 1x1 image when logging the ad impression and that will do the trick). My question is: how can i handle this capping process in a flash environment? My...

recommendation for gallery script

hi all, i'm looking for a good/lightweight gallery script. jquery, plain javascript or flash. any ideas? it should be possible to display thumbnails and click for bigger view, but also possibility to click through a series of images (previous/next button) thanks ...

PDF creation library in ActionScript 2.0.

Hi there I have this application authored in Flash CS4, and it uses ActionScript 2.0 due to the reason that I am not the original developer. I am just updating it for another client. The thing is, this application previously compiled a PDF using Director, and now the Director file is giving script errors. I have seen that there are PDF...

captchas, is there another way, how about flash ?

is there another way of securing your register page from robots, I'm thinking about doing my registration page as a flash (swf, my site requires flash for video streaming anyway), would that help, or not? what else can I do? ...

XML url link in Flash

Hi, I am new to XML and am having a small problem in Flash. I have a number of buttons. Each of these buttons need to open up a different URL which is in a xml file (I have added only one button for now (banstead), as I wasn´t sure how to add more). My XML: <?xml version="1.0" encoding="utf-8"?> <banstead targ="_self" href="http://www....

Easing and timer event AS3

My meter looks great and the needle rotates in a loop. How do I add easing to it? The meter is built from a timer event. I want the needle to bounce at the end. Rather than just adding a variable, I need some control of when it happens so I can adjust it with the animation. WORKING CODE "Thxs to member" var timer:Timer = new Timer...

Can I scrape flash?

I'd like to scrape a website to programmatically collect any external links within any flash elements on the page. I'd also like to collect any other text, if possible, but the links are the important part. Is this possible? A freeware library/service to accomplish this task would be preferable, but if none is, how can I accomplish the t...

Facebook - using FBJS to generate flash dynamically?

I have tried using the FBML to display the flash statically. it is simple. and I have used the FBJS to dynamically display normal content. So, how to use FBJS to create the tag for displaying Flash? I have tried setInnerXHTML but doesn't seems working. So, how to do that? ...