# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=534

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

**Page:** 535

---

## [Preloader stops when Refresh button is hit on IE6](https://forum.kirupa.com/t/preloader-stops-when-refresh-button-is-hit-on-ie6/294843)

<div class="topic-metadata">

**Author:** [@Maddug](https://forum.kirupa.com/u/Maddug)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:31pm UTC](https://forum.kirupa.com/t/preloader-stops-when-refresh-button-is-hit-on-ie6/294843 "2009-08-20T20:31:09Z")

</div>

Hi All, I have a Flash animation that uses a preloader with this code on frame 1 stop(); this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress); this.loaderInfo.addEventListener(Event.COMPLETE, onComp…

---

## [AS3 timeline / class interaction](https://forum.kirupa.com/t/as3-timeline-class-interaction/294840)

<div class="topic-metadata">

**Author:** [@Freeseus](https://forum.kirupa.com/u/Freeseus)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 7:21pm UTC](https://forum.kirupa.com/t/as3-timeline-class-interaction/294840 "2009-08-20T19:21:56Z")

</div>

I have a master swf that pulls in an external child swf. The master swf uses code on a the timeline. The child swf is created by AS files. I need the child swf to be able to call functions that reside on the master swf…

---

## [Trouble calling my own images in Thumbnail gallery](https://forum.kirupa.com/t/trouble-calling-my-own-images-in-thumbnail-gallery/294837)

<div class="topic-metadata">

**Author:** [@adoorajar](https://forum.kirupa.com/u/adoorajar)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 5:38pm UTC](https://forum.kirupa.com/t/trouble-calling-my-own-images-in-thumbnail-gallery/294837 "2009-08-20T17:38:45Z")

</div>

Hi, All~ This is my first post, and I've unsuccessfully tried to find the answer elsewhere in the forums. It is an embarrassingly silly problem. I have completed the excellent Flash Thumbnail Gallery Tutorial (and th…

---

## [Upload then display image in Flash](https://forum.kirupa.com/t/upload-then-display-image-in-flash/294835)

<div class="topic-metadata">

**Author:** [@davey](https://forum.kirupa.com/u/davey)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 4:54pm UTC](https://forum.kirupa.com/t/upload-then-display-image-in-flash/294835 "2009-08-20T16:54:31Z")

</div>

:sonic: Hi I found a file that lets me upload a file and display it but it's in AS2 not 3, plus this tutorial uses a scrollPane to output the upload to... Is there an easier method for doing this , or can I just convert …

---

## [Need help with particlesystem](https://forum.kirupa.com/t/need-help-with-particlesystem/294829)

<div class="topic-metadata">

**Author:** [@Ryoka87](https://forum.kirupa.com/u/Ryoka87)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 3:35pm UTC](https://forum.kirupa.com/t/need-help-with-particlesystem/294829 "2009-08-20T15:35:44Z")

</div>

Hey guys, im trying to create a particlesystem where each particle moves by himself depending on which behavior has been assigned to him. But.. its slower than my grandma at the moment so I could really use some adv…

---

## [Rewind Tween](https://forum.kirupa.com/t/rewind-tween/294825)

<div class="topic-metadata">

**Author:** [@thesprucegoose](https://forum.kirupa.com/u/thesprucegoose)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 2:29pm UTC](https://forum.kirupa.com/t/rewind-tween/294825 "2009-08-20T14:29:47Z")

</div>

Hello, I'm attempting to make a rewind function, but have no idea where to start. I have a movie that spans over 60 frames and rotates. I would like the user to be able to click a button and make the movie rewind and…

---

## [Drawing Diagonal Lines for a Background](https://forum.kirupa.com/t/drawing-diagonal-lines-for-a-background/294824)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:52pm UTC](https://forum.kirupa.com/t/drawing-diagonal-lines-for-a-background/294824 "2009-08-20T13:52:32Z")

</div>

Drawing diagonal lines for a background, any one know how to do it? thanks daidai :emb:

---

## [Loading data to swf - simple problem to solve](https://forum.kirupa.com/t/loading-data-to-swf-simple-problem-to-solve/294823)

<div class="topic-metadata">

**Author:** [@Bq86](https://forum.kirupa.com/u/Bq86)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 12:07pm UTC](https://forum.kirupa.com/t/loading-data-to-swf-simple-problem-to-solve/294823 "2009-08-20T12:07:58Z")

</div>

Hello, I have an .dat file from which I load data to my swf. The code looks like this: var loadGalerie = new LoadVars(); loadGalerie.onData = function (cnt) { var \_loc6 = cnt.split(" "); count = \_loc6.length; ga…

---

## [Custom easing function with bounce](https://forum.kirupa.com/t/custom-easing-function-with-bounce/294822)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 10:44am UTC](https://forum.kirupa.com/t/custom-easing-function-with-bounce/294822 "2009-08-20T10:44:18Z")

</div>

Hi. I've been trying to find an easing generator that supports bounce but have found none. I want to create an easing function that starts as a easeInSine (or quad) and ends as en easeOutBounce (imagine dropping an obj…

---

## [How to call java/c++ methods from flash](https://forum.kirupa.com/t/how-to-call-java-c-methods-from-flash/294819)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 9:53am UTC](https://forum.kirupa.com/t/how-to-call-java-c-methods-from-flash/294819 "2009-08-20T09:53:46Z")

</div>

Friends, How to call java/c++ methods from flash cs3/flash 8.0 ?? can you pls guide me on this.. i required both flash and c++/java codes... tell me wher to keep those places.... to run and see the desired output.. a…

---

## [AS3.0 Project Structure - Placement of Actionscript code](https://forum.kirupa.com/t/as3-0-project-structure-placement-of-actionscript-code/294816)

<div class="topic-metadata">

**Author:** [@JimTester](https://forum.kirupa.com/u/JimTester)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 8:22am UTC](https://forum.kirupa.com/t/as3-0-project-structure-placement-of-actionscript-code/294816 "2009-08-20T08:22:25Z")

</div>

Hi I hope you can help. Question How do you access a MovieClip on stage (which has an instance name) from within a .AS class file (where the class file is not the document class)? Background: I have an instance nam…

---

## [Capture screenshot of movieclip and display it in other movieclip](https://forum.kirupa.com/t/capture-screenshot-of-movieclip-and-display-it-in-other-movieclip/294812)

<div class="topic-metadata">

**Author:** [@patspats](https://forum.kirupa.com/u/patspats)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 5:29am UTC](https://forum.kirupa.com/t/capture-screenshot-of-movieclip-and-display-it-in-other-movieclip/294812 "2009-08-20T05:29:40Z")

</div>

hi there!!! I want to take screenshot of a movieclip and then display that screenshot in other movie clip. I dont want to save the screenshot so i dont think i need to use some server side scripting like Php....i jus…

---

## [Vertical Scroller for Rhamej's XML Gallery/Slideshow](https://forum.kirupa.com/t/vertical-scroller-for-rhamejs-xml-gallery-slideshow/294810)

<div class="topic-metadata">

**Author:** [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 5:01am UTC](https://forum.kirupa.com/t/vertical-scroller-for-rhamejs-xml-gallery-slideshow/294810 "2009-08-20T05:01:05Z")

</div>

I want to make the scroller vertical for this very impressive XML: http://www.kirupa.com/forum/showthread.php?t=202132&highlight=vertical I'm sorry for posting this question in here as usually you want to keep question…

---

## [TextFieldAutoSize.RIGHT;](https://forum.kirupa.com/t/textfieldautosize-right/294802)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 2:43am UTC](https://forum.kirupa.com/t/textfieldautosize-right/294802 "2009-08-20T02:43:40Z")

</div>

I'm looking for an explanation on why when I use TextFieldAutoSize.RIGHT; x != 0 Here my code package { import flash.events.\*; import flash.display.Sprite; import flash.text.TextField; import flas…

---

## [Help with some code](https://forum.kirupa.com/t/help-with-some-code/294799)

<div class="topic-metadata">

**Author:** [@Macros247](https://forum.kirupa.com/u/Macros247)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:59am UTC](https://forum.kirupa.com/t/help-with-some-code/294799 "2009-08-20T01:59:01Z")

</div>

View this first please!!!! http://spamtheweb.com/ul/upload/200809/10554\_example.swf Now what I want is the dog to disappear when you click button 1 and the cat to disappear when you click button 2. Simple right? But …

---

## [How to apply a TextFormat to a TextField in a super class?](https://forum.kirupa.com/t/how-to-apply-a-textformat-to-a-textfield-in-a-super-class/294798)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:58am UTC](https://forum.kirupa.com/t/how-to-apply-a-textformat-to-a-textfield-in-a-super-class/294798 "2009-08-20T01:58:20Z")

</div>

How can I apply a TextFormat to a TextField instance in a super class? // This doesn't seem to work: var textFormat:TextFormat = new TextFormat(); textFormat.size = 24; super.alertText.setTextFormat(text…

---

## [How to change dynamic text height in a menu](https://forum.kirupa.com/t/how-to-change-dynamic-text-height-in-a-menu/294797)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:29am UTC](https://forum.kirupa.com/t/how-to-change-dynamic-text-height-in-a-menu/294797 "2009-08-20T01:29:28Z")

</div>

I have a menu like the one here. I need some of the menus to be 2 lines and others single line. Basically, the menu is set to use dynamic text with multiple lines and word wrap inside a movie clip. So far, I can eithe…

---

## [Checking if string value is an integer](https://forum.kirupa.com/t/checking-if-string-value-is-an-integer/294790)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 11:38pm UTC](https://forum.kirupa.com/t/checking-if-string-value-is-an-integer/294790 "2009-08-19T23:38:29Z")

</div>

Is there a way to check if a string value loaded from a php script is actually a number? //Doesn't work even when the value of evt.data is an integer, because AS thinks it's a string: ... var returnValue:\* = evt.data;…

---

## [Flash WebSite logic](https://forum.kirupa.com/t/flash-website-logic/294789)

<div class="topic-metadata">

**Author:** [@spelltox](https://forum.kirupa.com/u/spelltox)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:45pm UTC](https://forum.kirupa.com/t/flash-website-logic/294789 "2009-08-19T22:45:38Z")

</div>

Hi Guys ! I'm new to flash (using cs3). I've built a website layot with a simple navBar and 3 pages, But there are 2 things going wrong there : take a look in the attached untitled-1.fla : The scroll bar only work…

---

## [Problems with Cue Points](https://forum.kirupa.com/t/problems-with-cue-points/294788)

<div class="topic-metadata">

**Author:** [@yateslevi](https://forum.kirupa.com/u/yateslevi)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:30pm UTC](https://forum.kirupa.com/t/problems-with-cue-points/294788 "2009-08-19T22:30:12Z")

</div>

Hello everyone, I'm hoping someone can help me out with this. What I want to do, is set cue points in my flash video and have the video pause when it gets to those points until the user clicks the "Continue" button, t…

---

## [currentFrame of movieclip](https://forum.kirupa.com/t/currentframe-of-movieclip/294787)

<div class="topic-metadata">

**Author:** [@AcolyTe](https://forum.kirupa.com/u/AcolyTe)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:16pm UTC](https://forum.kirupa.com/t/currentframe-of-movieclip/294787 "2009-08-19T22:16:23Z")

</div>

Does anyone know a good way to acquire the currentFrame of a movieclip symbol placed on the main timeline? currently there is only 1 frame, but the movieclip has 50. If i trace currentFrame, i only get 1. and tracing t…

---

## [FLVPlayback, bandwith useage](https://forum.kirupa.com/t/flvplayback-bandwith-useage/294786)

<div class="topic-metadata">

**Author:** [@anemor2000](https://forum.kirupa.com/u/anemor2000)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:12pm UTC](https://forum.kirupa.com/t/flvplayback-bandwith-useage/294786 "2009-08-19T22:12:13Z")

</div>

Hello you all, here is my problem : I am streaming a video with FLVPlayback, at some point I also load other swfs in my application (using Loader class, standard loading procedure). The problem is, when the video is str…

---

## [A Line From One Point Past Another Point, And Whether It Hits an Object?](https://forum.kirupa.com/t/a-line-from-one-point-past-another-point-and-whether-it-hits-an-object/294785)

<div class="topic-metadata">

**Author:** [@jebego](https://forum.kirupa.com/u/jebego)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:13pm UTC](https://forum.kirupa.com/t/a-line-from-one-point-past-another-point-and-whether-it-hits-an-object/294785 "2009-08-19T21:13:26Z")

</div>

I am using AS2 with Flash 8 Professional So, my problem is that I currently have a man in the middle of the screen, who shoots a line towards the mouse when I click. However, when I use hitTest to see if the line colli…

---

## [How did you learn actionscript?](https://forum.kirupa.com/t/how-did-you-learn-actionscript/294784)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:09pm UTC](https://forum.kirupa.com/t/how-did-you-learn-actionscript/294784 "2009-08-19T21:09:58Z")

</div>

I have been using Flash for several years now but I need to get serious about learning actionscript. I have done quite a few things with actionscript but I don't really understand it... I'm going to be starting a massive…

---

## [Simply change color of MC via FlashVars](https://forum.kirupa.com/t/simply-change-color-of-mc-via-flashvars/294783)

<div class="topic-metadata">

**Author:** [@Persistent1](https://forum.kirupa.com/u/Persistent1)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:01pm UTC](https://forum.kirupa.com/t/simply-change-color-of-mc-via-flashvars/294783 "2009-08-19T21:01:30Z")

</div>

I'm setting up a simple Flash file (AS3) & want to check a flashvar on the first frame of my movie. The flashvar would be boolean to switch between two different values. If the flashvar is true the background MC would be…

---

## [Fade in a picture](https://forum.kirupa.com/t/fade-in-a-picture/294782)

<div class="topic-metadata">

**Author:** [@khaggard](https://forum.kirupa.com/u/khaggard)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 8:56pm UTC](https://forum.kirupa.com/t/fade-in-a-picture/294782 "2009-08-19T20:56:33Z")

</div>

Hi, I would like my picture to fade in, how do I do it? I load my image like this: var imageFolder:String = "main\_pictures/"; var imageArray:Array = \[imageFolder + "picture.png"\]; //Container var imagecontainer:Sprit…

---

## [Days without accident counter](https://forum.kirupa.com/t/days-without-accident-counter/294781)

<div class="topic-metadata">

**Author:** [@TMC](https://forum.kirupa.com/u/TMC)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 8:47pm UTC](https://forum.kirupa.com/t/days-without-accident-counter/294781 "2009-08-19T20:47:31Z")

</div>

Hi! I'm looking for some help in creating a script for "Days without Accident" counter, that the end user would be able not only reset, but choose the number of days to begin the count down with, without interfering with…

---

## [AS3: unable to add a CLICK function to a class](https://forum.kirupa.com/t/as3-unable-to-add-a-click-function-to-a-class/294778)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 7:52pm UTC](https://forum.kirupa.com/t/as3-unable-to-add-a-click-function-to-a-class/294778 "2009-08-19T19:52:38Z")

</div>

When using the class listed below, I am unable to add a CLICK function that will not break the piece. I want to add another tween on CLICK that clears all mcs off of the stage except the e.target, which will have a zoom…

---

## [Nested textbox not displaying text](https://forum.kirupa.com/t/nested-textbox-not-displaying-text/294776)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 6:34pm UTC](https://forum.kirupa.com/t/nested-textbox-not-displaying-text/294776 "2009-08-19T18:34:49Z")

</div>

I made a movie clip to show instructions for a study people will participate in. I wanted to make it look nice so it has a lot of movement and fades and stuff. This required the use of more nested movie clips than i pr…

---

## [InFrame Target Question](https://forum.kirupa.com/t/inframe-target-question/294775)

<div class="topic-metadata">

**Author:** [@Monacle](https://forum.kirupa.com/u/Monacle)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 6:20pm UTC](https://forum.kirupa.com/t/inframe-target-question/294775 "2009-08-19T18:20:33Z")

</div>

I'm using CS4 Professional, and having a hard time emulating our old site. The original developer lost the .fla file, and decompilers have been no help in trying to extract what I need. Basically, I need a webpage to …

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=533)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=535)
