# flash

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

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

**Page:** 169

---

## [Can I change properties of an existing line?](https://forum.kirupa.com/t/can-i-change-properties-of-an-existing-line/321575)

<div class="topic-metadata">

**Author:** [@Hzle](https://forum.kirupa.com/u/Hzle)\
**Replies:** 0\
**Last updated:** [April 24, 2011, 11:19am UTC](https://forum.kirupa.com/t/can-i-change-properties-of-an-existing-line/321575 "2011-04-24T11:19:20Z")

</div>

So I draw a line using the graphics object on a Shape or Sprite, using something like: mySprite.graphics.lineStyle(1, 0x333333, 1, false, LineScaleMode.VERTICAL, CapsStyle.NONE, JointStyle.MITER, 10); mySprite.gra…

---

## [AS2 Preloader works only halfway thru shwing the last bytes being downloaded :(](https://forum.kirupa.com/t/as2-preloader-works-only-halfway-thru-shwing-the-last-bytes-being-downloaded/321572)

<div class="topic-metadata">

**Author:** [@plainman007](https://forum.kirupa.com/u/plainman007)\
**Replies:** 0\
**Last updated:** [April 24, 2011, 5:34am UTC](https://forum.kirupa.com/t/as2-preloader-works-only-halfway-thru-shwing-the-last-bytes-being-downloaded/321572 "2011-04-24T05:34:47Z")

</div>

AS2. Flash 8 Pro. Win XP Pro. I made a very simple preloader for a webpage NaviPage.swf. The entire page material is simply on one keyframe and there is no animation etc, just works on action script and works perfectly…

---

## [Mouse (grab)](https://forum.kirupa.com/t/mouse-grab/321571)

<div class="topic-metadata">

**Author:** [@DarkLink](https://forum.kirupa.com/u/DarkLink)\
**Replies:** 0\
**Last updated:** [April 24, 2011, 1:36am UTC](https://forum.kirupa.com/t/mouse-grab/321571 "2011-04-24T01:36:13Z")

</div>

I'm trying to create an interactive mouse that mimics the hand cursor you see in pdf files and other programs. There's two movieclips I want to use for the cursor. The open hand and the grab. I can get the cursor to w…

---

## [Image mouseover Fade flicker problem](https://forum.kirupa.com/t/image-mouseover-fade-flicker-problem/321570)

<div class="topic-metadata">

**Author:** [@awa202](https://forum.kirupa.com/u/awa202)\
**Replies:** 0\
**Last updated:** [April 23, 2011, 11:39pm UTC](https://forum.kirupa.com/t/image-mouseover-fade-flicker-problem/321570 "2011-04-23T23:39:15Z")

</div>

hi guys just been trying to fade one image into another on mouse over. found a .fla template which does it for me and have applied my images to it. works how i want it to - image 1 fades into image 2 on mouse over, then …

---

## [I need help with this one](https://forum.kirupa.com/t/i-need-help-with-this-one/321569)

<div class="topic-metadata">

**Author:** [@simplykool](https://forum.kirupa.com/u/simplykool)\
**Replies:** 0\
**Last updated:** [April 23, 2011, 11:06pm UTC](https://forum.kirupa.com/t/i-need-help-with-this-one/321569 "2011-04-23T23:06:48Z")

</div>

Hello everyone… I need help in my flash… i am new to flash and still exploring on it… i got this flash website where i dont need the full website but just need the menu… now after going throw it almost a week i tried…

---

## [\[Flash CS5\] floating leaves/petals, need help!](https://forum.kirupa.com/t/flash-cs5-floating-leaves-petals-need-help/321568)

<div class="topic-metadata">

**Author:** [@marisama](https://forum.kirupa.com/u/marisama)\
**Replies:** 0\
**Last updated:** [April 23, 2011, 9:20pm UTC](https://forum.kirupa.com/t/flash-cs5-floating-leaves-petals-need-help/321568 "2011-04-23T21:20:41Z")

</div>

What I'm trying to accomplish is to construct a movie clip using actionscripting. I have 6 small flower/petal .png's to use, which i want to randomly spawn and waft down through the movie clip at the rate of falling snow…

---

## [Strsnge behavior from a loaded SWF](https://forum.kirupa.com/t/strsnge-behavior-from-a-loaded-swf/321567)

<div class="topic-metadata">

**Author:** [@rrobnett](https://forum.kirupa.com/u/rrobnett)\
**Replies:** 0\
**Last updated:** [April 23, 2011, 6:42pm UTC](https://forum.kirupa.com/t/strsnge-behavior-from-a-loaded-swf/321567 "2011-04-23T18:42:35Z")

</div>

I am trying to figure out why changes to variables and elements are not reflected when one SWF is loaded into another. main.swf var myLoader:Loader = new Loader(); myLoader.load(new URLRequest("products.swf")); myLo…

---

## [Error, ofcourse, 1009](https://forum.kirupa.com/t/error-ofcourse-1009/321566)

<div class="topic-metadata">

**Author:** [@lordmasta](https://forum.kirupa.com/u/lordmasta)\
**Replies:** 0\
**Last updated:** [April 23, 2011, 6:29pm UTC](https://forum.kirupa.com/t/error-ofcourse-1009/321566 "2011-04-23T18:29:43Z")

</div>

i've been all over the web looking for a fix but somereason cannot fix it check it out i am doing this with out oop, the first code is my main, the next is my Rose class. import flash.display.MovieClip; import flash…

---

## [Auto resize flash](https://forum.kirupa.com/t/auto-resize-flash/321565)

<div class="topic-metadata">

**Author:** [@DarkLink](https://forum.kirupa.com/u/DarkLink)\
**Replies:** 0\
**Last updated:** [April 23, 2011, 6:17pm UTC](https://forum.kirupa.com/t/auto-resize-flash/321565 "2011-04-23T18:17:42Z")

</div>

I'd like to auto resize multiple swfs contained in one page (webpage) when viewing it in a web browser. I have 3 swf in one html file and would like to have them all auto resize when the window resizes so that people ca…

---

## [Character Animation - Stand/Walk Cycles](https://forum.kirupa.com/t/character-animation-stand-walk-cycles/321563)

<div class="topic-metadata">

**Author:** [@mcornelius](https://forum.kirupa.com/u/mcornelius)\
**Replies:** 0\
**Last updated:** [April 23, 2011, 5:33pm UTC](https://forum.kirupa.com/t/character-animation-stand-walk-cycles/321563 "2011-04-23T17:33:30Z")

</div>

Ok, I hope somebody can help. What am I doing wrong? I'm a total newb at Flash, but I'd really like to make this work. I've been working with an example of code I've found, trying to make my character respond to key inpu…

---

## [Particles cause lag](https://forum.kirupa.com/t/particles-cause-lag/321552)

<div class="topic-metadata">

**Author:** [@John4213](https://forum.kirupa.com/u/John4213)\
**Replies:** 0\
**Last updated:** [April 22, 2011, 8:27pm UTC](https://forum.kirupa.com/t/particles-cause-lag/321552 "2011-04-22T20:27:01Z")

</div>

Hey, I've made it so when you die in my game, you explode into 20 particles which usually lags the game, especially if it's being played in a browser. I'm pretty sure that it's just because of the graphics, but has an…

---

## [Print problem in flash. Is there onPrintFinished event or similar?](https://forum.kirupa.com/t/print-problem-in-flash-is-there-onprintfinished-event-or-similar/321551)

<div class="topic-metadata">

**Author:** [@bobetko](https://forum.kirupa.com/u/bobetko)\
**Replies:** 0\
**Last updated:** [April 22, 2011, 8:06pm UTC](https://forum.kirupa.com/t/print-problem-in-flash-is-there-onprintfinished-event-or-similar/321551 "2011-04-22T20:06:53Z")

</div>

Who can explain why mc2 movie gets printed in snippet below? mc1.\_visible = true; mc2.\_visible = false; printNum (0, "bmovie"); mc2.\_visible = true; If I comment last line then mc2 is not printed. I assume the reason…

---

## [Get rid of confirmation message when closing flash pop up](https://forum.kirupa.com/t/get-rid-of-confirmation-message-when-closing-flash-pop-up/321546)

<div class="topic-metadata">

**Author:** [@nakanaka](https://forum.kirupa.com/u/nakanaka)\
**Replies:** 0\
**Last updated:** [April 22, 2011, 4:42pm UTC](https://forum.kirupa.com/t/get-rid-of-confirmation-message-when-closing-flash-pop-up/321546 "2011-04-22T16:42:07Z")

</div>

\[FONT=Calibri\] Hi, \[/FONT\] \[FONT=Calibri\] I have a parent window that has a flash movie embedded in it. When a certain button is clicked inside the flash movie, it calls a a pop up javascript function to pop up a w…

---

## [If your scrollbar is vertical for more than 8 hours call your doctor!](https://forum.kirupa.com/t/if-your-scrollbar-is-vertical-for-more-than-8-hours-call-your-doctor/321533)

<div class="topic-metadata">

**Author:** [@simranzenov](https://forum.kirupa.com/u/simranzenov)\
**Replies:** 0\
**Last updated:** [April 22, 2011, 4:46am UTC](https://forum.kirupa.com/t/if-your-scrollbar-is-vertical-for-more-than-8-hours-call-your-doctor/321533 "2011-04-22T04:46:16Z")

</div>

This is my first time skinning a scrollbar and I ran into a issue. The button I click and hold to scroll up and down changes in size depending on how much content there is. Is there a way to keep the button from changin…

---

## [TextFlow size](https://forum.kirupa.com/t/textflow-size/321532)

<div class="topic-metadata">

**Author:** [@kleelof](https://forum.kirupa.com/u/kleelof)\
**Replies:** 0\
**Last updated:** [April 22, 2011, 4:04am UTC](https://forum.kirupa.com/t/textflow-size/321532 "2011-04-22T04:04:57Z")

</div>

Hello, Anyone here know how to get the final size of a TextFlow object after performing the following call: textFlow = TextConverter.importToFlow (S, TextConverter .TEXT\_FIELD\_HTML\_FORMAT); I have tried measu…

---

## [How do I import an .swf so it is centered on the stage?](https://forum.kirupa.com/t/how-do-i-import-an-swf-so-it-is-centered-on-the-stage/321530)

<div class="topic-metadata">

**Author:** [@jimr](https://forum.kirupa.com/u/jimr)\
**Replies:** 0\
**Last updated:** [April 22, 2011, 1:53am UTC](https://forum.kirupa.com/t/how-do-i-import-an-swf-so-it-is-centered-on-the-stage/321530 "2011-04-22T01:53:21Z")

</div>

How do I import a .swf so that the entire thing--all 50 frames of it in the case of the animation I'm importing--is centered on the Flash Stage? (I am using CS5). When I import it now it's automatically positioned in …

---

## [Lottery balls floating, bouncing](https://forum.kirupa.com/t/lottery-balls-floating-bouncing/321527)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 11:14pm UTC](https://forum.kirupa.com/t/lottery-balls-floating-bouncing/321527 "2011-04-21T23:14:30Z")

</div>

Trying to wrap my mind around how lottery balls fly around in those air bubbles. They are pushed up and around I assume, and they bounce off each other and the round sides of the container. I have been searching for ex…

---

## [Newline (\\n) confusion](https://forum.kirupa.com/t/newline-n-confusion/321524)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 9:01pm UTC](https://forum.kirupa.com/t/newline-n-confusion/321524 "2011-04-21T21:01:18Z")

</div>

Hello all, I'm wondering why there is a behavior difference where a newline character ( ) is involved, between a string:String and a string represented by textField.text. To wit: var str:String = "Hello world"; trace…

---

## [Reversing Movie Clip](https://forum.kirupa.com/t/reversing-movie-clip/321521)

<div class="topic-metadata">

**Author:** [@biggell014](https://forum.kirupa.com/u/biggell014)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 8:09pm UTC](https://forum.kirupa.com/t/reversing-movie-clip/321521 "2011-04-21T20:09:05Z")

</div>

Hi guys. I am trying to have a small simple animation. This animation needs to have a roll over listener. This roll over listener must begin a downward motion for this movie clip. And then another listener must be a clic…

---

## [A little help with dictionary indexing](https://forum.kirupa.com/t/a-little-help-with-dictionary-indexing/321518)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 6:21pm UTC](https://forum.kirupa.com/t/a-little-help-with-dictionary-indexing/321518 "2011-04-21T18:21:23Z")

</div>

I have a number of movieclips on the stage, each has a number of child MCs. The parent MC represent files and the child MC represent targets. This is a tool for "mapping out" a story-lin scenario graphically and producin…

---

## [Error 1013 Issue!](https://forum.kirupa.com/t/error-1013-issue/321517)

<div class="topic-metadata">

**Author:** [@kbowk](https://forum.kirupa.com/u/kbowk)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 5:53pm UTC](https://forum.kirupa.com/t/error-1013-issue/321517 "2011-04-21T17:53:04Z")

</div>

Hi there, I had this class working fine but i've just added some more functions and now im getting thrown this error: 1013: The private attribute may be used only on class property definitions. I really don't underst…

---

## [How can I fix this error?](https://forum.kirupa.com/t/how-can-i-fix-this-error/321516)

<div class="topic-metadata">

**Author:** [@vinnieb](https://forum.kirupa.com/u/vinnieb)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 4:51pm UTC](https://forum.kirupa.com/t/how-can-i-fix-this-error/321516 "2011-04-21T16:51:10Z")

</div>

Hi, I am working on a piece of code and I get an error which i dont know how to fix. The piece of code below is AS2, I am trying to get it in a AS3 class. The problem is that the "dp" and the "v" variable give a duplic…

---

## [Flash (AS3) to PHP issues](https://forum.kirupa.com/t/flash-as3-to-php-issues/321515)

<div class="topic-metadata">

**Author:** [@jc\_021286](https://forum.kirupa.com/u/jc_021286)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 4:31pm UTC](https://forum.kirupa.com/t/flash-as3-to-php-issues/321515 "2011-04-21T16:31:43Z")

</div>

Hi there, I'm new to flash and more so to PHP. I've been struggling with some tutorials at getting this to work. Source files are attached with php included. Right now, I've been struggling with having AS3 send somethi…

---

## [Call function in function](https://forum.kirupa.com/t/call-function-in-function/321508)

<div class="topic-metadata">

**Author:** [@wouter11](https://forum.kirupa.com/u/wouter11)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 12:14pm UTC](https://forum.kirupa.com/t/call-function-in-function/321508 "2011-04-21T12:14:52Z")

</div>

Hi all, I have a bit of a problem. Im starting in flash, and well now i want to call a function in a function. Because i've got multiple album arts and when the mouse over they have to zoomIn. Well i already got the zo…

---

## [AS3 Image fill preloader](https://forum.kirupa.com/t/as3-image-fill-preloader/321507)

<div class="topic-metadata">

**Author:** [@robinsnuggs](https://forum.kirupa.com/u/robinsnuggs)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 12:00pm UTC](https://forum.kirupa.com/t/as3-image-fill-preloader/321507 "2011-04-21T12:00:06Z")

</div>

hi all, Im somewhat a newbie to as3, ive tried making a image fill preloader using masks etc. When publishing its just showing my preloader not continuing to my content. which is on frame 11. I was wondering if anyne …

---

## [Remote Loading](https://forum.kirupa.com/t/remote-loading/321506)

<div class="topic-metadata">

**Author:** [@Nebulous](https://forum.kirupa.com/u/Nebulous)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 11:50am UTC](https://forum.kirupa.com/t/remote-loading/321506 "2011-04-21T11:50:28Z")

</div>

Hi, I have written a game library for the company I work for, which gets remotely downloaded from our servers. This all works fine, the problem is I am trying to integrate a third party API into our API which works i…

---

## [Communicating between two classes](https://forum.kirupa.com/t/communicating-between-two-classes/321505)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 11:40am UTC](https://forum.kirupa.com/t/communicating-between-two-classes/321505 "2011-04-21T11:40:57Z")

</div>

Hey, I have a custom keyboard class. The second class is having a textBox as its child and my custom keyboard's object as child. When the key in the custom keyboard is clicked, how can i update the value in the text box? …

---

## [Random sum](https://forum.kirupa.com/t/random-sum/321504)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 11:21am UTC](https://forum.kirupa.com/t/random-sum/321504 "2011-04-21T11:21:49Z")

</div>

I want to have 4 randomly generated variables whose sum is equal to hundred. Not sure of finding the appropriate way to do it. Please help.

---

## [FMS - How to Detect Latency](https://forum.kirupa.com/t/fms-how-to-detect-latency/321497)

<div class="topic-metadata">

**Author:** [@varunsoni\_sps](https://forum.kirupa.com/u/varunsoni_sps)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 6:59am UTC](https://forum.kirupa.com/t/fms-how-to-detect-latency/321497 "2011-04-21T06:59:27Z")

</div>

Hi, I need to calculate the latency means time difference between the two user machines the scenario is: App 1 publishes stream App 2 play the stream published by App 1 Now in App 2 I need to show the time dif…

---

## [To find we have given an listener to stage](https://forum.kirupa.com/t/to-find-we-have-given-an-listener-to-stage/321496)

<div class="topic-metadata">

**Author:** [@microScript](https://forum.kirupa.com/u/microScript)\
**Replies:** 0\
**Last updated:** [April 21, 2011, 6:32am UTC](https://forum.kirupa.com/t/to-find-we-have-given-an-listener-to-stage/321496 "2011-04-21T06:32:49Z")

</div>

Hi guys, I have created a listener for stage in a function. The same function is called by another function. Now I need to check with a condition that whether the stage listener is present or not. stage.addEventLi…

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

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