flash

External SWF to External SWF Timeline Communication, Flash, AS2

Flash CS4, AS2 I have made an interactive tour. It can be seen here: http://www.92YTribeca.org/Tour click on the bottom image Each of the 4 sections are external swf and loaded on level 1. I want a button on one swf (floorplan) to load another swf (facility rentals) AND pinpoint a specific frame on the swf's timeline. I have tried m...

Linking to pages with Flash in a web framework

I'm using CodeIgniter but I think this can apply to any web framework. The "nav bar" and the site I'm making is Flash. Normally when you link to a page in CodeIgniter, you use the anchor() function, which you pass URL segments to, and it builds a hyperlink. But how can I link to pages within Flash? Hopefully there's a way other than cha...

Iam creating a poker game in Flash AS3, what are the best design patterns I can use?

Iam creating a Flash AS3 based Poker game for my company. Some like zynga poker, what are the best design patterns that I can use in my game. All suggestions are welcome, I am looking to create a good designed game which can support huge number of players. ...

Google analytics in Flash CS4

I'm trying to track the events on a site created using Flash CS4. I've tried using the method google is sketching on their page, though it is intended for CS3. The problem is that the component from gator flash does not show up in my component panel after following the instructions, so I can't get it onto my stage. Know why? Is there an...

Flash + Chrome = keyboard blocking?

In one of my flash projects i meet an strange bug. Flash Player in Google Chrome blocking some system keyboard shortcuts. For example such as Alt+Shift & Ctrl+Shift it`s an standart language layout switch bindings. For my project it`s a very big problem, because I need multilingual user input. Someone can help me with this problem? ...

Flash camera access without security question

Is it possible to access a machines web camera with Flash without needing the users permission? The project I plan on using Flash in will not be web based and run in a standard flash projector or in a swfStudio projector. ...

Good way to make a flash button animate when clicked.

This may be obvious but it's been ages since I used flash. I have an object drawn in flash lets say a clock. When the clock is clicked I want to animate the hands spinning round. So do I create the clock as a button and call the animation on the down state? Or is it better to create a movie clip and have it act like a button? Atm I'm us...

How to create an object form a string in actionscript 3.0 (as3)

How can I create a dynamic object from a string? Here is my current code with incorrect results: var s1:String = '{x:200, y:400}'; var o1:Object = Object(s1); trace(o1); // result = {x:200, y:400} trace(o1.x) // result = ReferenceError: Error #1069: Property x not found on String and there is no default value. trace(o1.y) // result = ...

text encoding issues

I have some xml that contains dodgy encoded characters e.g. ö how can i convert the xml into a valid format. a flash app is using the xml file but certain words haved dodgy characters in there. the flash app need to do various things with the text. im using c# to generate the xml ...

Where to get Flash/Flex coding examples, a timeline example in particular?

I'm in the process of learning Flex, but I learn best by example. Where can I find open source examples of Flex applets? In particular, I'm trying to reproduce the functionality of the JavaScript based Simile timeline, so a timeline example would be sweet. ...

Image Upload progress using URLLoader AS3

I am developing image uploader in Flash. I use FileReference.browse to browse image then resize this image to 1000 x 1000 px, if the image is very big and then upload to server. I want to show progressbar for the image upload progress. I am usinng URLLoader to send binary data of the resized images, but ProgressEvent on URLLoader doesn'...

Get drag event from flash object in javascript?

I'm trying to make a draggable instance of FlowPlayer using jQuery, but I can't get any mouse events to work over the Flash object. If wmode is 'opaque' or 'window' I only have mouse events working inside the flash object, whereas with wmode set to 'transparent' I get the mouse events in jQuery but not in the flash object...does anyone ...

How to use a string as an e4x expression?

Possible Duplicate: In Flash, how would I run an e4x statement when that statement is stored in a String? I know there is an existing question regarding this problem, but it got no replies. Ideally, I would like to stick an e4x expression in a string and run it. i.e. var tempXML:XML = someXML; var stringe4x:XML = "pictures.pi...

What's the fastest way to get the Constructor of an Object in AS3?

Which of these 3 is the fastest (least CPU cycles) on the AVM2 in ActionScript 3? Object(instance).constructor (instance as Object).constructor instance["constructor"] I would do some tests, but I have no idea how to accurately profile that kind of thing. ...

How to use else if { var in AS3 without returning 1083 error?

I have an if/else if/else if/else if/else statment in AS3. It's a calendar that reads in dates from an xml file. The if/else if/else statements controls the look of a date according to whether it has an event, and whether it's past/present or future. The MouseEvent is a tooltip which shows the Event information. The last section is e...

Jquery plugin uploadify not working on ie

Hi, I've setup jquery's uploadify plugin on my server, at this address: http://s284590825.onlinehome.us/example/ The problem is: The browse button is missing when I use IE8. On FF and Safari I can see the "browse" button. Any ideas? Thanks! xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx UPDATE: Having read the comments below, I just visited htt...

How do I build a flash/flex chart control frsom scratch ?

Hi, Im interested in creating a flash control for a graphing solution. I consider myself an absolute beginner in flash having done a few designs on flash and using scripts to run them ages ago. Im prepared to learn it all over again and get some cool flash charts done. Please tell me some resources, books and stuff that I could use to cr...

AS3 - Updating Vars

Hello, I have a var to get thumbnails width, and it's set at the beggining of my class code. var thumbW:Number; Then I update that var inside a function that updades with stage resize. function x(){ var thumbW:thumbnails.width; //tracing thumbW here returns the updated value. Perfect! } Then I try to get the thumbW valu...

Why is the auth_key parameter empty?

I've created a flex-based application and uploaded it to vkontakte. For some reason the auth-key parameter (at the flash vars) is empty, how come? Here is a link to the application. EDIT: Here is my application tag inside the site: <embed width="607" height="590" flashvars="api_id=1549899&amp;viewer_id=47745507& amp;viewer_type=2&amp...

Creating a Flash Content Slider

I'm trying to duplicate this is flash or perhaps the most practical language as I'm going to be posting previews of my own websites. The height and width of the actual box will be this size not that it has anything to do with which language to go with but. I've search google and high and low for a tutorial on how to create something li...