FAQ Database Discussion Community
flash,actionscript
I have a character imported to my stage, but I want a button called "Random" that when hit, moves the character either up down left or right, every time you click it. Here's what I tried, but the character will just move diagonally. //import the code to use the components...
arrays,actionscript-3,flash
I have an array of platforms that I'm hitTesting against a player. I also have a boolean variable called onGround that is attached to the player. I need to be able to toggle onGround based on whether or not the player is hitting a platform in the array. It's been...
android,flash,recovery,rom
I am trying to make updater for custom rom. I can get to recovery from my app by: Process p = Runtime.getRuntime().exec("su"); OutputStream os = p.getOutputStream(); os.write("mkdir -p /cache/recovery/\n".getBytes()); os.write("echo 'boot-recovery' >/cache/recovery/command\n".getBytes()); os.write("reboot recovery\n".getBytes()); os.flush(); If I add next lines, device will load to recovery, clear cache and boot to...
actionscript-3,flash,zoom,gesture,pan
What I want to do is to keep my MovieClip (which is bigger than the viewport) from having its borders visible. Just like many apps do, e.g. Clash of Clans. This way if you zoom in and zoom out or pan you will never see the stage under it. If...
flash,fonts
I transferred my work to a new computer, and when I open my .fla file, Adobe Flash is telling me that I'm missing a font. Is there any easy to locate which asset in my library is using that missing font? Because I'm pretty sure I no longer need the...
xml,actionscript-3,flash,e4x
I don't understand why I can't parse these datas : <places yahoo:start="0" yahoo:count="1" yahoo:total="1" xmlns="http://where.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng"> <place yahoo:uri="http://where.yahooapis.com/v1/place/23424819" aaa:lang="en-US" xmlns:aaa="http://www.w3.org/XML/1998/namespace"> <woeid>23424819</woeid> <placeTypeName code="12">Pays</placeTypeName> <name>France</name> <country type="Pays" code="FR"...
actionscript-3,flash
how to zoom stage to rectangle area in as3 (Action Scripts 3)? i have a text, when mouse over the ever word, color changed. now, when click the word i need to zoom to this word and hide the other word?...
actionscript-3,flash
I have a problem. When I loop this code, my intensions was that it would add 6 pictures after eachother. However; it did not work. Can anyone please help? var riktige:RRR = new RRR(); var r:int = 6; var xPos:uint = 50; var yPos:uint = 140; for(var i:int=0; i<6; i++)...
actionscript-3,flash
I have a folder which is full of .as files, theres one .as file who is the "main" which has a ui (buttons) etc. i need to compile all into a swf file, or a way to debug it. these are the files: https://github.com/amitp/mapgen2 I have like 3 days trying...
actionscript-3,flash,addeventlistener
I have a few questions about Event Listeners. Please answer them clearly. Do we always need to removeEventListener every time we do addEventListener? When removing an object from stage, does it also remove its eventlisteners? Example, lets say i have a textfield with event listener like the one below. txtField1.addEventListener(Event.CHANGE,...
javascript,google-chrome,flash
I'm reading a tutorial on how to create your own Chrome Extension using Javascript/HTML/CSS. I wanted to practice a bit on a facebook flash game to make my life easier, you know what i mean BUT i don't know how to read flash memory online or how to analyse the...
flash,air,certificate,publishing,signing
This is a multi-part question, but all to resolve the same issue. I'm trying to publish a project I've been working on but get intermittent problems with .air files that are generated. I always get the following warning when publishing my project: "There was an error connecting to the timestamp...
arrays,actionscript-3,flash,for-loop
Lets say that mySaveNewT.data.myNText = 20, and in a for loop, 20 MovieClips (tbox) are populated on the stage. When a tbox instance gets clicked I want to change its visibility to false. How do I reference an individual MovieClip that gets clicked, without having to set every MovieClip's visibility...
ios,actionscript-3,flash,fonts,embedded-fonts
So I have an annoying issue that I can't solve. I am creating an app in Flash Pro/AS3 for iOS. I have a button whose label font I want to change: var ButtonTextFormat:TextFormat = new TextFormat("Showcard Gothic", 120); //ButtonTextFormat.size = 120; //ButtonTextFormat.font = "Showcard Gothic"; //ButtonTextFormat.embedFonts = true; ButtonTextFormat.color =...
flash,actionscript,actionscript-2
I am making a game with multiple levels in flash and I want to have it where each level has its own 4 digit code, which can be used to return to that level. I have created an input textbox, and a button. If I want it to run the...
html,html5,flash,google-chrome-devtools
I'm trying to the get the URL of this HTML 5 video but I can't seem to find it. I looked in Chrome dev tools but couldn't find anything. It's not even possible to right-click and view source on the video. I had to do it on another part of...
actionscript-3,flash,settimeout
In JavaScript: setTimeout("document.write('example')", 200); I want to know how I can do a setTimeout in Flash (AS3). I know there's the Timer() class, but I want a more simple way to do this....
javascript,ruby-on-rails,ajax,flash
I'd like to improve the AJAX feedback in my application (after I POST a remote form in my modals, etc.). I already have some nice feedback showing a loading animation $(document).ajaxStart(function(){ $('.loading-feedback').show() }) $(document).ajaxStop(function(){ $('.loading-feedback').hide() }) But I realize it's not enough : when my AJAX requests trigger a Completed...
actionscript-3,flash
I have a problem: Is there any way I can find the minimum value of an Array that is not 0? Let's say I have this Array: {0,2,0,0,1} and I want it to find 1. ...
arrays,actionscript-3,flash,actionscript
Very new to actionscript, Im trying to link two arrays. Basically I have a word array of 8 words and I have a movie clip array of 8 movieclips. My aim is to link the two arrays so that the user must click the right movie clip that matches the...
actionscript-3,flash,button
I'm having a serious problem that is getting me nervous: I've made a button _btn that includes ROLLOVER and ROLLOUT animations with coding (an nested movieclip instance called barra that increases to half alpha when you hover over and decreases when you hover out). [Here it should go a descriptive...
actionscript-3,flash,actionscript
Hello lovely Actionscript peoples. I am having a bit of a problem creating a button using AS3 that can hide or show a specific movieclip that is being called by a different class. I think, honestly, that my problem is that I don't fundamentally understand OOP / classes as they...
actionscript-3,flash
I have a problem with my code. The code works great with one exception, if I have pressed the mute-button and the animation loops, it's always back to volume = 1. How can it loop without always going back to volume = 1? var mySound:Sound = new Sound(); var songURL:URLRequest...
actionscript-3,flash,collision
I don't want to just test if an object has collided with another object but rather test if the entire object (which is rectangular like) is completely located within another object (which is circular).
actionscript-3,flash,timer
I have a private Timer object in an AS3 Class called _countDownTimer. When the class is instantiated, I also initialize the Timer once like so with some arbitrary delay _countDownTimer =new Timer(10000, 1); _countDownTimer.addEventListener(TimerEvent.TIMER, onCue,false,0,true); The problem is I need to change the delay time every time the Timer runs....
actionscript-3,flash
How to draw shapes like rectangle, circle with only outline (fill with transparent color inside) in AS3 like this rectangle and circle
javascript,actionscript-3,flash,escaping,swf
I have an embed tag that will be used to store a SWF object. I've been following this documentation here https://helpx.adobe.com/flash/kb/pass-variables-swfs-flashvars.html I need to create a parameter with a name equal to FlashVars. I need to store an API token in the value attribute. The problem is there is an...
actionscript-3,flash,flash-cs6
I've read the previous posts of SO and it seems that some people's had the same issue as me - but none came up with a solution that helped my problem :) I've designed 3 games that are their own SWF file, and I'm trying to load them upon a...
actionscript-3,flash,bitmap,bitmapimage
I was experimenting with bitmaps and created an alpha mask. When i test the program in full screen, it works fine however when I re-size the screen, the bitmap alpha masks doesn't seem to scale correctly. Below are illustrations of my issue. The bitmap alpha mask is shown as a...
actionscript-3,flash,variables
What happens if two events that occur at the same time change the value of a variable? For instance, we have two objects: A and B, loaded into the stage and a stage variable named varx. The following code is embedded in A's fifth frame: stage.varx = 9 In the...
actionscript-3,flash,optimization
I'm using GreenSock's TweenMax to fade in a TLFTextField with a DropShadowFilter applied. The framerate drops to about 8fps when I try to do this. Without the shadow, the transition is a consistent 24fps. I know Flash is redrawing the shadow each frame - is there any way I can...
actionscript-3,user-interface,flash
I have designed a menu in Flash CC which consists of several cloned buttons and an MC containing the text that is supposed to stay above the buttons. Each time a user switches the menu's page, AS commands the clip to switch to appropriate frames, therefore changing the text above...
actionscript-3,flash
i have added 5 life icons on a container in stage..now i want to remove them one by one by mouse click.it is working for first click(one child is removing from stage).but it is not working after that.what should i do.there is no error in code but not working.here is...
arrays,actionscript-3,flash
I have 2 array having objects of different length var arr : Array = [{name : "aa", id : "0"}, {name : "bb", id : "1"}, {name : "cc", id : "2"}]; var arrTemp : Array = [{name : "ee", id : "0"}, {name : "hh", id : "1"}, {name...
actionscript-3,flash
OK, So I have a banner that will be place on a website and depending on the url I need to update the text in the swf banner. The text I need to grab will be something like this in the URL. product="abc" The "abc" could be different number of...
actionscript-3,flash
So in my code I was attempting to make it where you had two players, each player had their own key down and key up handlers, clearly labelled in my attached code, and in their I handle the movement, player one has WSAD and player two uses the Left, Right,...
actionscript-3,flash,flex
I'm trying to load an image from the internet with AS3 following this tutorial. When I try to compile the application I get the following error: Call a possibly undefined method load through a reference with static type Loader. my_loader.load(where, loaderContext); ^ Here is the code I'm using: package {...
google-chrome,flash,selenium
Chrome supports two flavors of Flash: NPAPI and PPAPI (Pepper). These two implementations seem to handle camera and microphone permissions differently. Specifically, PPAPI (Pepper) does not appear to honor any previous grants of permission. With NPAPI, which is the default, the first time I navigate to a Flash site that...
actionscript-3,flash,video,timer
I want to make a timer that will show text at my panelText (dynamic text box) at specific time, actually I have a video that I want to have subtitles, and I want to use timer, my video is 3 minutes and 37 second long, and I have script that...
actionscript-3,flash,loops
The statement for takes a triple as an argument (initial value of i, condition to cease looping, i increment) I want to create a different movie clip each time the loop goes on. So, I tried: for (i = 0; i < 9; i++){ var Unit+i:MovieClip = new MovieClip() }...
actionscript-3,flash,video,centering,stagevideo
I've a brief question that I'm sure some AS3 genius knows. I'm surprised I haven't seen any other topics on this after 30 minutes of Google-fu, StageVideo seems to be largely silent. So I've been trying out the StageVideo API in place of traditional Videos for better video playback. This...
actionscript-3,flash
This question already has an answer here: As3: Draw overlapping rectangles to a sprite and apply alpha 1 answer It seems that when I set alpha on a DisplayObjectContainer, then it works on each individual child separately and not on the container as a whole. Consequently I start seeing...
actionscript-3,class,flash,return
I made my own AS3-DialogBox-class. It has 2 Buttons ("Yes" and "No") Within the class there is a listener that starts a function when one of the Buttons was pushed. And within this listener-function I can get and trace the Buttons label ("Yes" or "No") by calling event.currentTarget.MyButtonTextfield.text. So my...
actionscript-3,flash,audio
I have a problem with my background music. So I added this code on frame 1: var bmsound:Sound = new backgroundmusic(); var channel:SoundChannel; channel=bmsound.play(0,10000); And it works like a charm. The problem is, when I navigate to other frames and go back to frame 1 again, the music plays again,...
android,flash,video,mobile,air
I have been coding in Flash for a while, though I haven't worked a whole lot on AIR Mobile yet. That being said, when debugging on an Android device via USB, Video objects sometimes work just fine when Camera or NetStream objects are attached, and sometimes they refuse to do...
javascript,actionscript-3,flash,scorm2004,scorm1.2
I lately posted this and unfortunately I couldn't figure it out why. Furthermore I haven't any solution for that. Today I realised I can switch between NORMAL and FULL_SCREEN without SCORM parts of the content (connect/disconnect, get/set, etc.). But when I check both Flash wrapper and Mike Rustici's edited API...
actionscript-3,flash,air
I'm building an AIR app that sends text string to a swf-file. When I export the sender and reciever apps to swf and run them in Flash players, everything works well. But when publishing the sender app to AIR things don't work anymore. I think the connection works, because there...
javascript,jquery,actionscript-3,flash
i made a custom slider and everything seems to be fine, but I am trying to create a seek function to make the slider move using this.mySlider.sliderTrack.mouseX position from width:1000px I just need help figuring out how the math to make mouseX the new channel.position var newPercent = this.mySlider.sliderTrack.mouseX =...
actionscript-3,flash
I am trying to create a multiple choice trivia game using Flash and AS3. I would like to be able to have different sets of questions by category along with settings specific to each set, and have all this data saved to a readable text file. I have already used...
arrays,actionscript-3,flash,cs4
I'm using a tutorial I found on Google - which works well. However, I have a few issues to make it work how I would like. This code uses a MovieClip for the card faces with the back of the card on frame1 and 2-17 different pictures or movieclips. The...
flash,flex,button,adobe,builder
When I run this code, if I click the 'testExportToCSV' button, the application executes as expected ['save file to...' window opens]. However, once I click that button, the other two buttons then somehow trigger the same window ['save file to...'] to open as if I had clicked the 'testExportToCSV' button....
actionscript-3,flash
I'm incredibly rusty at Flash having not touched it in probably 10 years and can't seem to figure this out, or find it online: I have a MovieClip with two layers, each having a Shape Tween. Basically its a Door that opens and closes. I dropped it onto the main...
flash,variables,scope,actionscript-2
Okay, so trying to not post 5 pages of information, I'll start with the following: In a movie clip, I have 3 keyframes. I'm trying to edit a textbox on each frame, but I've found previously that only the text box in the current frame is accessible. In an attempt...
actionscript-3,flash
i am trying to create a list in runtime but couldn't make it work. Here is my code : var mc:MovieClip = new MovieClip(); addChild(mc); grpList.source = mc; for(var i = 0;i<count;i++){ var img:Bitmap = new Bitmap(new listbitmap(0,0)); var mvc:MovieClip = new MovieClip(); mvc.height = img.height; mvc.width = img.width; mvc.x...
actionscript-3,flash
To be clear, I want to check a class, not an instance of that class. public function changeScene(newScene:Class):void { if(newScene isExtending Scene) //... } It's a variable of type Class. Edit: More details. What the function does (simplified): public function changeScene(newScene:Class):void { currentScene.finish(); //Finish the scene that is about to...
android,flash,haxe,flashdevelop,haxepunk
So I'm kind of new to Haxe I installed the setup and all the Android stuff (SDK,NDK,..) and it all ran fine with HTML5, Windows, and neko. However when I run with android I get "Error: Could not detect Android API platforms in "android/platforms". But I have couple of APIs...
actionscript-3,flash,actionscript,stage
I need to stop the movie at the first frame using a function from a class, I know I can use stop(); or this.stop(); but how do I stop the main timeline from within a class function? package { public class myApplication { public function myApplication(stageRoot:Stage) { stop(); // this...
arrays,actionscript-3,flash,casting,movieclip
I'm creating a program where I add multiple Movieclips to the stage in Flash, instance name them 'item_#' per frame, and at runtime I pull these children into an array and dynamically cast them to a custom class called 'Item' which extends MovieClip. function loadUpItems(): Array //loads items into ItemArray{...
flash,responsive-design,bootstrap,swfobject
I have embedded this interactive poster ( http://www.mikesmithdesign.co.uk/images/posterforscreen.swf ) into an html page but am having trouble setting the size of it. I am working with bootstrap and want the content to be responsive but at the moment it comes up really small sits in the middle of the column...
actionscript-3,flash,adobe,flash-cs5,ads
Please I want to add a web page link adress on all ad area for my movie clip like google adsense .swf ads, And I want also show hand Cursor when movie clip rolling over on Adobe Flash Cs5 Action Script 3.0, Please Help, Thanks in advance.
arrays,actionscript-3,flash
Using an array, I've created a MovieClip made up of tiles. I need to create the grid dynamically as there are multiple size options. If the user selects a different grid size, I need to remove the grid currently in place before adding the new grid - that is where...
actionscript-3,flash,timer,timeout
I have the following count up code, but am not sure how I would be able to include an if else statement to have the count-up stop at 15 seconds for example. Here is the code: var timer:Timer = new Timer(100); timer.start(); timer.addEventListener(TimerEvent.TIMER, timerTickHandler); var timerCount:int = 0; function timerTickHandler(Event:TimerEvent):void{...
php,mysql,algorithm,actionscript-3,flash
I'm trying to send encoded data for a bitmap image to a server and back to the( or a separate) client. There's probably an easier way to do this with sockets or something, but I'm a very casual and still a pretty new programmer and I had trouble understanding other...
javascript,angularjs,flash,heroku
I have a directive that prints out flash messages for users. Everything works fine on my localhost but as soon as I test it out on Heroku, the flash message does not appear. Here is the controller. angular.module("alerts") .controller("AlertsController", alertController) alertController.$inject = ['Flash'] function alertController(Flash) { var vm = this;...
actionscript-3,flash,user-interface,audio,rollover
I thought this would be a very basic thing to do but I've Googled myself in to a corner. I simply want a sound to play every time a button type element is hovered on, regardless of the button's position, rooting, parent, name, instance name, etc. The sound file is...
actionscript-3,flash,vast,video-ads
With VAST complaint video ads, you may get a "nested" VAST (VAST Wrappers), which will eventually yield a MediaFile that is a media that you could preload (e.g. MP4/WebM/flv, etc.). However in the case of VPAID (flash, yuck!), which contains swf as the media files, at the end of the...
arrays,actionscript-3,flash
I've been working on a Tile Map that is working and displays the tiles on screen according to the associated number in the array. Tile 0 is for Grass, 1 is for water and 2 is for Coins. When the user is clicking the coins tile I need it opens...
ruby-on-rails,flash,rspec
Flash success message displays fine when a new user signs up. Rspec integration test fails with: user is redirected upon successful signup displays a flash message Failure/Error: expect(flash[:success]).to be_present NameError: undefined local variable or method `flash' for #<RSpec::ExampleGroups::UserIsRedirectedUponSuccessfulSignup:0x007fb447b8bd40> # ./spec/features/join_feature_spec.rb:21:in `block (2 levels) in <top (required)>' Spec file contents: context...
arrays,actionscript-3,flash
Ok, so I have some experience with as3 and some of the basics. But this problem has been stumping me for so long. I tried to do a workaround based on what I currently know about as3. But somehow either i get an error message or it just doesn't do...
actionscript-3,flash
When I run this code var jpgEncoder:JPGEncoder = new JPGEncoder(100); It returns this error Type was not found or was not a compile-time constant: JPGEncoder. Call to a possibly undefined method JPGEncoder. Flash doesn't recognise "JPGEncoder" as a keyword. Can someone help me please?...
actionscript-3,flash,adobe,flash-cc
Was wondering how I could find the TWO biggest numbers in an Array using as3 and Flash. Thanks in advance.
arrays,flash,object,actionscript
In Java it is possible to set the datatype of an array, and by setting the datatype to the object I am using, I can call the methods and variables of that object. For instance: ArrayList<Object> name = new ArrayList<Object>(); name.add(new Object(variables)); name.get(0).method; Is there any way I can do...
flash
I just beginning with flash, someone can help me explain a few issues below I create a project in Flash CC and it have 4 type: Action script 3.0 AIR for Desktop AIR for Android AIR for iOS So, the difference between them? I created a project Action Script 3.0...
javascript,html5,flash,canvas,createjs
I have been having some issues when it comes to authoring HTML 5 Canvas in Flash CC, mostly as a result of the lack of information on writing JavaScript inside Flash. I have been converting an existing drag and drop .fla into HTML 5 with the hope of making it...
flash,iframe,mediaelement,flashvars
How can a seek event be raised to a Flash MediaElement, starting from an embed code with defaults flashvars. Such as: <embed id="me_flash_0" name="me_flash_0" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="/dl/player/Fallback/flashmediaelement.swf"...
actionscript-3,flash
After switching to my 2nd scene, the keyboard event does not work until I left-click the screen. How to avoid that left click so that I can trigger my keyboard event directly right after moving to my 2nd scene? More details you may need: 1st Scene btnStart.addEventListener(MouseEvent.CLICK, initGame); function initGame(e:MouseEvent)...
actionscript-3,flash
I need help with AS3 make downloading MP3 files in the background mode. Man goes to my site and it will automatically load MP3 file on his computer and plays it. I read these examples here http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLLoader.html but do not know how to do it? Prompt what code and how...
arrays,actionscript-3,flash,actionscript
I have a problem with searching for strings in an array. I want to search for one word and if it exists, I want to trace the position of the string in the array. I believe it should be something like this: if (myArray contains "11111111") { trace("*position*") } else...
javascript,node.js,flash
I have a Flash applet which runs in a web browser. Is there anyway that NodeJS could interact with this?
actionscript-3,flash
this is my first time using AS3 so I apologise if the cause of this problem is painfully obvious. I'm making chess and I've got a class for each piece on the board. When it's player 1's turn, all the black pieces should wait to be clicked, but when I...
actionscript-3,flash,collision,detection
I am trying to get my character to collide with the walls I have created but I am having difficulties doing so, I have tried using solutions in other threads but none have worked. help please. Essentially I got collision detection working, however it only activates upon clicking, with a...
actionscript-3,flash
Okay, wasn't sure about the title. But here's what I am trying to achieve: Basically i am trying to do something like a quiz, where you can drag and drop the answers into a field. And if they are correkt it should snap the answer field position. It should be...
actionscript-3,flash,flex,air,mxml
I've been trying to use Adobe AIR 3.1 that comes with Flex 4.6 for my project. I have been receiving the error application descriptor not found. My descriptor file looks like this inside D:/Test/. <?xml version="1.0" encoding="utf-8"?> <!-- D:/Test/AIR.xml --> <application xmlns="http://ns.adobe.com/air/application/3.1"> <id>Test</id> <versionNumber>1.0</versionnumber> <filename>Main</filename> <initialWindow> <content>Main.swf</content>...
actionscript-3,flash,variables,dynamic
Is dynamic variable naming like this possible in ActionScript 3? for (var xz=0;xz<10;xz++){ var this['name' + xz]:Number = xz; } ...
actionscript-3,flash,button,event-bubbling,event-propagation
I have a container_mc, with lots of child_mcs inside. I want the child_mcs to have full button-like behaviors (click-able, cursor effects). I am not interested in putting individual mouse listeners on every child. ... I would like to simply have one listener on the parent container, though the parent would...
actionscript-3,flash,arguments,kiosk
I have here, some AS3 that is used to create a 19 button interactive kiosk. It calls 20 different video_files to be played in an FLVPLayer. When one button is clicked, it draws the player and specifies the source. Whats happening is on our PC, is our crazy-kid-test, where we...
actionscript-3,flash
So I have this motion script which I copied from Cs6 as "Copy Motion as AS3". It works fine until I tried to control it with a mouse event function. So what am I missing? it works fine outside the function but not at all inside. import fl.motion.AnimatorFactory; import fl.motion.MotionBase;...
actionscript-3,flash,printing,air,desktop
I am trying to create an air application using flash profession cc. I have functions called show bill and print bill in it. When i print directly with out showing the bill adobe air application works correctly. But when i try to use the show bill function and then try...
actionscript-3,flash,mouseevent,mouseover
I have a map with different countries. When i hover over one of the countries, i want it to play a certain frame of a movieclip. I've made a movieclip for each country, which has 2 frames. The 1. frame is just the picture of the country like it appears...
actionscript-3,class,flash
I created a class of objects called questions, in each question there is a Question and several Answers. I would like to create a second class of objects called games and have several questions in each game. I would then like to have several games (with several questions) stored locally...
actionscript-3,flash,text
I'm working with TextFlow and EditManager in AS3 (flashx.textLayout) I want to know how get ActivePosition pointer "Y" position, I know I can get activePosition from EditManager but it's returns character position. I want to count if activePosition out of screen, then scroll down (text is larger and its out...
actionscript-3,flash,flex,actionscript,arraycollection
Consider the follwoing code: The follwoing code print processorName in this format: DC5,DR2,DR3 But when it comes to duplicates it prints as DR3DR3. I need to remove the duplicate processorName. I am not able to figure it out, how can I do this? public function processorNameFormat(item:Object, column:GridColumn):String { var processorNames:String...
actionscript-3,flash,flex,canvas,layout
I use BitmapData.draw to make a snapshot of a graph canvas. On the canvas located some children in random positions (including negative positions). I should to define in some way what rectangle bounds to shoot. SO, for example, i have 3 nodes in the view (canvas): {10x10, (-5; -3)} {20x20,...
actionscript-3,flash,resizable
Not sure if this is possible but going to ask: is there a way of being able to resize a symbol (in this case, a movie clip) in an swf file by clicking and dragging it with your cursor? One of the things I need to do is have a...
actionscript-3,flash
I want to change the text in the text box when different images is dragged. However, I'm not so sure how to do the function for it. If anyone can help me an example of this, that'd be greatly appreciated. Thank you. So far I only have the var of...
file,flash,swf,edit,fla
I have one SWF file and i have few URLs inside, that i want to change. My question is how can i edit SWF file? Or when i decompiler it into FLA file, how can i edit it and compiler it againt back to SWF file? I decompiler it with...
actionscript-3,flash,flash-cs6,uiloader
I'm using a Loader to display a SWF. I have a button to load the SWF and I want that same button to close or hide or unload the SWF. Here's part of my code: var so:Boolean = false ; glossary.addEventListener(MouseEvent.CLICK, glossaire) function glossaire (e:MouseEvent) { var myLoader:Loader = new...
actionscript-3,flash,playlist
Help me please I need my AS3 FLVPlayback component sequentially play one play list xml and that this is repeated indefinitely, until the moment I got this code, which only lets you choose which video you want to play but do not go to the next automatically only stops... I...
arrays,actionscript-3,flash,actionscript,flash-cs5.5
If I have a multidimentional array, how can I acsess only the first value of the first dimention. I will Explain: sampleArray=new Array[]; sampleArray[0]=["Nouns","Adjectives","Verbs"]; sampleArray[1]=["Colors","Time","Sound]; sampleArray[0][0]=["Person","Place","Thing"] I would just like to get the word Nouns but when I try to get the value ofsampleArray[0][0] it will just result Person, Place,...
actionscript-3,flash
With following code I import an external swf file. When I try to reach a movieClip that is named as temaResim in imported swf, Flash gives me error ,cant find the movieclip. I am pretty sure that I have temaResim in imported swf file, any help will be very useful....