flash

online graphs of common tween / easing functions?

Is there an online cheat-sheet to graphs of common tween / easing functions? I want a bookmark I can refer to when picking a function for a tween (e.g., Quintic, Quadratic, "Bounce"). The only one I can do in my head easily is linear. ...

Inspiring web experiments and technical demos

Probably everyone knows about Chrome Experiments: http://www.chromeexperiments.com/ that contain some stunning examples of what JS is capable of. It would be nice to compile a collection of similar projects (usually just blog posts) that showcase some original JS/CSS/HTML/Flash or any other web-related ideas and solutions. ...

Rendering of graphics different depending on position

When drawing parallel vertical lines with a fixed distance between them (1.75 pixels) with a non-integer x-value-offset to both lines, the lines are drawn differently based on the offset. In the picture below are two pairs of very close together vertical lines. As you can see, they look very different. This is frustrating, especially ...

how to restrict textinput to accept all (including special characters) except numbers?

I have a text field (for names) wich must allow all characters, except latin numbers, is this possible? I can't think of a regex for this thanks ...

Use variables to set timer, as3

How can I use variables to set my timer? I want to control delay and repeat as variable. My output acts as if there is nothing set in the timer. Not working variables var timer:Timer = new Timer(delay,repeat); var delay:uint = 100; var repeat:uint = 60; Works Fine no variables var timer:Timer = new Timer(1000,60); Complete Unexpec...

looking for tutorials on Actionscript [OO] programming with FLASH CS3

I am searching for tutorials that explain not only the syntax of Actionscript, but also how i use Flash CS3 for creating my projects (how to create the project, add new as files (classes), etc.). Thanks for your help ...

jQuery plugins for HTML5 video playback?

I'm looking for a good jQuery plugin that allows HTML5 video playback, with graceful fallback to Flash (and potentially further, to default system player, etc). I've googled, but nothing I've found has been quite what I'm looking for. Any suggestions? ...

Flash gets XML but the values are wrong, as3

Flash receives the XML, but the values are wrong. How do I fix this? Problem I can see the XML loaded with no errors, but my output is way off. It's as though it's not receiving any values. Numbers in the output window and animation move rapidly. The Flash file runs as if it's variables where set to zero. I changed the order of my code,...

Can seekToNavCuePoint be used with flvs streamed via RTMP?

I have been able to create the actionscript required to use seekToNavCuePoint with a locally hosted flv with embedded cuepoints. Once I switch to having it on our RTMP server the cuepoints are not available it seems. Lots of googleing has me coming up short. This is using the FLVPlayback component and ActionScript 3. ...

Why does the textField not show up when I change the defaultTextFormat

I have an if/else statement which checks the length of my current title, and then is suppose to change the defaultTextFormat of the title textField and set the text. Currently the title will not show up now, no matter what character length the title is, any thoughts on what I could be doing wrong here? public function switchTitle(sentT...

Functions registered with ExternalInterface.addCallback not available in Javascript

I'm working on a Flash game that needs to call some Javascript on the page and get data back from it. Calling Javascript from Flash works. Calling the Flash functions from Javascript (often) doesn't. I'm using the Gaia framework. What happens: The swf is loaded in with SWFObject There's a button in the Flash file. On click, it uses ...

How do I know which Object I clicked?

Here's the deal: I'm working on a personal portfolio in AS3 and I've run into a problem which I can't seem to find a logical answer to. I want everything (well, most of it) to be editable with an XML file, including my menu. My menu is just a Sprite with some text on it and a Tweener-tween, no big deal. But, I forgot to think of a way ho...

how to load external xml using air application for flash programmer ?

hi, i have faced this problem couple of days ago, while trying to import an external xml file into an AIR application. import flash.net.URLRequest; var ldr:Loader = new Loader(); var url:String = "http://willperone.net/rss.php"; var urlReq:URLRequest = new URLRequest(url); ldr.load(urlReq); ldr.addEventListener(Event.COMPLETE , f...

Best way to implement audio conference in Flash/Flex

Hi! I would like to develop public audio conference (some sort of personal radio). Now I am looking for the best solution to do this. I think, that there will be one, two, three, maybe 5 people who has right to talk. Others can only hear them. And, the leading man can give this possibility to talk or deny it. I see some ways, all of th...

Broken flash movie player! allowFullScreen does not work with anything other than a wmode value of "window" (the default)

I have a flash player on a page which plays videos. I also have modal popups (made out of div elements) which need to be able to display over the top of the flash player when they are opened, etc... I can't change either of these requirements since they are part of the spec I have been given. Flash seems to ignore z-indexes I set on it ...

flash cs4: how can i change mouse cursor as if i'm on a button ?

Hiya. I have some MovieClips that act like buttons, how can i do that when the user hovers on the movieclip, the mouse cursor will change to a hand or the default cursor when it hovers a button. i don't want to create my own custom cursor, i want to use the default set of cursors that come with flash. thanks using flash cs4, action sc...

syncevt.changeList[cl].name sometimes is "clear" instead of "success"

I use shared object to drawing line. But sometimes syncevt.changeList[cl].name is "clear" insted of "success" and value of setproperty become undefined. Have any solution for this problem? ...

Something like AJAX in Flash?

How can we get data from the server in an asynchronous way in Flash? I am looking for something like XHR in actionscript. ...

Changing what song is being played in a player (Flash), after clicking other buttons on the page (help!)

I want to place a player (flash) in the top-right corner of a page and that player will change it songs based on what play button is clicked (they are in the center of the page). Do I have to use ActionScript in order to accomplish that? If I have to, how? I want something like hits: Each time the user clicks one of the 10 buttons th...

Is it possible to create (good) flash animations in flash builder?

I know that all the cool animations are created in Flash (the program) unfortunately, I am not very good with it. However I like flash builder, because you can use a markup language and because it is better optimized for large projects. Can you create animations that are as good in flash builder? ...