flash

page-flip.com - Making Flash Stage Smaller

I'm after a way to make the size of the flash file smaller in height. I can change the width but the height seems to be relative to the size of the window its in? http://www.bevelite.com.au/test I'm using page-flip.com ...

Trying to make a flash advert link to a website

I have three Flash adverts that need to act as a direct link to the advertiser's website. I can't get it to work! I am putting in the code, directly into the advert and the cursor will now come up over the advert, but it won't click. ...

Flex 3 ColorPicker changes movieclip in SWFLoader

How would I use a ColorPicker in Flex 3 to change the color of a movieclip which was dynamically loaded from an array into a SWFLoader? ...

Best practice for ActionScript 2 events - is there a way to simulate ActionScript 3-style events?

I love the AS3 event model - it helps keep my code clean and lossely coupled. When I used to work on AS2 projects, my code was not so neat and classes were more reliant on one another. Due to AS2's strange handling of scope I never really got on with the AS2 event system. As I still occasionally have to work in AS2, my question is: Ha...

how do I delete/gc an object in Actionscript 3?

I want to delete/force garbage collection on a class instance from inside itself. Obviously, this = null and delete this don't work. Is it any way I can do that, or am I barking up the wrong tree? I'm basically looking for a destructor of some sort.. I have a class instance that attempts to load an XML file, and if the file is not found...

bicubic sampling example using pixel bender?

I am new to pixel bender and wondering if anyone knows how bicubic [down]-sampling would be implemented using adobe's pixel bender? Here is an example of how Bilinear [down]-sampling can be implemented. ...

Adding many images to HBox causes display problems in Flex

In Flex, I'm using an HBox to hold thumbnails. When more thumbnails are added than can be shown, the HBox becomes scrollable. When I add more than, say, 80 images, when I scroll back to the first image, the images begin "tearing", until I hover my mouse over them. This is how it looks when few images are added: When many images are ...

Loading multiple embedded flash apps onto an HTML page- problem with ordering

We need to load an embedded version of a site written in Flash, and not originally designed to load multiple instances of itself, on a HTML page. The specific issue is how to get them to load in order when embedded, given that they are all being opened by the same instance of the flash player. It's a complicated mapping application, and...

Change the z index of flash content

Basically my problem is the site I am working on has a horizontal drop down menu and I am implementing a flash chart on the page. When you hover over the menu the items drop down behind the flash chart and are unclickable. Can I get around this somehow? ...

Flash and SharePoint

I have a flash control that I want to integrate with in SharePoint and would like to know what is the best way to read from a list so that I can display items in the flash control? Code examples/ideas are welcome. ...

Read TIFF file in AIR?

Is there any way to read a TIFF file under AIR? Looks like Flash doesn't have native support for TIFF format, any libraries out there? ...

Refresh SWC in FlexBuilder after publishing

I am using a SWC that was published from Flash CS3 in an Actionscript project in FlexBuider. The problem is that every time I make a change and re-publish the SWC the changes I made are not immediately recognized back in FlexBuilder. In order to have newly published SWC recognized I have to remove the reference to the SWC from the libra...

Dragging an object on a mask in Flash

I have a small task in Flash, that I'm having a little trouble with. First of all, I have 2 layers. The first is a gradient with various colors, on top of that is the second layer, which is a shape tween(movie clip). For those of you using CS4, a classic tween. I'm using CS3 and Actionscript 2 I've allready done the shape tween, it's v...

XSL and Flash XML breaks escaping

I have an XSL file I am loading in flash that includes the following snippet: <xsl:text>&#x2022;</xsl:text> I load it this way: _root.brochure_xsl = new XML(); _root.brochure_xsl.onLoad = function() { _root.SendPdfXml(); } _root.brochure_xsl.ignoreWhite = true; _root.brochure_xsl.load(_root.appSettings.XmlDataLocation +"xml/broc...

HTML layer over YouTube player

Anyone here have success with layering HTML content on top of the YouTube player embedded using swfobject (v1.5 or 2.0)? I'm able to layer HTML over flash in other areas of the site. Problem is specific to YouTube's player and IE6/7. I'm using absolute positioning and z-index on the HTML layer. I'm passing wmode=transparent in as a pa...

Debugging flash with gdb-mode in emacs

I'm trying to debug a swf using fdb, the flash debugger that comes with the flex SDK, on Linux. Debugging from a terminal works, but if I do it from within Emacs by doing M-x gdb fdb -f myswf.swf RET fdb seems to hang as soon as I issue any commands (e.g "help" or "c"). I get no output in the fdb buffer and the flash player hangs wait...

Server side Action Script 3.0

Is there any version of Action Script 3.0 for server side use? ...

What part of the actionscript goes in the scene and what part goes in the clip?

I just finished a small task for school in Flash and I'm wondering about about the reasons to put Some actionscript in the scene and other in the movie clip. Info: I'm using Flash CS3 and ActionScript 2. I uploaded the file here, for anyone who wants to take a look: http://www.mediafire.com/download.php?2z2mivtmokg Now, I did all the ...

What's the best way to debug an inner swf that's loaded from a non-debug outer swf?

I have a swf that I need to attach the flex builder debugger to. I have full access to the source code, and can make a debug build of this swf. However, this swf is being loaded by a non-debug build of another swf which I don't have source code to, and can't make a debug build with. Is this possible? I've tried mocking this up with t...

When styling sIFR 3, When should I use JavaScript/CSS/Flash?

I'm using sifr for the first time today. I have it up and running; however, I need some help. Rather than explain, I'll show you the code below: <div id="pullquote">“Fantastic property, facilities and location. We couldn’t have asked for more!” <em>Mr &amp; Mrs. Smith</em></div> So far, so good. I have then styled that in the s...