Changing font size in Flex app
How can i change font size in all flex application? ...
How can i change font size in all flex application? ...
I have a sprite that contains a textfield. Then, I want to create a second sprite ("containerSprite") which is the same size as the textfield. That's not difficult and works fine. Now I want to add a third sprite ("innerSprite") to containerSprite. I need this third sprite because I'm going to use it for drag and drop purposes. I add a ...
Here's the issue: I have three files in the same package: com.foobar The directory to these files is: C:..\mylibrary\src\com\foobar\ then inside I have foo.as and bar.as When I try to run mxmlc C:..\mylibrary\src\com\foobar\foo.as I get the error: A file found in a source-path must have the same package structure ' ', as the defini...
function send(input):void{ // input.text = "{key: 'value'}" var x:* = stringToObject(input.text) // then be able to do this var y:* = x.key; // then y must be equal to 'value' trace(y) // this is just a string } ...
Is there a way to make a display object always be at the top of the display list? For example, I know you can set the childIndex, i.e: setChildIndex(myDisplayObject, numChildren-1); But is there a way that an object has sensed that something else has been added to the display list and restack themselves accordingly? ...
Hi, i need to mix two images one photo and a placeholder. The idea is that we see the placeholder except where the palceholder has a particular color, in that case the user sees the photo. Something like chroma key. For this purpose i wrote a Pixel Bender shader that acts as a BlendMode. If the background is in the right color output th...
I'm developing a web app based on videos that my client would like to upload using an online resource such as YouTube or Vimeo. Since YouTube has a 15 mn restriction length on the videos one can upload, my client has decided to use Vimeo instead, but Moogaloop(!) the Vimeo AS3 API is fairly restrictive and only offers a handful of method...
when extending a class, is it impossible to override a method without also matching the parameters? for example, i'd like to use the method's name, in this case it's a socket extension and the method i want to override is connect. however, i want to request additional parameters that the stock connect function does not request. is the...
Hi All, I have a recursive call which includes an asyn operation (file copy) .. I want to find out when the recursive call finishes (along with all asyn operations). private function copyInto(directoryToCopy:File, locationCopyingTo:File):void { var directory:Array = directoryToCopy.getDirectoryListing(); ...
Hi, In Flex 4 using a pre populated data grid, how can I get or set specific values programatically, IE I wont be using selectedItems etc. How do I reference the value of a cell in row 4 colum 6 for example. Please and thank you in advance for your help. Craig ...
I am using flash as3 and red5 to record a live chat.I recorded live chat as two flvs they are user0.flv and user1.flv i started the second video to play in exact position.But while playing that recorded videos it's unsync due to streaming.Both video streaming separately how to solve this. ...
Hello, I have a case where I can change the contents of an actionscript class which fills the dynamic text fields in a flash movie. The class function is called from the first frame in the movie and fills all visible fields. I need to fill a dynamic text field in the n-th frame (say 100, or so) but when I call tagline2.htmlText = "hell...
How we can hide a row at specific index of DataGrid in AS3 ? ...
Hello, I'm trying to control the video playback of a live video stream using ActionScript 3 code in Flash Professional. There's a FLVPlayback component on my stage titled "flvPlayer", and in Frame one of my "Actions" layer, I have the following code: import fl.video.FLVPlayback; import flash.display.Sprite; var vidURL:String = new St...
I am looking for a solution to this issue but I have not yet found anything conclusive. I would love to get some input. What I need to do is basically to take two or more individual PDF-files and merge them into one. Nothing fancy just sticking one after the other and ending up with one file. I have found AlivePDF and purePDF but those ...
Hi! Would it be possible to programmatically control the audio channels (effects, mix multiple channels etc) of a video playback using the NetStram.appendBytes possibility introduced in Flash player 10.1? ...
How do I change the stage quality to improve rendering performance in Flash Player AIR? StageQuality doesn't seem to have any effect at all. Is this a known bug or am I doing something wrong? I'm using this in the Main() app class constructor: stage.quality = StageQuality.LOW; Edit: I found the answer in the Adobe Livedocs: For...
Hello. I want to create a very simple game for school. The user chooses answers based on questions, at the end the software presents some choices to the player based upon what they said. They have to choose food they like to eat, and the game tells them about the diet, they have 9 choices. I wonder how I should keep track of what the...
How does one apply rich text to Flash at runtime? Specifically, I need to dynamically create bullet-points and paragraphs with line breaks. ...
I am embedding a swf built in flash 8 into an as3 project. When I call stop() or gotoAndStop(0); on the MovieClip that represents an instance of the embedded swf it stops for a sec and then continues. Trying to call removeChild on the mc removes it from the display but the audio in the swf keeps playing. The swf, in this case must be emb...