flash

GetBytes Issue in Loading External Flash

I'm trying to debug a gallery section within a site of mine. Currently the section display a number of thumbnails which visitor select one to view. Once selected, the main flash loads in an external swf. To make the process smoother, I have a preloader for this process using normal getbytes codes. However for some reasons, the flash wo...

Executing a movieclip inside another which is in the main timeline

I am trying to create a movieclip that will be used in other projects. It is actually the 15-puzzle game. I have every thing working except how to execute the movieclip when someone wins the game. Checking for win works so I know when I need to play the clip, I just don't know how. Every thing needs to stay under the Puzzle movieclip....

What is the .NET c# equivilent of HTTP_RAW_POST_DATA?

Hi, I am trying to mimic the following PHP code in C# <?php if ( isset ( $GLOBALS["HTTP_RAW_POST_DATA"] )) { // get bytearray $im = $GLOBALS["HTTP_RAW_POST_DATA"]; // add headers for download dialog-box header('Content-Type: image/jpeg'); header("Content-Disposition: attachment; filename=".$_GET['name']); ech...

Realtime duplicate of MovieClip

I have a MovieClip containing an image. The image can be dragged around inside the MC. The MC has a mask, let say round, so not all of the image is visible all the time, depends on where you drag the image. What I need is a real-time duplicate of this MC as a smaller thumbnail. When I drag the image around in the MC, the duplicate thumb...

Flash player IE7 BitmapData send to server with amfphp

Does anybody experienced this kind of fault. So i have some kind of imageuploader. It fetches an image, grabs the bitmap data from it. convert that with a jpgencoder to a bytearray, send that bytearray to a server with amfphp and in php save that as a jpg on the server. So this works great in FF, Chrome, Safari, Opera ( Mac & Windows ...

Flex applications for iPhone

Is it possible to make applications for iPhone using Adobe Flex/AIR? Any tutorials, pointers? ...

Transform MovieClip in perpective with Matrix

[AS3] How can I transform a MovieClip to be in the exact same perspective as the image on this lunchbox? Is it possible using Matrix todo this or is there a better way? I would love it if you could answer with an example code. Update I have to target Flash 9. Update2 If it's possible using matrix, can you give me the number to get t...

Trying to Scrape YouTube Pages for ShockWave/Flash URLs

Over at SpokenWord.org we’re trying to figure out how to scrape YouTube pages (or pages with embedded YouTube players), then hack a video or ShockWave URL that we can include in the <enclosure> element of RSS feeds. We’ve been able to do this for programs in YouTube EDU such as this page, which we convert to this media-file URL. The latt...

How can I play a flashmovie which is in my references? (C#)

My program works, except I want to take a flash movie out of the references, not from an external location. The FlashObject.Movie requires a string location though, and I don't know how to do this. Any ideas? This should be possible I think. ...

Flash doesnt show up until mouse over on ie. How to fix that?

Hi, I developed something in flex. It works great on FF and Safari. But on IE the "swf area" remains blank until mouse moves over it. I am embedding it like that: <object height="100%" width="100%" id="myApp"> <param value="example.swf" name="movie"/> <param value="high" name="quality"/> <param value="opaque" name="wmode"/> <param value...

Using JavaScript / ActionScript to monitor browser windows from the same domain

My webpage loads a background flash which will connect to the server using socket. If a user open multiple windows/tabs of my website, the server will get multiple socket connections. Any idea of how to make sure that only one socket is connected from the same user and same browser? I am thinking of using Javascript to monitor the wind...

resizing event in flex

Hi community, I have the following problem. I use a custom component for painting a graph on a canvas, now when the windows is resized I want to determine the actual width and height of my canvas to resize the graph as well, therefore I used the resize event I can use in mxml. Now I detected in my method for resizing I only receive the ...

'chain' a series of functions together in actionscript 3

Hi All, I'm calling a function and adding a listener for when the function returns some data. when the data is returned i need to call another function and so on. Is there an easy way to 'chain' these functions together so that the first one fires - waits for the listener then fires the second one creating a listener for that and so on...

How to embed an XML loading .swf with a dynamic link

I could barely find a reasonable title that would explain my issue, let alone try and search for how to fix this. My issue : 1) User uploads a .zip with say: flash.swf images.xml image.jpgs 2) It gets extracted into a unique folder ID ex. /swfs/123456/ 3) Server tries to load the .swf in "index.php" and the .swf tries t...

Actionscript [Error #2036: Load Never Completed] with dynamic generated images

I'm working with an image caching system that generates different images based on a url route. The source images live outside the document root and cached versions are added to /cache in the webroot. Long story short, in Flash, if I point a Loader to the route, I get a "Load Never Completed" error the first time (if the cached image has ...

Sharing Code between Flash Apps and iPhone Apps

I am interested in writing games for the iPhone and the Web. Ideally, there would be one language that I could write my games in and it would work on both platforms. I know this is not the case, so what is the best way to leverage code between iPhone apps (Objective-C/C++) and Flash SWFs (ActionScript)? ...

Is it possible to secure swf files?

If we create an online SWF application, is there any way to secure it so that someone else doesn't download it and put it on their site? For instance, Webkinz is made with Flash, yet nobody is pirating it on their servers with the whole game unlocked. What is Webkinz doing that we can do? Thanks! ...

MovieClip duplication in FlashLite and AS2

Hopefully somebody can help me out here. I'm working within an embedded ActionScript2 and FlashLite 3.0 environment (outside of a browser). The application I'm developing makes repeated use of movieclip containers that contain external images that are loaded into those movieclips using loadMovie. Putting the images into the library an...

Why is my AS3 SimpleButton not showing?

I'm very new to flash. I'm trying to show a simple button for my simple flash app (with adobe flex builder 3). The main project file, Client2.as: package { import flash.display.Sprite; [SWF(width="600", height="600", frameRate="31", backgroundColor="#00FFFF")] //set project properties public class Client2 extends Sprite ...

How do I embed a flash SWF file and get around the IE security layer without using swfobject (to keep down file size)

I'm looking for a way to embed an SWF into a page and get around the Internet Explorer security issue (where it requires an extra click to "activate" the flash file). I've got my code working with swfobject, but I'm using this in an embedded widget context (eg a clickable banner ad) so I am really trying to keep my file size down, and ...