flash

Flash - FileReference, Upload multiple files at once

Hi, I have a ASP.NET/C# web application with FLASH object integrated. I need to upload two image files to the server at once from one HTTP POST via file reference class in FLASH. Is it possible? If so, How to do it ? Thanks. ...

Best way to integrate R and Flash/Flex

I want to make a Flash or Flex front end for my R code, I want to call an R function from a website (using Flash) what is the best way to go about connecting Flash and R? ...

Get z depth from 4 vertices of a face

How can I z-order the faces of a 3d object just using the 4 vertices of each of its faces? I've tried using a z-buffer where I store the average z value of each face; this works great most of the times, but fails when an object have large and small faces. I'm building a small 3d-engine in flash, just for the fun of learning, so the only...

Version control for Adobe Flash projects

I'm working with a very complex Flash project which is part of a full range of services that we deploy for the use of our clients. For most of our software sources (Java, PHP, Javascript, HTML and a some supporting scripts in other languages) we use subversion for version control and management, so we do the same for our Flash projects, ...

When to make a form flash and stop flashing?

I am writing an IM program, and I have the method to make a form flash and stop flashing... question is, how do I implement it? When a message arrives, I can set the window flashing, but I need to make sure it doesn't have focus. Checking the focued method always seems to return false and so it flashes even when the form is open. Also,...

Can flash read child XML from the embed tag?

Say I have an flash object embedded in XHTML like so... <object width="600" height="400"> <param name="movie" value="somefilename.swf"> <param name="data" value="somefilename.xml"> <embed src="somefilename.swf" width="600" height="400"> </embed> </object> I know that there are methods to read, parse, and use the data in "somfilename.x...

Flash AS3: Getting this error: Access of undefined property - basic scope help needed :(

I'm still used to the AS2 style of all code on 1 frame, I'm trying to code AS3 in class files and I'm having a problem with a basic package setup. Scope issues are killing me with trying to learn AS3. Below is my package code, I don't have any other class files, just trying to return a simple trace. The error I'm getting after I run the...

SWFAddress and Thickbox (or JQuery?) Not Playing Nice in IE6/7

I have a simple little lightbox form, activated by a link in my footer, implemented by the jQuery Thickbox plug-in (v3.1). It works fine in Chrome, Firefox and IE8. But in IE6 and IE7, the lightbox works only intermittently. In most cases, a new window is opened instead. This is not cool. The thing is, if I remove the reference on that ...

getting relative path from flash.net.FileReference;

I'm trying to get the relative or full path from a FileReference object after its browsed but I think I'm bashing my head up against a wall (It's begining to hurt) anybody got a way of getting a file's path from the user. ...

Control embedded Imeem and Youtube players with Javascript

On Songza you can pause / resume a song by pressing Spacebar. How do they accomplish this? I guess these embedded players expose some kind of Javascript API? If they do, where is it documented? ...

Trying to use Loader class inside of package, getting Error 1046: Type was not found or was not a compile-time constant

This is driving me nuts, I can run this fine with code on the main timeline, but when I put this inside of my sub Class I'm getting the Compile time error and 1180: Call to a possibly undefined method. This is the line causing all my grief: public var splashLoader:Loader = new Loader(); What I don't get is, inside my main class I'm usi...

Output filename in Flash Builder

I am trying Flash Builder for the first time and I'm stuck in a simple task. How can I change the output filename? By default, Flash Builder gives the SWF the same name of the entry point class and I couldn't find anywhere to change it. Anybody? ...

AS 3 Tile Background

how do you make a tiled background in actionscript 3? Ive been entering codes i found around the internet, but it seems to be messing up my slideshow pro.... so i want to try some other views ...

Flash Action Script 3 variable scope not working

package a{ public class a{ public var a_var:String; public var x_var:String; public function a(){ var a_var = 'My name'; var x_var = 'X string' } public function show_a():String{ return a_var; } } public class b{ public function b(){ var a_obj:a = new a(); trace('trace' ...

Mannually connecting Flash Player (debug) to Flex/Flash Builder

Is it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger. ...

Flash + AS2 = Unload a movieclip itself when it is clicked

Hi there I have a movieclip which unloads two other movieclips when it is clicked. This bit works fine, but it should also remove itself after this, which particularly does not work. Here is my code, can someone please tell me what I am doing wrong: close_button.onRelease = function() { background.unloadMovie(); loading.unloadMovie()...

Can't concatenate parameter for AC_FL_RunContent Flash Call

I'm trying to load a flash file using 'AC_FL_RunContent' like below. But the file will only load if I hardcode the param into the 'src'. It doesn't work if I try to dynamically concatonate using a javascript variable as below.. I have tried.. .. Constructing the src path outside the call to AC_FL_RunContent, including trying the .Repla...

How can I add an instance of an UserControl to the "stage" in Silverlight?

Hi guys. I really searched for a long time to get the clue how to add an instance of a custom UserControl Object, that I created to the Silverlight "stage", but I didn't find anything. Is there anything in Silverlight with C# like "Stage.addChild(myAweseomeObject);" in Flash? ...

Client Side Persistence (Storage)

In my demos, I'd like to avoid using traditional DBs and store all the data on the client side, e.g. information submitted via a form. What alternatives do I have for that. I've heard about Gears but I don't have any practical experience. Can I also store binary information besides strings, e.g. an image? ...

Flash AS3: Unable to view loaded swf after loading it inside of package

Good morning friendly Flashers ;) So I've been trying since yesterday to just load a SWF file into my main movie. I've done this before just placing code inside a movieClip, but this time I'm working inside of Class files. I have my main class which calls a function inside of my sub class which contains the loader. My problem is that the...