ActionScript 2.0 :: [FMX] Whats Up With The LoadVarsObject.send() Function
Sep 16, 2003i will resk it....am going to ask a Q I am working out a bug in my footer And now i got a new prob....
[Code]...
i will resk it....am going to ask a Q I am working out a bug in my footer And now i got a new prob....
[Code]...
Can you make a variable that well...let me give an example
var aNumber:Number = new Number(1);
ok thats a number right?
var aName + aNumber:Ext...
Trying to combind any variable name plus a number attached to it. so instead of
var aName1:Movieclip;
var aName2:Movieclip;
var aName3:Movieclip;
ext.
I could just do a for loop and inside of it...
{
var aName + aNumber:Movieclip;
aNumber++;
}
how would i go about this?
i was wondering if you can delay whats inside a text box... for example, when an action is made, the text box will show "action done". kinda like a status bar, now what i wud wanna do is for the x number of seconds i wud want to set it back to blank text box again...
View 7 RepliesI have a large AS3 project which will need to be preloaded. Almost all examples i find use a frame based approach but surely there is a class based approach?
View 5 Repliesdoes anyone know how to trace whats on the stage?I tried: trace (stage);but it just said: [object Stage]in the output panel and I have tons of stuff on the stage loaded though as3.
View 4 Repliesi was wondering if you can delay whats inside a text box... for example, when an action is made, the text box will show "action done". kinda like a status bar, now what i wud wanna do is for the x number of seconds i wud want to set it back to blank text box again... is there any way to do that?
View 7 RepliesAs the topic says, I am looking for a easy way to show ALL of the flash content when i import the .swf into the HTML fil. That means everything that's outside the set work-area in flash.Not sure if it's done in flash or in the HTML code (CSS)? Did find a css command:
overflow: visable, but im pretty sure this isnt right.Im offering my first born child for this simple information > GOGO!
Whats the default font for components? I don't need to change it. I like how it looks but I want my other fonts to match it and I dont know what font it is.
View 2 Repliesi purchased and installed FMS on my dedicated webserver from my hosting provider. I have all my sites on this server. now that ive done this what do i do next? I want to play VOD to site visitors. i tried copying and pasting code in my dreamweaver file but i get black box. I can play the live stream sample files on my dedicated server
View 5 Repliesbasically I want to load an external SWF into my flash file, which I can do just fine, but when I load the swf in, it loads EVERYTHING in the swf into the new flash file...What I want is for it ONLY to display the contents on the stage. I work with large images that span way beyond the stage...then I move the images and when I export the swf it looks like a camera zoomed in and tracking around a large image. BUT when I load the swf into another flash file, it just loads it in with no regard to the stage...how do I get it to JUST load what I can see on the stage? here's my current code:
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF);
import fl.display.ProLoader;
var fl_ProLoader:ProLoader;
[code].....
how i can send value to variable from variable arguments???
PHP Code:
var num:Number=0
function ff (e:Number):void {
e=55
}
ff(num)
trace(tt)//0
I want to download this app in the android market, but it says I need adobe flash player 10.1 but when I look for it, it doesn't show. Does anyone know what its called? I know its in the market because a lot of people are using that app. I have the Samsung Captivate. Should I just wait for Android2.2?
View 1 RepliesI want to be able to send a second (or 3rd) parameter to a function that is called by an event listener, but I can't seem to get it to recognize the parameter - it gives me an error 1067 (implicit coercion of value) when I try the below code.
[Code]...
I need to send a keypress to the operating system programatically. Can a KeyboardEvent be activated programmatically? And if it can, does it send the keypress to the OS, or is it contained within the application?
View 2 RepliesHere I've got this bit of code that works alright, but I would prefer to have the parameters that are being sent through myTween.tweenMe(_text, 40, 300, 150, 100, 4000) originate instead with the call to tweenerIt. The problem seems to be that the tweenerIt function needs to receive the e:Event parameter, which is some sort of 'behind the scenes' type of thing that I don't fully understand. If I try putting ... _text.addEventListener(MouseEvent.MOUSE_DOWN, tweenerIt(_text, 40, 300, 150, 100, 4000) and then something like.. private function tweenerIt(param1, param2, param3, etc..., e:Event):void, it doesn't work.
Code:
_text.addEventListener(MouseEvent.MOUSE_DOWN, tweenerIt);
}
private function tweenerIt(e:Event):void {
[Code].....
I need to be able to send a bytearray object to a javascript function or a java method, but I was wondering if I could do it using XMLHTTPRequest.
import asfiles.encoding.JPEGEncoder;import flash.display.Bitmap;import flash.display.BitmapData;import flash.external.[code]...
So I have a video that plays stream from a webcam,I will click a button and take a picture. I encode that picture using JPEGEncoder then I store it in a ByteArray.How do I send that data over to either a javascript function or a java class?I don't want to use the navigateToURL (URLRequest) method because that will redirect my page.Is there a way to send the data to a function while still staying on the same page?For example, make a asynchronous call to a javascript function or java method?
I have the class with builder and methods. Can i send function to a builder of class as a variable? I want to set individual functions for some samples of class.
View 1 Repliesis it possible to send a string to a function and return a object??? here is the code, but it doesn't work
[Code]....
I'm using setInterval and the issue is "how can i send data to function that are called from setInterval?". Now I have this: ActionScript Code: si = setInterval( startLoading(dir + "/" + f[i]) , t); If i send the function parameter in setInterval the function do all her job but the setInterval don't work. Wich are the best pratice to do this?
View 2 RepliesSay I have an object call "Mother". Inside this Mother object is a function called "Come back all my children" And all my Child Objects extends Mother.
Is there a way one of the Child could call the function "Come back all my children" and this function will be evoked in ALL Child objects ?
I tried creating a "Come back all my children" function as static in the Mother object but I am unable to use the "this" keyword for this.
is there a way so that you can make exturnal text automaticly scroll all the way down to the bottom?
[URL]
is there a way to hit the enter button to send a sumbit function?
I'm trying to build a class for objects in my prog that can by manipulated in various ways.. I want right clicking them to send them to back, and left clicking, bring them to the front.
ActionScript Code:
package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
[code]....
When I run it, however, I get ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.So something's not lining up, but I'm not sure how to write it so it'll work.
is there a way so that you can make exturnal text automaticly scroll all the way down to the bottom?
http:[url]....
heres what I mean in example....and is there a way to hit the enter button to send a sumbit function?
I am trying to send some variables to an ASP cgi using the sendAndLoad() function in Flash. On Frame 1 of my movie I have the following code:
[Code]...
Im wondering if the LoadVars.SendAndLoad()-function can target a particular frame in a webpage as can the LoadVars.send()-function?
View 2 RepliesI am trying to send some information to a javascript function on the same html page as the swf file is in. I used the tutorial here on Kirupa but for same way it doesnt work.
ExternalInterface.call("fillForm('"+ l.x, l.y +"')");
ExternalInterface.call("fillForm", l.x, l.y);
These are the variations I tried.
I am trying to send a value from one of my xml nodes (<marker>) by declaring it in a function 'showData' as a variable 'XMLMarker'. If I trace this value (XMLmarker) it returns the right data found in the node <marker> (which is 'myMarker_mc'). However, I need to tell the stage that myMarker_mc is a MovieClip...please see the 'PROBLEM' stated in the code below.
[Code]....
In AIR/AS3 Flex Mobile for Android project.How can I capture an "image" of whats visible on the view then just save that image as anything like jpg/pdf to the SD card?Basically a screenshot on Android using AS3.
View 1 RepliesI'm trying to do something like this:
[Code]....
whats the correct syntax for declaring a variable thats name changes according to a different variable.
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.
I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.