ActionScript 2.0 :: Flash Has A RandomSeed Equivalent?
Mar 20, 2006
Having worked in Director using Lingo, I am wondering if Flash has a RandomSeed equivalent in ActionScript? For those of you not familiar with RandomSeed, it is the number that allows the computer to come up with 'random' numbers. By setting this number you can then get predictable results everytime. It can be very useful.
View 3 Replies
Similar Posts:
Jun 22, 2010
Since iphone doesn't support flash at all.
Is it Darwin streaming server ?
View 2 Replies
Mar 7, 2011
I wondered what would be the equivalent of metadata tag used in flex or flash builder, but for flash or fla .. For example to use with [Injectors]Greetings!
View 1 Replies
Jan 11, 2011
Is there any way to do something like Adobe P2P video with HTML5 and no Adobe software?
View 1 Replies
Apr 26, 2011
Are there any UI interfaces for Java that are similar to Adobe's Flash CS series?
View 2 Replies
Dec 5, 2011
I have the following code to open a document through a separate window (through a button action) in AS2:
mapSym_btn.onRelease = function() {
getURL ("https://myPortal.html", "_blank")}
View 1 Replies
Dec 27, 2011
I have imported movieclip on my stage. But this movieclip has objects which lay out of borders of this movieclip, so I've got part of objects on stage which must be invisible, but they are not invisible.
View 1 Replies
Oct 8, 2010
Im trying to fix some as classes that are importing from mx.core.* and have defined a Class that extended the BitmapAsset class--I dont believe that class exists in the Flash library, so I replaced them all with BitmapData--Can someone explain what mx.core is and what is the Flash equivalent of BitmapAsset?
View 3 Replies
Jul 17, 2009
Is there a standard equivalent to the Flex HTTPService class in Flash CS4?
View 2 Replies
Jan 22, 2011
In winform you can have a tag property which is a custom property where you can put any stuff you want so that you don't need to create a custom component just for adding a new property.Is this exist in Flash ?
View 1 Replies
Sep 30, 2011
I wish to use Stage3D and Context3D in ActionScript. For that I need to download the beta version of Flash Player 11. However, I can't find the equivalent Flash Builder SDK with the mxmlc executable that can compile ActionScript into Flash 11 capable Shockwave Flash files. Any clue as to where I may download it from?
View 1 Replies
Feb 27, 2012
I can't retrieve an equivalent to selected button on spark .
A bit of code:
_selectedBtn.selected=false;
View 2 Replies
Mar 25, 2012
Is there an equivalent of php's array_flip() in flash actionscript 3? Here's the definition for array_flip:
array_flip() returns an array in flip order, i.e. keys from trans become values and values from trans become keys.
If not, what is the least verbose and most efficient way to achieve the same results as array_flip() in actionscript 3?
View 2 Replies
Apr 16, 2010
In the .NET world order, companies like Telerik provide awesome sets of components for web/windows/silverlight. Who are the equivalents in the Flex/Flash universe? I see lots of sites filled with little 10/20 dollar menu components or uploaders, but I'm really looking to find something a step above that.
View 1 Replies
Aug 5, 2010
I'm looking for Google Adsense alternatives for a long-running Flash/Silverlight applications. It doesn't necessarily need to be hosted directly in Flash/Silverlight (although this would be sweet) but I cannot use Google Adsense because:a) by default Google Adsense requires ads to be opened in the same browser window which involves navigating away from the page with the application. Since the application is relatively self-contained entity (a kind of an image editor) closing it is not acceptable behaviour. Altering this behaviour in Google Adsense will breach its Terms and Conditions.b) Pages are not reloaded often. Once the user starts using Flash/Silverlight application she/he will stay on the same page for a relatively long period of time. It would be nice if an advertising component be able to automatically reload its content every few minutes.
View 1 Replies
Jun 11, 2009
I use the HTTPService() method to post a variable value to a SQL Server database. The suggestion came from someone with some past experience in Flash but nothing specifically related to posting variables to a database.
This person sent me the following code snippet that he found in a Flex forum (and changed a bit), with a suggestion that maybe it will work with a bit of massaging.
PHP Code:
private function start():void {
service = new HTTPService();
service.url = "http://webServer.aspx";
[code]....
My biggest problem is that I'm using Flash instead of Flex. What is the Flash (non-Flex) equivalent of HTTPService() method in the following code snippet?
View 2 Replies
Jan 13, 2010
i wrote an swf application using action script 2,i want to be able to know the file name of the current running swf file.i know that in php i have __FILE__ to get current running php file, is there something like that in flash?
View 1 Replies
Nov 11, 2009
I've noticed there is something in AS3 that allows "shearing or skewing" of an object, but I was wondering if it's possible to do the equivalent of what Photoshop refers to as "transform>>perspective"
View 2 Replies
Mar 16, 2010
I've been using Adobe Flash CS3 & CS4, and I still find it ridiculously hard to navigate around that Program sometimes, mainly when I have to deal with a Pre-made Flash website that needs Editing.Allot of people Label layers, Symbols, etc... poorly, so it's hard to find your way around.I would like to know if these is any Equivalent of "Show Transform Controls" (from Adobe Photoshop), in Adobe Flash CS4
I have loads of Layers to deal with, and the only way I can get to edit the Layer, is by double clicking on them, then I go to it's timeline and settings.Most of the times I can't even see some of these Layers/Buttons, as they appear invisible on the Stage/Preview Screen.How can I more easily Work with my Layers in Flash CS4?It would be allot easier, if I could click on the Layer in the Pallet, and see an outline of where it is on the Stage.Or if I could edit the settings of a Layer, by clicking something in the Layers Palette.
I am also trying to figure out how I can change the color of an image to Black/White, I only know how to do this with the Motion Tween Option, that gradually changes the color over those given seconds. I don't want an animation, just permanent color change.Also when I am moving a Object in one layer,when I exit and view a different layer, I see that the "Shared" object also moved there too, which I do not want.Is there any way to unlink these by chance?
View 1 Replies
Mar 29, 2010
Is there any equivalent to a Flash projector for iPhone? Flash projectors basically seem to package script and Flash libraries into one executable file that can be run on a PC. I'm wondering if anyone has made a similar thing for iPhone where I can take my existing code and package it with the necessary iPhone stuff to make a PC executable. Of course hardware-specific things would not be available like accelerometer/phone/gps, etc. but I don't need any of those. If not, is there anyone currently attempting this?
View 4 Replies
May 23, 2009
Right now a lot of my applications use GWT-RPC for retrieving POJO's from a GWT RemoteService which in turn calls a Web Service (SOAP) to get the data. I am evaluating Flex and didn't really see anything truly analogous to this simple architecture.
View 4 Replies
Jan 27, 2010
A question for Mac developers - which ActionScript IDE do you prefer? I've loved FlashDevelop on the PC, but can't find the equivalent on the Mac which:
is freehas code completion
The options I know about: TextMate - isn't free. it doesn't seem to have code completion...SE|PY - can't seem to get it to work on Snow Leopard, and I notice that the website doesn't seem to have been updated in four years...Flash Builder - isn't free(although I'm looking into installing Eclipse with Flex SDK), and I always preferred FlashDevelop for elegance and speed as an AS IDE anyway.my next last resort option is to look into running windows on the mac..
View 2 Replies
Jan 2, 2011
I was wondering if actionscript had something equivalent to PHP's create_function.pecifically, the ability to create a function from a string is what I am looking for.
View 1 Replies
Mar 1, 2012
I'm setting up a multi-lesson game and using it also as an opportunity to make the switch from AS2 to AS3. It's been a bumpy road but I'm getting it but think I've hit a roadblock.Is there an equivalent to the "loadMovieNum()" parameter from AS2? I have been merrily building all the individual games assuming I'd just swap them in and out of the same level so they purge each other as we go.
View 2 Replies
Apr 9, 2009
Is there are a sizeof equivalent in AS3?
Second, but similar, I have a 2D array that contains only 0's or 1's. The smallest data type in AS3 seems to be Boolean (or Int or unit) which is 32bits (4bytes).
So if my array, which was say 10 x 10 in size, each containing an int to represent the 0 or 1, the array would be 400bytes (10*10 * 4bytes). This is an assumption, as I don't know how to get the size at run time.
BUT I have written code to convert arrays of 0's and 1's into an int (and vice versa) so instead of storing an array like this [ [1,1,1,1,1,1,1,1], [0,0,0,0,0,0,1,0] ], it would be represented like this [255, 2]. [code]...
View 2 Replies
May 14, 2009
I've got a button on screen and behind it a slideshow rotating images with a fade transition from one to the next. What I'm trying to figure out is when you MouseOver the button... the slideshow stops. When you MouseOut, the slideshow picks up where it left off. Seems simple enough, but I can't seem to get the correct combination of conditional statements to get this to work. Here's what I've got with a couple notes giving my thought process.[code]
View 2 Replies
Jun 29, 2010
what would the equivalent of loadMovie("T_img_3d_"+num+".jpg", "mc_empty"+num+".mc_empty_int"); in AS3?
View 1 Replies
Apr 11, 2005
i have 3 numbers ( r, g , b ) .... how do i get a number which is HEX equivalent?? color : Number = r<<16 | g<<8 | b is giving me something, which i am not sure if it is HEx
View 1 Replies
Oct 13, 2008
I have a program that loads a number of puzzle pieces torandom locations on a board. There is an eventlistener and code todetect if they are all together. Unfortunately, once in a while, even thoughits random, they overlap enough to trigger the later code and the programdiverts incorrectly. I can easily check for all the pieces on top ofeach other, butcan't seem to find how to return the code back a few lines inorder to reshuffle, similar to the goto line# in Vbasic.
View 1 Replies
Sep 3, 2009
create a new flash project, draw whatever and call it 'a'. then paste this:[code]this is a simple handler that should trace 'here' while the pointer is over 'a', thats all. if you run it, it will trace 'here' only once, or only once every time you enter a, instead every frame the pointer is over a.how do i create a handler that runs as long as the pointer is over a sprite or whatever. a way could be to put an enterframe and check if the pointer is over a, which i believe is not decent at all, is there any equivalent of 'over' that runs while is over, and not just enter?
View 3 Replies