# flash

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

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

**Page:** 178

---

## [Question about my Drag and Drop script](https://forum.kirupa.com/t/question-about-my-drag-and-drop-script/320910)

<div class="topic-metadata">

**Author:** [@mikalh78](https://forum.kirupa.com/u/mikalh78)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 1:24pm UTC](https://forum.kirupa.com/t/question-about-my-drag-and-drop-script/320910 "2011-04-05T13:24:30Z")

</div>

I have a drag and drop interactivity and I have this script (below). What I want to add in but not sure how, is that if the user drags the wrong object to the main box it will make that object disappear. As well if the u…

---

## [Dynamic blur performance issues](https://forum.kirupa.com/t/dynamic-blur-performance-issues/320907)

<div class="topic-metadata">

**Author:** [@tatsumaru](https://forum.kirupa.com/u/tatsumaru)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 12:41pm UTC](https://forum.kirupa.com/t/dynamic-blur-performance-issues/320907 "2011-04-05T12:41:50Z")

</div>

Hi there, I have been attempting to create a dynamic blur effect which can be applied to several MC's on screen at once using varied levels of blur (from 0 - 200 roughly and minimum quality). My code is set up so that …

---

## [SlideShow as3](https://forum.kirupa.com/t/slideshow-as3/320906)

<div class="topic-metadata">

**Author:** [@kbdi](https://forum.kirupa.com/u/kbdi)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 12:17pm UTC](https://forum.kirupa.com/t/slideshow-as3/320906 "2011-04-05T12:17:57Z")

</div>

Hi. I'm new to AS3, and I have a class file that displays a slideshow and preloads each image in an xml file. the code is below. What I want to know is, is there any way to improve this code? The code works, but I feel l…

---

## [Enter frame, if, for](https://forum.kirupa.com/t/enter-frame-if-for/320904)

<div class="topic-metadata">

**Author:** [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 11:31am UTC](https://forum.kirupa.com/t/enter-frame-if-for/320904 "2011-04-05T11:31:38Z")

</div>

Maybe this will help those who don't understand what happens in an enter frame event when an if statement occurs, then a for loop occurs...:poisoneye: There's a bug, though...Can't figure out how to get the for loop co…

---

## [How to load images at runtime on a plane using papervision3d](https://forum.kirupa.com/t/how-to-load-images-at-runtime-on-a-plane-using-papervision3d/320903)

<div class="topic-metadata">

**Author:** [@dhamsaniyajay](https://forum.kirupa.com/u/dhamsaniyajay)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 9:40am UTC](https://forum.kirupa.com/t/how-to-load-images-at-runtime-on-a-plane-using-papervision3d/320903 "2011-04-05T09:40:09Z")

</div>

hello, my query is that at run time i want to embed different images on to a plane using papervision3d.........pls help me out with appropriate solution ??????

---

## [Need urgent help in importing SWF file](https://forum.kirupa.com/t/need-urgent-help-in-importing-swf-file/320902)

<div class="topic-metadata">

**Author:** [@khin](https://forum.kirupa.com/u/khin)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 9:32am UTC](https://forum.kirupa.com/t/need-urgent-help-in-importing-swf-file/320902 "2011-04-05T09:32:30Z")

</div>

Hi everyone, I need a little favour from u all. I imported the external SWF to my main file. Everything was working fine. But the thing is, once I delete the original external SWF, my main file will not work anymore. …

---

## [\[AS2\] Making an escape game. Help with an if statement...and equiping an item](https://forum.kirupa.com/t/as2-making-an-escape-game-help-with-an-if-statement-and-equiping-an-item/320891)

<div class="topic-metadata">

**Author:** [@shiftwig113](https://forum.kirupa.com/u/shiftwig113)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 2:52am UTC](https://forum.kirupa.com/t/as2-making-an-escape-game-help-with-an-if-statement-and-equiping-an-item/320891 "2011-04-05T02:52:42Z")

</div>

Well i need help with two things! i need help with an if statement that satisfies the following \_root.bead.\_visible=1 \_root.App.\_visible=1 \_root.Grapes.\_visible=1 //code specifying that the 3 clickable objects have …

---

## [Random scrolling content in Flash](https://forum.kirupa.com/t/random-scrolling-content-in-flash/320889)

<div class="topic-metadata">

**Author:** [@duder78](https://forum.kirupa.com/u/duder78)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 1:08am UTC](https://forum.kirupa.com/t/random-scrolling-content-in-flash/320889 "2011-04-05T01:08:56Z")

</div>

I'm working on a banner advertisement but I've hit a bit of a snag. First, here's what I'm trying to do. 1 - Eight MovieClips are added to the timeline. They are based on a MovieClip in the library which contains 1…

---

## [Class code layout](https://forum.kirupa.com/t/class-code-layout/320888)

<div class="topic-metadata">

**Author:** [@sk138](https://forum.kirupa.com/u/sk138)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 12:09am UTC](https://forum.kirupa.com/t/class-code-layout/320888 "2011-04-05T00:09:54Z")

</div>

I have been learning a lot in AS3 with creating classes. I was wondering if there are any standards for class organization. Currently, I put my imported packages first, followed by the class definition. Next, I do an…

---

## [AS3 custom CSS tag BUG?](https://forum.kirupa.com/t/as3-custom-css-tag-bug/320886)

<div class="topic-metadata">

**Author:** [@FlashUserNull](https://forum.kirupa.com/u/FlashUserNull)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 8:33pm UTC](https://forum.kirupa.com/t/as3-custom-css-tag-bug/320886 "2011-04-04T20:33:20Z")

</div>

I'm running into a problem whenever i apply a custom CSS tag to my html text in a TextField. At the end of the custom tagged text it automatically adds a carriage return and starts a new line even though there is plenty…

---

## [Snapping on predefined grid](https://forum.kirupa.com/t/snapping-on-predefined-grid/320884)

<div class="topic-metadata">

**Author:** [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 8:21pm UTC](https://forum.kirupa.com/t/snapping-on-predefined-grid/320884 "2011-04-04T20:21:35Z")

</div>

I've got a movie clip that's basically a grid with small little boxes that total 84 rows, and 20 columns... I'm trying to get the user to be able to snap to the y position of one of the small little boxes. You click …

---

## [Building a computer](https://forum.kirupa.com/t/building-a-computer/320882)

<div class="topic-metadata">

**Author:** [@hithertonothing](https://forum.kirupa.com/u/hithertonothing)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 8:02pm UTC](https://forum.kirupa.com/t/building-a-computer/320882 "2011-04-04T20:02:59Z")

</div>

Hi, Maybe not a typical AS3 post but I'm wondering what type of hardware I'd need to create full 3D environments in flash, with pre-rendered 1280 - 1024 png images loading in real time. There would be probably four ove…

---

## [styleSheet on TextField not working](https://forum.kirupa.com/t/stylesheet-on-textfield-not-working/320881)

<div class="topic-metadata">

**Author:** [@daa7k](https://forum.kirupa.com/u/daa7k)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 7:32pm UTC](https://forum.kirupa.com/t/stylesheet-on-textfield-not-working/320881 "2011-04-04T19:32:14Z")

</div>

I can't find out how to apply a stylesheet to a text field. It just does not work. This is the css: p { font-size: 24; font-family: Verdana, Geneva, sans-serif; font-style: italic; color: #006666; }…

---

## [Problem with mouse events being blocked](https://forum.kirupa.com/t/problem-with-mouse-events-being-blocked/320879)

<div class="topic-metadata">

**Author:** [@sk138](https://forum.kirupa.com/u/sk138)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 4:51pm UTC](https://forum.kirupa.com/t/problem-with-mouse-events-being-blocked/320879 "2011-04-04T16:51:51Z")

</div>

I am working on a tower defense game and I have it setup so when you click on a tower button to build it, a image of the tower (movieclip) follows the mouse cursor around. I also have it setup so that any empty tiles you…

---

## [Understanding arrays and for-loops together](https://forum.kirupa.com/t/understanding-arrays-and-for-loops-together/320877)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 4:43pm UTC](https://forum.kirupa.com/t/understanding-arrays-and-for-loops-together/320877 "2011-04-04T16:43:52Z")

</div>

Hi, Can some help me understand how arrays and for loops work together? In the following code 100 rain drops are created with the first for loop and then moved with a second for loop the part that I don’t know understa…

---

## [Flash banner with video footage](https://forum.kirupa.com/t/flash-banner-with-video-footage/320876)

<div class="topic-metadata">

**Author:** [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 4:20pm UTC](https://forum.kirupa.com/t/flash-banner-with-video-footage/320876 "2011-04-04T16:20:53Z")

</div>

Hi All, I have seen more and more Flash banners includes real video footage. How do I go about including video in banners and still keep the filesize low? Great if anyone could give me a direction and best practice. …

---

## [Controlling timeline of an instance](https://forum.kirupa.com/t/controlling-timeline-of-an-instance/320875)

<div class="topic-metadata">

**Author:** [@denisrobot](https://forum.kirupa.com/u/denisrobot)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 3:26pm UTC](https://forum.kirupa.com/t/controlling-timeline-of-an-instance/320875 "2011-04-04T15:26:05Z")

</div>

Hello! I have a MovieClip that's called 'enemy1'. It is using a class called 'Enemy'. Is it possible to control my enemy1 MovieClip's timeline from the Enemy class? For example I want to run an if check and see if cu…

---

## [textFlow to textField](https://forum.kirupa.com/t/textflow-to-textfield/320870)

<div class="topic-metadata">

**Author:** [@acto](https://forum.kirupa.com/u/acto)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 1:21pm UTC](https://forum.kirupa.com/t/textflow-to-textfield/320870 "2011-04-04T13:21:52Z")

</div>

Hi, I need to use TLF textFlow to change the format of my text, I have links, italics, bold, paragraphs, etc. Is there a way to PUT the textFlow inside a textField so I can scroll the text inside the textField? All h…

---

## [f4v Video in flashmo 232](https://forum.kirupa.com/t/f4v-video-in-flashmo-232/320869)

<div class="topic-metadata">

**Author:** [@elie\_ko](https://forum.kirupa.com/u/elie_ko)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 1:16pm UTC](https://forum.kirupa.com/t/f4v-video-in-flashmo-232/320869 "2011-04-04T13:16:21Z")

</div>

Is it possible to add support for a flash video in flashmo 232. I tried to replace one of the jpegs in teh xml loader file with a .swf container that loads an f4v and also uses a skin swf file for player controls. The r…

---

## [How to display objects that reside inside an array](https://forum.kirupa.com/t/how-to-display-objects-that-reside-inside-an-array/320868)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 12:38pm UTC](https://forum.kirupa.com/t/how-to-display-objects-that-reside-inside-an-array/320868 "2011-04-04T12:38:14Z")

</div>

Hi, How can I use arrays and some how display my objects accordingly based on my code below? Is that even possible? What I have here are three buttons that when clicked a new clip is added to the stage with a predef…

---

## [(as2) problem with game](https://forum.kirupa.com/t/as2-problem-with-game/320867)

<div class="topic-metadata">

**Author:** [@AlicexXx](https://forum.kirupa.com/u/AlicexXx)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 12:35pm UTC](https://forum.kirupa.com/t/as2-problem-with-game/320867 "2011-04-04T12:35:08Z")

</div>

so when i use it it has no errors no bugs and its like just goes to an animation or just stops (its been happening with ALL my games ive made and all the codes are correct and should work i've had help on it already i…

---

## [Music/flash newb questions](https://forum.kirupa.com/t/music-flash-newb-questions/320866)

<div class="topic-metadata">

**Author:** [@AlicexXx](https://forum.kirupa.com/u/AlicexXx)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 12:33pm UTC](https://forum.kirupa.com/t/music-flash-newb-questions/320866 "2011-04-04T12:33:22Z")

</div>

1.Is it possible to blend music looping from a frame lets say frame 1 to frame 10 and then having it not loop but go into the other frames lets say frame 11 to 21? 2.How can i get it to just either blend or loop, i …

---

## [Coding the same thing for multiple mc's](https://forum.kirupa.com/t/coding-the-same-thing-for-multiple-mcs/320864)

<div class="topic-metadata">

**Author:** [@12abhi12](https://forum.kirupa.com/u/12abhi12)\
**Replies:** 0\
**Last updated:** [April 4, 2011, 8:52am UTC](https://forum.kirupa.com/t/coding-the-same-thing-for-multiple-mcs/320864 "2011-04-04T08:52:53Z")

</div>

I made an mc which on being hovered makes a wave. The problem is that I can't think how to apply the code on about 15 mc's. I used the main timeline for coding purpose. Now I want to aplly the same waving pattern to t…

---

## [Flash AS2 High Score table](https://forum.kirupa.com/t/flash-as2-high-score-table/320858)

<div class="topic-metadata">

**Author:** [@estebanr](https://forum.kirupa.com/u/estebanr)\
**Replies:** 0\
**Last updated:** [April 3, 2011, 11:29pm UTC](https://forum.kirupa.com/t/flash-as2-high-score-table/320858 "2011-04-03T23:29:33Z")

</div>

Hey, guys: I am a total newcomer to AS2 since my primary function at the place I work at is character designer. However, I have been compelled to make a game based on Emanuale Feronato´s racing car tutorial (http://www.e…

---

## [Some kind of screen saver](https://forum.kirupa.com/t/some-kind-of-screen-saver/320857)

<div class="topic-metadata">

**Author:** [@ianim8](https://forum.kirupa.com/u/ianim8)\
**Replies:** 0\
**Last updated:** [April 3, 2011, 8:58pm UTC](https://forum.kirupa.com/t/some-kind-of-screen-saver/320857 "2011-04-03T20:58:52Z")

</div>

Is there a way to have a MC play when Flash file is not being accessed? Basically something like a screensaver. I want this MC to play while touch screen display is left un-touched for 30sec. I also want the enter frame…

---

## [Displaying Input Text in a different class?](https://forum.kirupa.com/t/displaying-input-text-in-a-different-class/320854)

<div class="topic-metadata">

**Author:** [@kbowk](https://forum.kirupa.com/u/kbowk)\
**Replies:** 0\
**Last updated:** [April 3, 2011, 7:43pm UTC](https://forum.kirupa.com/t/displaying-input-text-in-a-different-class/320854 "2011-04-03T19:43:57Z")

</div>

Hi there, I have an Introduction screen class that asks for name entry, when the start button is clicked I have managed it to trace the name that is entered. private function startButton(event:MouseEvent):void { tr…

---

## [Lenght help](https://forum.kirupa.com/t/lenght-help/320853)

<div class="topic-metadata">

**Author:** [@iiitttaaa](https://forum.kirupa.com/u/iiitttaaa)\
**Replies:** 0\
**Last updated:** [April 3, 2011, 7:25pm UTC](https://forum.kirupa.com/t/lenght-help/320853 "2011-04-03T19:25:23Z")

</div>

Well im making a maths game but as is maths sometimes the results get like many decimals. How can i make that for example when i press the chek button the code is this: on (release, keyPress "\<Enter\>") { if (total…

---

## [How to access the frames of an entire animation within one keyframe](https://forum.kirupa.com/t/how-to-access-the-frames-of-an-entire-animation-within-one-keyframe/320852)

<div class="topic-metadata">

**Author:** [@FlashCS5Novice](https://forum.kirupa.com/u/FlashCS5Novice)\
**Replies:** 0\
**Last updated:** [April 3, 2011, 5:29pm UTC](https://forum.kirupa.com/t/how-to-access-the-frames-of-an-entire-animation-within-one-keyframe/320852 "2011-04-03T17:29:19Z")

</div>

I've created a movie clip and within that movie clip I've posted my animation, thus making an animation within one keyframe (this makes it easier to manage because instead of having to say "gotoAndPlay(70)" I can put "go…

---

## ["../" path redirect works in windows but not linux](https://forum.kirupa.com/t/path-redirect-works-in-windows-but-not-linux/320850)

<div class="topic-metadata">

**Author:** [@losergeek](https://forum.kirupa.com/u/losergeek)\
**Replies:** 0\
**Last updated:** [April 3, 2011, 5:06pm UTC](https://forum.kirupa.com/t/path-redirect-works-in-windows-but-not-linux/320850 "2011-04-03T17:06:30Z")

</div>

Thanks in advance to anyone who can help me with this. My problem is that I am trying to load a file (config.txt) from a directory that is one level up from the folder the flash player is in. (So if my flash player wa…

---

## [Simple Preloader PLEASE HELP :(](https://forum.kirupa.com/t/simple-preloader-please-help/320849)

<div class="topic-metadata">

**Author:** [@ChrisW182](https://forum.kirupa.com/u/ChrisW182)\
**Replies:** 0\
**Last updated:** [April 3, 2011, 4:42pm UTC](https://forum.kirupa.com/t/simple-preloader-please-help/320849 "2011-04-03T16:42:27Z")

</div>

Hey guys i have a project (see screenshot for layout of timeline) that has three main pages, 'home', 'gallery','contact'. On the home page an external .swf (random animation) is loaded in, what i want is a preloader for …

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

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