I'm new to the whole Action Script / Flash world...but trying to teach myself enough to get something done.
I'm sure the answer to this is simple...but I have a .as file with the following code in it:
package
{
import flash.external.ExternalInterface;
public class Sender
{
public function Sender()
{
...
I want to create a RSL with Flash Pro CS5 and then use it with another Flash file. I've created the following example:
RSLLib.fla
Create the file
Create a new MovieClip symbol called Circle, export it for ActionScript as Circle and tick "Export for runtime sharing" with the value "RSLLib.swf"
In publish settings tick "Export SWC"
Expo...
hi friends,
recently i am going through a project of badge-builder with action-script and flash.now i need some help for image uploading from the flash interface to the server and showing it back in the flash interface,
the back-end programing language is php and i am using action-scrip 3 and flash cs5
can anyone please give me a righ...
Hi there..
I am a total Flash newbie. I just installed Flash CS5 and ran this code.
import flash.display.BitmapData
import flash.geom.Matrix
import com.adobe.images.JPGEncoder;
import flash.net.FileReference;
import flash.utils.ByteArray;
//get the default camera
//change your Default camera using the Flash Player Settings.
cam=Camera...
Hey,
I've a XMLList like:
<parent>
<one>
<child id="1" />
<child id="2" />
</one>
<two>
<child id="3" />
<child id="4" />
</two>
</parent>
And I want to do something like this:
trace(_LIST._loc_1.child[0].@id);
Where the _loc_1 would be "one" or "two".
Is this possible with the getDe...
Hi there,
I am a total Flash newbie. I just installed Flash CS5 and wrote the following code:
import flash.display.BitmapData
import flash.geom.Matrix
import com.adobe.images.JPGEncoder;
import flash.net.FileReference;
import flash.utils.ByteArray;
//get the default camera
//change your Default camera using the Flash Player Settings....
I'm using NaturalDocs to generate code documentation for a Flash project that we're developing with Flash CS5 on a Mac running 10.6.4.
Currently, I have an automator script I can click to trigger the UNIX script and generate the documentation, but I'd rather have it automatically generate the documentation whenever I compile. (This is ...
Hi,
I am facing a wired problem with windows vista installer while installing Adobe Flash Professional CS5(trail version).
After clicking the 'set up' file immediately I'm getting an alert message like Installer has detected that a machine restart is pending. It is recommended that you quit the installer, restart and try again.. The s...
I have a strange problem regarding Flash error 1151: A conflict exists with definition i in namespace internal.
Here is the problematic code:
for(var i:Number=dt.getFullYear(); i >= dt.getFullYear()-90; i--)
{
dtYear.addItem( {label:i, data:i} );
} //for
//-*-*-* Month
for(var i:Number=0; i < months.length; i++)
{
dtMonth.addI...
We want to build an application that allows the user to record a video using their webcam on our site using flash and save the URL in a database using PHP. So that we can allow the user to send the video's to other users etc.
Also we want to offer the user the possibility to upload their movies (per mail and with PHP) and convert them t...
The windows are in a mess now, is there a button/menu that can reset the view so that it looks like what's it like originally?
...
I have a 3D field with many MovieClips in it, and seems like the one last added is the one that overlaps others and not the one with highest z value.
Is there any property/function that sets z-index? (sorting children by z value seems too much like a hack).
A 3D engine that can place MovieClips will be helpful(but not one that requires ...
Is it possible to build a UI with Flash CS5 that contains multiple buttons, and then have flex listen to those button events?
My current plan is to load the SWF with SWFLoader and attaching listeners to the buttons in a onComplete event would be the proper way to set it up, however i cannot seem to find a way to access the buttons thems...
Flash Professional CS5 has the option to create apps for iOS (i Phone). I don't see the same for Flash Catalyst or Flash Builder.
Is there any way to import Flash Catalyst or Flash Builder projects into Flash Professional?
Do I have any other options?
...
When using the code below for uploading files, is there a way to make the file filter exclude the files I want, and include every other file type? I looked through the adobe flash documentation but I could not find a way to do this.
var imageTypes:FileFilter = new FileFilter("Images", "*.jpg; *.jpeg; *.gif; *.png");
var textTypes:FileFi...
I have about 90 images which I need to embed into action script (version 3). The only way I could figure out is typing the following code 90 times for each image.
[Embed(source="images/door0091.bmp")]
private var Door1:Class;
var door1:Bitmap = new Door1();
It's really painful to write it so many times. I would like to know if...
Hi all... searched looooong and hard for this without luck:
I need to put a combobox in a column of a datagrid. The user just need to select a value from the existing combox items.
I know I need to use a custom cellrenderer. Please see my current attempt below.
This attempt successfully inserts a combobox into the datagrid, BUT without ...
Hi everyone,
I want to know, Is there any way to handle or control the shockwave objects in flash by using 'as3'? I know this is possible in 'Director' by using 'Lingo'. But I am not able to find any way or any articles from where i can get some idea about this. In the director, I've seen there is way to set some properties like camera ...
This seems impossible directly from flash, but if there are any other suggestions, I'd love to hear them
I want to compile an FLA that I want to use as resources for two slightly different application in two different folders.
something like this
library.FLA
-> bin1/lib.swf
AND
-> bin2/lib.swf
any ideas?
I could j...
I did not have any problems on CS4 but I encountered this error below when I used CS5.
Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.
I managed to solve the line of error after help from Rup, Fox and Stephen....