flash

How to get associated URLRequest from Event.COMPLETE fired by URLLoader

So let's say we want to load some XML - var xmlURL:String = 'content.xml'; var xmlURLRequest:URLRequest = new URLRequest(xmlURL); var xmlURLLoader:URLLoader = new URLLoader(xmlURLRequest); xmlURLLoader.addEventListener(Event.COMPLETE, function(e:Event):void{ trace('loaded',xmlURL); trace(XML(e.target.data)); }); If we need to know t...

Loading special characters in a string loaded via XML in AS3

Hi When I load an XML using ActionScript all the characters inside strings render fine except special characters like: ñ, Ñ, á, é, í, ó, ú In that cases the letter is omitted. I even try with: ñ or í But in that case show exactly ñ and í instead of ñ or í. ¿What can I do? Thanks. ...

What is the best way to detect file existence in Flash using as2?

I need to check for file existence in Flash on x number of videos. I've tried LoadVars and MovieClipLoader. LoadVars works but it actually loaded the entire video before reporting its done. Without a way of knowing that its started, I can't delete it before its done. I don't what to load the entire video, i just want to check that its th...

Flash: Loading multiple images and the expectation of their full load

Hi! I need to load multiple images from ZIP archive and do some actions after all files from ZIP archive have been loaded. I use FZip library to manipulate with ZIP files. My problem is that sometimes the loading of all files are not going. In this code I starting loading process: loadedImages = zip.getFileCount(); trace("Starting... "...

How can I load and play a cdg file (karaoke)

I am searching for a way to load and play karoke files "cdg" The loading part is easy the difficult part is interpreting the byte array that i get after loading the file... ...

Getting an image from a game model

So I'm not 100% sure if it's possible, but what I'd like to do is take a model that someone has created for a game, say in Blender or something similar, in various formats, and from that create an image to show on a website. Are there any Java libraries around that could help me with that? Java3D maybe? Or even something in Flash? Ideal...

Best way to make my Flash AS3 App into a Desktop App?

I have a Flash application that I made and I want to basically take it and make it into a desktop app using my Flash file... (assuming user has Flash installed on PC) What would be the best way of simply taking a Flash web app and making into a desktop one (that doesn't require any other runtime besides flash for the user). ...

as3 text formatting, Underline spacing?

So if I want to imitate a link in as3, when I set myFormat.underline = true; the underline is directly underneath my text. Is there any way I can set the spacing of that underland? Thanks. ...

How many separate flash movies can be rendered on one HTML page before performance is noticebly smaller

Hi there, I'm currently developing a portal application that will require a number of Adobe flex elements. Each portlet could potentially be it's own flash movie. What I would like to know is how many of these portlets can be rendered in a browser on an average system before the number flash player starts using up too much memory and pe...

Flash AS3 - Problems Getting Flash to Load Dynamically Generated XML Files

Hey All, I'm not quite sure how to describe the problem I'm having but I'll do my best. I have an image gallery built in AS3 that loads content via an XML file. Nothing mind blowing here... When testing locally on a static XML file, the gallery works as intended. The purpose of this gallery is to function within a CMS and load dynamica...

Google Adsense in Flash

Is there a way? I know its not possible to copy and paste the javascript code into Flash, because Flash won't do anything about it (or cause an error). But I do know the Google Adsense code generates an iFrame to show the ad. So I was thinking if I were to grab the iFrame source (the src attribute) and load that html page into Flash......

How to set alpha value of drawRoundRect object

Ok I know this practically sounds elementary, but I don't understand what I'm not doing correct here. I draw a simple rounded Rect backing1.graphics.beginFill(bgColor); backing1.graphics.lineStyle(borderSize, borderColor1); backing1.graphics.drawRoundRect(position1, position1, sizeW-1, sizeH-1, cornerRadius1); backing1.graphics.endFill...

Flash CS AS3 OOP Software Architecture

When you build a flash piece from scratch using flash, and it's mostly AS3 and you are using all external .as class files, how do you structure your software? what type of global variable structure do you use? does your top level class always look the same? what line of code do you use to program attaching the main sub display objects to...

How to display an image in Flash datagrid after selecting an image for uploading?

After browsing for the images, and selecting them. How can I display a preview of the image in the datagrid? I am able to display the file name, file size, but was unable to display the image. Below are the codes I have written, please note it is not a complete code but just enough to make it understandable. Thanks. // variables used va...

Flash: Transferring loaded object from one class to another.

Hi, I hope I can explain this properly. I'm using flashDevelop for an avatar creation engine. I have a movieclip(class) called body_view which is structures like this : body_view -> 10 visual body components -> each component needs to have a jpeg loaded Then there is a body_model class which is extended from the body_view class and i...

Papervision3D; How to setup a "Firstperson Camera View"

SCENARIO: i want setup the camera standing inside a Room (DAE-File) and is able to turn around by 360°. Now the setup of the right camera in PV3D is a bit tricky. Here is a shematic: http://i238.photobucket.com/albums/ff160/absyss/pv3d_roomview360.gif Important Attributes to figure out: List item Focus FOV Zoom Model Scaling Clippin...

Online Flash Video Combiner

Hi, I want to develop a online karaoke site where users can select a video and start recording their voice. Short flow chart will be like this. Select Karaoke Video(source video) -> New Page with Source Video and User's Webcam and Audio -> Click recording will start Source video and start recording user's audio while playing source vi...

Can Flash applications have a Javascript API?

How is the interaction between these two worlds in a browser? ...

is there non-blocking io in flash?

is there non-blocking io in flash? I need it for my live chat project. If not, please tell me what thing need if i make a live chat with the web cam in java. ...

cannot upload my swf in imageshack uploader . . . . pls help me . urgent

help me to get out of this prob i have shown below http://img251.imageshack.us/img251/2276/capturexl.jpg i am using windows 7 help soon thank u . . .!!! ...