# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=212

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 213

---

## [Easing with tweens and Actionscript](https://forum.kirupa.com/t/easing-with-tweens-and-actionscript/326005)

<div class="topic-metadata">

**Author:** [@Shardz](https://forum.kirupa.com/u/Shardz)\
**Replies:** 0\
**Last updated:** [November 16, 2011, 5:42pm UTC](https://forum.kirupa.com/t/easing-with-tweens-and-actionscript/326005 "2011-11-16T17:42:32Z")

</div>

Hey guys! So I've been working on this project for a little while now and many of you have helped me get as far in it as I am now and I am very grateful. However I need help with another thing before I can continue on wi…

---

## [Please help me think. Still having text alpha issue ONLY with stupid IE](https://forum.kirupa.com/t/please-help-me-think-still-having-text-alpha-issue-only-with-stupid-ie/326004)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [November 16, 2011, 4:39pm UTC](https://forum.kirupa.com/t/please-help-me-think-still-having-text-alpha-issue-only-with-stupid-ie/326004 "2011-11-16T16:39:51Z")

</div>

Yesterday I thought I hated IE, today all doubt is gone. I have a swf that is placed on the page with JS (I did not author this). There are 3 buttons on this swf. When a user hovers over the button transitions to gray …

---

## [HELP! Hide/Stop MC when a second MC starts](https://forum.kirupa.com/t/help-hide-stop-mc-when-a-second-mc-starts/325998)

<div class="topic-metadata">

**Author:** [@stephRP](https://forum.kirupa.com/u/stephRP)\
**Replies:** 0\
**Last updated:** [November 16, 2011, 12:30pm UTC](https://forum.kirupa.com/t/help-hide-stop-mc-when-a-second-mc-starts/325998 "2011-11-16T12:30:55Z")

</div>

Hi, I am quite new to Actionscript and am currently creating a page that contains a number of movie clips where when the mouse goes over the movie clips, the mc (which is a photo) enlarges on the screen. Currently…

---

## [Predicting the external SWF content](https://forum.kirupa.com/t/predicting-the-external-swf-content/325996)

<div class="topic-metadata">

**Author:** [@GiGaGiG](https://forum.kirupa.com/u/GiGaGiG)\
**Replies:** 0\
**Last updated:** [November 16, 2011, 11:05am UTC](https://forum.kirupa.com/t/predicting-the-external-swf-content/325996 "2011-11-16T11:05:50Z")

</div>

Hi, I am importing an SWF as library at runtime private function loadDeck(str:String) { var ldr:Loader = new Loader(); var request:URLRequest = new URLRequest(str); var ldrContext:LoaderContext = new Load…

---

## [Can't override addEventListener function to remove all eventListener](https://forum.kirupa.com/t/cant-override-addeventlistener-function-to-remove-all-eventlistener/325994)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [November 16, 2011, 10:05am UTC](https://forum.kirupa.com/t/cant-override-addeventlistener-function-to-remove-all-eventlistener/325994 "2011-11-16T10:05:34Z")

</div>

I'm trying to override the addEventListener function to input an extra line of code to put the event listener type in an array so I can remove it all at once. But the override function doesn't seems to run. :-/ overri…

---

## [Text field not updating](https://forum.kirupa.com/t/text-field-not-updating/325993)

<div class="topic-metadata">

**Author:** [@Robert\_Ahlers](https://forum.kirupa.com/u/Robert_Ahlers)\
**Replies:** 0\
**Last updated:** [November 16, 2011, 1:54am UTC](https://forum.kirupa.com/t/text-field-not-updating/325993 "2011-11-16T01:54:00Z")

</div>

private var lvl:Number = 0; private var total:Number = 0; private var fast:Number = 9999999999; private var time:Timer = new Timer(1); lvl++; tot…

---

## [HELP! Text in SWF not visible. I am starting to hate IE](https://forum.kirupa.com/t/help-text-in-swf-not-visible-i-am-starting-to-hate-ie/325992)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 9:52pm UTC](https://forum.kirupa.com/t/help-text-in-swf-not-visible-i-am-starting-to-hate-ie/325992 "2011-11-15T21:52:10Z")

</div>

I have a SWF with a few buttons. The text on the buttons does not show up, as if the alpha is set to zero. This only seems to happen with certain versions of IE in combination with certain versions of Windows. This is …

---

## [Release custom cursor after drag actions complete](https://forum.kirupa.com/t/release-custom-cursor-after-drag-actions-complete/325990)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 8:51pm UTC](https://forum.kirupa.com/t/release-custom-cursor-after-drag-actions-complete/325990 "2011-11-15T20:51:25Z")

</div>

I have an FLA that "erases" an image to reveal something below, at which point the cursor (an eraser bitmap) needs to be released in order for the user to use it to click a print button. You can click the print button wi…

---

## [Memory leaks in loading/unloading pictures](https://forum.kirupa.com/t/memory-leaks-in-loading-unloading-pictures/325986)

<div class="topic-metadata">

**Author:** [@drxnele](https://forum.kirupa.com/u/drxnele)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 4:15pm UTC](https://forum.kirupa.com/t/memory-leaks-in-loading-unloading-pictures/325986 "2011-11-15T16:15:40Z")

</div>

I load image from url like this imageholder = this.attachMovie("imageholder", "image", this.getNextHighestDepth()); imageholder.swapDepths(selectMenu); loader.loadClip(uri, imageholder.bigImage\_mc); this== root, …

---

## [Color depth](https://forum.kirupa.com/t/color-depth/325985)

<div class="topic-metadata">

**Author:** [@drxnele](https://forum.kirupa.com/u/drxnele)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 4:11pm UTC](https://forum.kirupa.com/t/color-depth/325985 "2011-11-15T16:11:40Z")

</div>

Hi guys, can someone please tell me how to decrease color depth of my flash app from 32byte to 16 or 24? I am using Adobe Flash CS5, and I can't find anywhere this option. Big thanks, drxnele

---

## [How to stay on same page when using the browser back button?](https://forum.kirupa.com/t/how-to-stay-on-same-page-when-using-the-browser-back-button/325983)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 3:20pm UTC](https://forum.kirupa.com/t/how-to-stay-on-same-page-when-using-the-browser-back-button/325983 "2011-11-15T15:20:45Z")

</div>

Hi, I am facing the following problem. Please help me to resolve it. I have a demo website consist of 3 pages. 1) Home\_mc 2) Safety\_mc 3) Portfolio\_mc The second page Safety\_mc has some external links to .pdf & .…

---

## [Please change AS2 to AS3 urgent](https://forum.kirupa.com/t/please-change-as2-to-as3-urgent/325982)

<div class="topic-metadata">

**Author:** [@faisal186](https://forum.kirupa.com/u/faisal186)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 3:17pm UTC](https://forum.kirupa.com/t/please-change-as2-to-as3-urgent/325982 "2011-11-15T15:17:58Z")

</div>

stop(); System.useCodepage = true; btn1.onRelease = function() { my\_vars = new LoadVars(); my\_vars.sender = email\_box.text; my\_vars.subject = subject\_box.text; my\_vars.message = message\_box.text; my\_v…

---

## [Monospace any font?](https://forum.kirupa.com/t/monospace-any-font/325981)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 3:10pm UTC](https://forum.kirupa.com/t/monospace-any-font/325981 "2011-11-15T15:10:13Z")

</div>

Probably a dumb question, but is it possible to monospace(fixed width) a font which is not monospace? I hate all the monospace fonts and was wondering if it is at all possible. I know you can set letterSpacing, but it wo…

---

## [Rotatetransform with DoubleAnimationUsingKeyFrames (silverlight, c#)](https://forum.kirupa.com/t/rotatetransform-with-doubleanimationusingkeyframes-silverlight-c/325979)

<div class="topic-metadata">

**Author:** [@kaguniak](https://forum.kirupa.com/u/kaguniak)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 1:52pm UTC](https://forum.kirupa.com/t/rotatetransform-with-doubleanimationusingkeyframes-silverlight-c/325979 "2011-11-15T13:52:27Z")

</div>

Hi, I have a problem with my project, I have to make a storyboard in c# Could anybody tell me why this storyboard doesn't work? private void ellipse2\_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { …

---

## [Load AS1 swf into AS3](https://forum.kirupa.com/t/load-as1-swf-into-as3/325973)

<div class="topic-metadata">

**Author:** [@free\_space](https://forum.kirupa.com/u/free_space)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 3:32am UTC](https://forum.kirupa.com/t/load-as1-swf-into-as3/325973 "2011-11-15T03:32:04Z")

</div>

Hello! I have an AS1 swf movie (I also have the .fla), but it has a lot of code and frames. I don't want to make the translation to AS3 and remake the entire project. It would take me time. The AS1 swf is perfect and…

---

## [Should i stop my project on AS3?](https://forum.kirupa.com/t/should-i-stop-my-project-on-as3/325972)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [November 15, 2011, 12:17am UTC](https://forum.kirupa.com/t/should-i-stop-my-project-on-as3/325972 "2011-11-15T00:17:21Z")

</div>

Hello... Lots is going on. I have just been asked to do a project that i can do it in flash cause of its interactivity and graphical comunication and so on... its like an interactive map, VERY interactive. BUT, came the…

---

## [Variable in external XML](https://forum.kirupa.com/t/variable-in-external-xml/325968)

<div class="topic-metadata">

**Author:** [@salvadore](https://forum.kirupa.com/u/salvadore)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 7:34pm UTC](https://forum.kirupa.com/t/variable-in-external-xml/325968 "2011-11-14T19:34:06Z")

</div>

Hi, can someone please tell me if this is possible. I have external XML, for example: \<node\>\<!\[CDATA\[Some text {VARIABLE} and some more text\]\]\>\</node\> Then in Flash, when XML loads, I want to assign {VARIABLE} wit…

---

## [\[AS2\] Character gets stuck in corners, need help](https://forum.kirupa.com/t/as2-character-gets-stuck-in-corners-need-help/325966)

<div class="topic-metadata">

**Author:** [@revin](https://forum.kirupa.com/u/revin)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 6:29pm UTC](https://forum.kirupa.com/t/as2-character-gets-stuck-in-corners-need-help/325966 "2011-11-14T18:29:52Z")

</div>

here is the link to the flash : http://www.swfme.com/view/1211482 \[early version\] http://raptor.x10.mx/index.php \[latest\] and here is my flash file: http://www.zshare.net/download/96025525599154c2/ whenever you clic…

---

## [\[AS3\] enemy array](https://forum.kirupa.com/t/as3-enemy-array/325964)

<div class="topic-metadata">

**Author:** [@kestor](https://forum.kirupa.com/u/kestor)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 6:22pm UTC](https://forum.kirupa.com/t/as3-enemy-array/325964 "2011-11-14T18:22:23Z")

</div>

Hello there. I know close to nothing about arrays. What im trying to do is push the enemies into an array and from enemy class the HP of enemys comes. But after 2-3 hours of trying, the second enemy spawns and first diss…

---

## [Calling Javascript function from Flash](https://forum.kirupa.com/t/calling-javascript-function-from-flash/325961)

<div class="topic-metadata">

**Author:** [@marycb](https://forum.kirupa.com/u/marycb)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 2:08pm UTC](https://forum.kirupa.com/t/calling-javascript-function-from-flash/325961 "2011-11-14T14:08:46Z")

</div>

Hi, I am trying to call a Javascript function in flash. I am able to call the function using the following code: ExternalInterface.call("alert"); I have a flash movie and I want the javascript function to be ca…

---

## [Zoom And Pan By Shift And Control + Mouse Move](https://forum.kirupa.com/t/zoom-and-pan-by-shift-and-control-mouse-move/325959)

<div class="topic-metadata">

**Author:** [@mrhartsclube](https://forum.kirupa.com/u/mrhartsclube)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 11:40am UTC](https://forum.kirupa.com/t/zoom-and-pan-by-shift-and-control-mouse-move/325959 "2011-11-14T11:40:12Z")

</div>

Hi Dear Friends! Please Somebody Response Me!!! I Want To Do The Same Like This In AS2 PLEASE HELP ME \[frowning\]

---

## [FMS - get directory](https://forum.kirupa.com/t/fms-get-directory/325958)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 9:46am UTC](https://forum.kirupa.com/t/fms-get-directory/325958 "2011-11-14T09:46:41Z")

</div>

Short and concise : How do i access the file directory on my fms server? For instance, if i have 10 recordings on my server, how do i return the available recording-names on my server to the application? Thanks

---

## [About Cleaning up junk (garbage collector)](https://forum.kirupa.com/t/about-cleaning-up-junk-garbage-collector/325954)

<div class="topic-metadata">

**Author:** [@youwh](https://forum.kirupa.com/u/youwh)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 7:21am UTC](https://forum.kirupa.com/t/about-cleaning-up-junk-garbage-collector/325954 "2011-11-14T07:21:28Z")

</div>

Lets say a scene started off around 70-80mb, it loaded a swf in, and by removing the event listener and setting objects to null and numbers to 0 before unloading the swf, and went back to the original scene, the memory s…

---

## [How can i load files from local disk to flash movie](https://forum.kirupa.com/t/how-can-i-load-files-from-local-disk-to-flash-movie/325953)

<div class="topic-metadata">

**Author:** [@ashishkummar](https://forum.kirupa.com/u/ashishkummar)\
**Replies:** 0\
**Last updated:** [November 14, 2011, 6:42am UTC](https://forum.kirupa.com/t/how-can-i-load-files-from-local-disk-to-flash-movie/325953 "2011-11-14T06:42:10Z")

</div>

Hi all I got a very nice article to load files from local disk to flash movie di\*\*rectly.\*\* article link : http://www.kirupa.com/developer/as3/loading\_files\_disk\_pg1.htm i want to do same thing using as2.0 Kindl…

---

## [Javascript Inside Itself (sort of)](https://forum.kirupa.com/t/javascript-inside-itself-sort-of/325950)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [November 13, 2011, 10:43pm UTC](https://forum.kirupa.com/t/javascript-inside-itself-sort-of/325950 "2011-11-13T22:43:09Z")

</div>

Hello there, I am using a modal box library called Fallr with Jquery. What I am wishing to do, is inside of the Fallr call script, have another script that gets the ids of divs with the class "heriyah". This all work…

---

## [\[AS3\] gotoAndPlay strage problem](https://forum.kirupa.com/t/as3-gotoandplay-strage-problem/325949)

<div class="topic-metadata">

**Author:** [@kestor](https://forum.kirupa.com/u/kestor)\
**Replies:** 0\
**Last updated:** [November 13, 2011, 8:40pm UTC](https://forum.kirupa.com/t/as3-gotoandplay-strage-problem/325949 "2011-11-13T20:40:11Z")

</div>

Hello there. For some reason when Enemy1Hp reaches 0 and i say gotoAndPlay(61) it wont play that animation, it just stops on frame(61) and stoped remains. This is the code inside Enemy11.as package { …

---

## [Progress Bars not working once i Publish Flash site](https://forum.kirupa.com/t/progress-bars-not-working-once-i-publish-flash-site/325948)

<div class="topic-metadata">

**Author:** [@bigcat411](https://forum.kirupa.com/u/bigcat411)\
**Replies:** 0\
**Last updated:** [November 13, 2011, 6:10pm UTC](https://forum.kirupa.com/t/progress-bars-not-working-once-i-publish-flash-site/325948 "2011-11-13T18:10:23Z")

</div>

I am working on a portfolio site to display images. I have 2 frames, the first contains a progress bar and this code: stop(); import flash.display.\*; this.stop(); this.loaderInfo.addEventListener (ProgressEvent.…

---

## [MovieClip still exists without being displayed](https://forum.kirupa.com/t/movieclip-still-exists-without-being-displayed/325944)

<div class="topic-metadata">

**Author:** [@coggia](https://forum.kirupa.com/u/coggia)\
**Replies:** 0\
**Last updated:** [November 13, 2011, 2:42pm UTC](https://forum.kirupa.com/t/movieclip-still-exists-without-being-displayed/325944 "2011-11-13T14:42:40Z")

</div>

Hello everyone, I'm callinf for help because I get a weird problem : I add a movie clip on a displayobject like this : (mc is a MovieClip with frames on it) mc = new Mc(); levels.addChild(mc); So here it is, my mc…

---

## [Need help with flash gallery](https://forum.kirupa.com/t/need-help-with-flash-gallery/325943)

<div class="topic-metadata">

**Author:** [@dookster](https://forum.kirupa.com/u/dookster)\
**Replies:** 0\
**Last updated:** [November 13, 2011, 1:26pm UTC](https://forum.kirupa.com/t/need-help-with-flash-gallery/325943 "2011-11-13T13:26:56Z")

</div>

Hi Guys And Gals , I have a flash gallery from tony Yoo, which is great and works really well i have customised some of the layout but would like to have Larger pictures for the category section I cant seem to get my hea…

---

## [Hittest actionscript 3](https://forum.kirupa.com/t/hittest-actionscript-3/325942)

<div class="topic-metadata">

**Author:** [@thomasthooft](https://forum.kirupa.com/u/thomasthooft)\
**Replies:** 0\
**Last updated:** [November 13, 2011, 10:55am UTC](https://forum.kirupa.com/t/hittest-actionscript-3/325942 "2011-11-13T10:55:32Z")

</div>

Hello, I'm trying to check if 2 movieclips hit each other. I know you use the command "hitTestObject". That is working good but I use this in combination with a tweenlite.to. code: TweenLite.to(tvirus,1,{y:stage.stag…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=211)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=213)
