flash

What is the best way to resize a BitmapData object?

Say I have a BitmapData of 600x600 and I want to scale it down to 100x100. ...

Checkbox label disable

I created a samble checkbox: <mx:CheckBox label="checkbox"/> Is there any way to disable checkbox state changing when clicking on it's label? Checkbox should change is's state only when i click [V] but do not change state when i click it's label ...

Wait function Action Script 2.0

Hi, I am creating a website that has an intro splash page that waits for 5 seconds before automatically sending the playhead to frame 17 if nobody has clicked the enter button doing the same thing. My code for this is here: function wait() { stop(); var myInterval = setInterval(function () { _level0.menu_number2 = 0; gotoA...

ActionScript 3 multiple instance, same name, question

Hello, I'm trying to create a grid where the users can 'draw' across it and change the colors of the grid squares to a chosen color. In this code, I'm creating the grid with squares. I've got the functionality 'working', but it's only working on the last square instanced. How do I get it to work on all the squares, not just the last on...

Using ColorMatrixFilter with HDividedBox in Flex

I want to use a ColorMatrixFilter with a HDividedBox element so that the left and right boxes make the chart black & white, but leave the center section in color. It seems like the filter would have to be on the AreaChart instead of the HDividedBox, but I was wondering if there is a way to setup the canvases to mask the content behind t...

Does anyone know anymore Shorthand Action Script 3?

I'm used to using the if else shorthand: var = (if statement) ? 'something' : 'something else'; Are there any other short hand methods available? ...

Content Managemnt System for Flash?

I'm looking to develop some CMS-able 100% Flash based websites. I have only worked with creating static based Flash websites in the past. What is the best way the approach this? ...

Css in Flex without compiling?

Hi community, I added an external stylesheet file (css) to my flex project. Is there a possibility that the css is not compiled with the swf? It would be great if I could put the swf on my webspace and afterwards only change a css file to customize my application and fit it to the colors of my homepage. Thanks in advance Sebastian ...

Flash Web Sites

i have a few questions about flash web sites. are their "pages" done using frames? is that the only way? for login/access control, is setting variables to indicate login secure? is there a way to use PHP Sessions like in regular PHP sites? or will it be the same as flash variables? ...

Regex flash url

Hi Im trying to develop a C# program to scrape the urls of flash movies on a website, this is the code im trying to parse flashvars="file=http://cache01-videos02.myspacecdn.com/24/vid_878ccd5444874681845df39eb3f00628.flv"/&gt; the closest I got using regex was this expression file=http://[^/]+/(.*)flv However it outputs with the fil...

Request data in a Flash movie from PHP, at run-time

Hi all, Is it possible to request some data in a Flash movie from PHP at run-time? Maybe my real-world implementation can clarify some things: I use a Flash movie to store a Local Shared Object (because for some reason I need LSO's instead or regular PHP cookies). Now, when I load up a PHP file I want to somehow retrieve the data fro...

Using FLASH with ASP.NET - YAY or NAY?

I know i can use AJAX and SILVERLIGHT with my ASP.NET web page. But what do you think about using flash with asp.net? Can this be done? How can this be done? Would you recommend me using flash at all with ASP.NET? I will NOT be using WEB SERVICES, just a plain ASP.NET website. Thanks in advanced! EDIT: What about performance issues??? ...

Create a Flash frontend for WordPress?

My buddy wants to create a WordPress blog, but because he's picky about the design (specifically the fonts), he wants to use Flash for the frontend -- display, content creation, user interface, etc. He's looking for a plug-in that will take the user input from the Flash interface and convert it into the appropriate PHP for WordPress. I...

Flex app with large number of UI objects == slow?

I'm building my first Flex custom component, in Flex 3. It is a data table based on the 'Grid' container class, with a simple text Label in each cell. (DataGrid and AdvancedDataGrid were not appropriate starting points for my needs.) The component works quite well using smallish tables, but I tried stress-testing it using a larger table,...

LocalConnection and iframes

I'm trying get LocalConnection to work between two swf's placed within two different IFRAMES. I've worked with LocalConnection often without too much trouble. But this time --i suspect because of the iframes--i can't get it to work. Anybody experience the same? ...

Access denied embedding swf object in IE

I am trying to currently embed a media player into certain web content and seem to be having strange problems in IE (all versions tested so far 6->8). Here is a page with the player embedded in it. You can view it in FF or a webkit browser and it should work fine. In IE the flash part of it fails to load without error. (It errors when y...

How do I get my guides to snap to pixels in Flash (CS3)?

So I'm trying to use guides on my flash stage to better align objects, but how do I get the guides to snap to pixels? Half the time they end up being 298.4 etc, when I want them nicely snapped on each pixel, so 298.0. I'm using Flash CS3, and I have all the snapping options turned on. I read somewhere that holding down shift will snap g...

activation system for flash

Hi all, BRIEF: I am interested in finding out if there has been or ever will be a system for processing and managing software activation in a flash app. DESCRIPTION: My company develops alot in flash and flex and can already manage user access for online applications. but if I were to distribute a flash *.exe or an AIR app; are there...

Gapless playback of sequential sounds in Flash

I'm making a flash, which is basically a very simple tracker. My question is about sequential playback and more specifically timing problems. The SoundChannel-object conveniently provides a SoundCompleted-event, but relying on that results in tiny gaps between sounds, which (sadly) makes it useless. All I've managed to dig up so far, a...

How to examine the contents of the Flash Player cache?

In my case I want to load the signed framework RSLs into the flash player cache. Seems to work, but how can I validate, that the swz is really being loaded into the flash player cache? On my Linux box I tried to find some kind of file in ~/.macromedia, but was not successful. ...