Hi
I have an html page with a flash object that provides video chat using stratus.
I want to enable file sharing from a different UI on the same html page.
I want to use the same stratus connection to send the file.
Is it possible to create a small flash object that will present a browse button and let the user choose a file and then p...
I'm new to Flex/Actionscript and have a very basic question.
Let's say I have about 100+ buttons. They all have the same label. Now I want to change the label for all with a click. I could give them IDs and then run a for loop, but I'm searching for a neater solution.
Thanks for help.
Update:
Hm, it doesn't work because label of but...
Isn't there a better way to accomplish this?: (RegionID is a Flex ComboBox)
RegionID.selectedItem=value.Region;
var N:int=0;
for each (var E:Object in RegionID.dataProvider.source) {
if (E==value.Region) {
RegionID.selectedIndex=N;
}
N++;
}
this.validateNow();
All I want...
I have a flash widget (kind of player). I need to dynamically change height of the widget according to the data i am loading in runtime via json.
I want to do the resize in actionscript event handler.
The version of AS is ActionScript 3.0
...
My brother just learned flash and a little of action script, now he want to know good resources to improve his skills more and more. He want to know some good tutorials to learn from.
Note: He learned flash to help him in my web design, and add a new skill plus the web design skills he knows such as CSS, HTML, photoshop and a little pr...
I am writing an ActionScript class and I don't know where the standard place to put it is.
In other words, where should I put the package in regards to the hierarchy?
In flash.myname.mypackage? What is the standard naming convention?
As you can probably tell, I haven't had a lot of experience writing ActionScript classes :)
...
Is there a standard class that simply returns the response received from a URL given a URL?
Looking through the documentation, I found mx.servicetags.HTTPService, but I don't think it's what I'm looking for.
Update: The request is happening inside of a function and therefore that same function has to return the result. In other words, ...
I am creating a textbutton using actionscript.
the code is given below.
public function createTextButton(parentId){
var mytext:TextField = new TextField();
mytext.x = 478;
mytext.y = 225;
mytext.height = 20;
var format:TextFormat = new TextFormat();
format.font = "H...
I am dealing with a Flash file which has been created by a third party. It has a lot of folders and files in the library and I can't seem to find any ActionScript anywhere.
Is there a simple way of finding the location of ActionScript when the author has been naughty and not labelled it or put it in a sensible place?
...
I want to add a newline to a string text and I was wondering if there is a newline constant in actionscript 3? For example in .net there is an Environment.NewLine that is a string, containing "\r\n" for non-Unix platforms, or a string containing "\n" for Unix platforms.
...
Hello
I want to use instances in an array, but get an error. How do I use instances in an array? Thanks.
Error 1010 'A term is undefined and has no properties'
//I'm trying to make two array objects disappear
var pink:Array = ["boxInstance1","boxInstance2"];
/*
THIS WORKS
boxInstance1.visible = false;
boxInstance2.visible = false;
*/
/...
Hello,
There's 3 boxes I'm indexing through with a timer. They disappear in sequence. How do I make them reappear?Thanks
boxes disappear in sequence 1-3
var pink:Array = ["","boxInstance1","boxInstance2","boxInstance3"];
var timer:Timer = new Timer(555);
timer.addEventListener(TimerEvent.TIMER, onTimer);
timer.start();
function onTimer...
Hi,
A prompt comes up to dismiss all or continue, but the The swf works perfectly. How do I correct this?
Thanks.
Error
TypeError: Error #1010: A term is undefined and has no properties.
at testONE_fla::MainTimeline/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
LightUpSign 'array refers to...
import com.hydrotik.queueloader.*;
.................
public class Main extends MovieClip
{
private var _ql:QueueLoader;
private function _loadSTRATIntro()
{
QLog.log("_loadSTRATIntro()");
this._ql.addItem("res/swf/STRATIntro.swf", this.introduction_mc);
this._ql.ad...
Hello Guys,
Just wondering what's the meaning of ":" (colon symbol) on this Javascript code below?
var switchToTarget : Transform;
Thanks,
Gino
...
I have an action listener :
myText.addEventListener(TextEvent.LINK,linkClickHandler);
As according to this, i need to write an event handler function seperate to handle the text link event.
Now my requirement is i need to write that function in the same line isntead of giving its name.ie, something like
mytext.addEventListenet(TextE...
What language construction can be used to make a compile time checking of Array elements type when the Array is a function parameter?
Let's use this function as an example:
[ArrayElementType("String")]
private function GetNumberArray(parameter:Array):Array {
var myData:Array = [1.0, 2.0, 3.0];
return myData;
}
Here we've marked...
I heard that the flash action script 3 is disabled the keyboard interaction on full screen mode. How can I enable.
...
I need to grab values from the querystring and inject them into a getURL(""); snippet that's in the on (release) {} for a button.
So if the URL that contains the embedded swf is
http://domain.com/player.html?returndomain=otherdomain.com
I'd like to get that otherdomain.com and inject it. Something like
var returnUrl = "";
// do mag...
I have a flash movie which produces a certificate for participants in an online course.
It gets the pageHeight, pageWidth from the printjob then scales the certficate image to fit nicely in the middle.
This is working fine on windows and linux, but on the mac it is not behaving. It is chopping of the right and bottom edge of the certif...