flash

[FlowPlayer] Changing default "Play" image

Hello people, I am trying to change the default "Play" image in FlowPlayer which comes up when the player loads and is ready to play the clip. Any clues or resources? Any help will be highly appreciated. ...

mp3 playback stop echoing, as3

Hitting play more than once, causes an echo and I can't stop my mp3 player. What's the best practice for mp3 playback? var mySound:Sound = new Sound(); playButton.addEventListener (MouseEvent.CLICK, myPlayButtonHandler); var myChannel:SoundChannel = new SoundChannel(); function myPlayButtonHandle...

ScrollPane has type of "movieclip" in attached movieclip

var spw:MovieClip = contentsLayer.attachMovie("ScrollPaneWrapper", "ScrollPaneWrapper123", contentsLayer.getNextHighestDepth()); var sp_:ScrollPane = spw.sp; Here typeof(sp_) == "movieclip" and I can't set any content to it. I've tried exporting it for ActionScript, exporting the wrapper movieclip "ScrollPaneWrapper" and "E...

Why is Flash so hard on the CPU?

Recently I hear Steve Jobs citing this as a main reason to not have Flash on IPADS ...

Adobe Air upload progress without FileReference

I'm deploying a small application with Adobe Air. My application will do batch upload from filepath which stored in a text file. For example, in a text file name "list.txt", there is a string "C:\myfiles\IMG_0001.JPG". Now I want to upload this image file, keep tracking of upload progress :-< I want to use FileReference to get the upload...

Collecting high-volume video viewing data

I want to add tracking to our Flash-based media player so that we can provide analytics that show what sections of videos are being watched (at the moment, we just register a view when a video starts playing) For example, if a viewer watches the first 30 seconds of a video and then clicks away to something else, we want the data to refl...

Flash Builder vs Flexbuilder 3 for Actionscript only projects

Hi Right now Flexbuilder 3 is my editor of choice for all as3, xml ,js editing. I'm not 100% convinced that I need to upgrade to FlashBuilder. Also early betas seemed a bit sluggish compared to Flexbuilder3. Does anyone who has made the upgrade have any convincing reasons? Was it worth it? ...

Post microphone input from Flash to server

We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file. Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server? After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can ...

setting actionscript 3 superclass variables

In AS3, if I have a class such: public class dude { //default value for a dude protected var _strength:Number = 1; public function dude( ):void { super( ); //todo... calculate abilities of a dude based on his strength. } } and a subclass public class superDude extends dude { public function superDude( ):void { _strength ...

How to replace flash animations like this?

What is the technology used here? (don't worry, its not porn despite the url) http://www.dirtyphonebook.com/dashboard/425-205-1921 It animates a lot like Flash, but when I right click there's no Flash menu. Is it something like canvas or javascript? ...

looking for help with Flash sound to play on an iPad

I hope you might be willing to help me. Years ago, when I was designing a game site, it was recommended to me to do what you pretty much suggested in your answer to a question about Flash sound: put my sound effects as Flash elements. This works great on every platform except the iPad. Do you have any idea what I should do? I'd reall...

Auto resize in JW Player

Hello people, Is there any way we can make the JW Player auto resizable when it loads? Like, for instance, if the movie file is smaller in dimensions than the player,then there is black background it. I want the movie to spread all over the black color. Thanks in advance. ...

DisplayObjects as animation frames? AS3

How can I use displayObjects as animation frames? I have six symbols in my library I want to animate with a timer. The advantage would be the ability to change the speed of the animations, and the elimination of the messy timeline. The only drawback is the initial setup of the objects in the library. I've tried switch/case design patter...

SoundChannel, removeEventHandler, AS3

Is there a better way to use the sound channel is AS3? This works, but I hate it when I tap the play button twice and it starts doubling. Please advise. var mySound:Sound = new Sound(); playButton.addEventListener (MouseEvent.CLICK, myPlayButtonHandler); var myChannel:SoundChannel = new SoundChannel(); function myPlayButtonHand...

Importing a flash quiz into another movie

I am having trouble loading a quiz.swf into another another movie. To generate my quiz I goto File > New > Templates > Quiz > Quiz_style_1 and in the first frame of the example quiz I add stop(); // To prevent playback this._lockroot = true; // to preserve the heirarchy Then I publish the quiz as testquizex.swf, and I can test this...

Is there a good way to style an unordered list (loaded from XML) in Flash?

I'm loading the XML into a text field as htmlText. The StyleSheet class in Flash only supports a subset of CSS1–which debuted in 1996!–and doesn't support list-style-type or list-style-image. I'd specifically like to substitute an image instead of the default disc for an unordered list. If you've had success implementing a work-around,...

Concerns about reading a file in Flash 10

Hi, I'd like to read an xml file on a user's machine (which can be kind of large). There's no point in me sending the file to my server as I can do all the work I need on the file right on the client's machine. Not sure if this is a good fit though, was wondering if anyone can answer these questions before I dive in: I see at adobe's ...

How to secure access to SWF file using ASP.NET?

hi guys, We have a swf file that we want to secure and make available only to authorized users. I embedded the file in an aspx page and that works fine, since ASP.NET handles the aspx page, I can use ASP.NET authorization features and in the web.config restrict the access to roles="AllowedUsers" for example. However smart users could ...

How do I get the "Install Missing Plugin" yellow bar to appear in firefox when flash is not installed?

My rails website uses the open_flash_graph plugin to generate flash graphs for my clients. If a customer doesn't have flash installed, it doesn't display any messages, it simply doesn't show any graphs. I've noticed that if I go to other websites that need flash, I get a yellow bar at the top of my firefox window that offers to "Instal...

Flash Builder 4: Call main function from a component function

i try to make a login sistem in flex, and my app looks like this: i have a main.mxml. when the app loads, a function named "start" is called. it verifies if the user is logged in or not. if "true" the user is redirected to a dashboard, if "false", a component named login is loaded. my login.mxml component has 2 input boxes (user & pass...