# programming

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

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

**Page:** 759

---

## [Scope Issue](https://forum.kirupa.com/t/scope-issue/292122)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 10:23am UTC](https://forum.kirupa.com/t/scope-issue/292122 "2009-07-10T10:23:18Z")

</div>

Hi I using this array to create rollover and rollout events for a bunch of movie clips, I only have one on my stage at the moment during testing. When I rollover and out I see the trace but no animation, if I change…

---

## [Iframe - round corners](https://forum.kirupa.com/t/iframe-round-corners/292114)

<div class="topic-metadata">

**Author:** [@kkprakashmsc](https://forum.kirupa.com/u/kkprakashmsc)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 9:02am UTC](https://forum.kirupa.com/t/iframe-round-corners/292114 "2009-07-10T09:02:47Z")

</div>

how to make the iframe corners to rounded one please help me, thank you all, prakash

---

## [Paypal add to cart button with color selection](https://forum.kirupa.com/t/paypal-add-to-cart-button-with-color-selection/292107)

<div class="topic-metadata">

**Author:** [@ltdesign](https://forum.kirupa.com/u/ltdesign)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 5:40am UTC](https://forum.kirupa.com/t/paypal-add-to-cart-button-with-color-selection/292107 "2009-07-10T05:40:09Z")

</div>

Hello, I am creating a fairly simple clothing site in flash. I have created an add to cart button for paypal and it works perfectly. My questions is...how do I have the buyer specify the color of the garment once they…

---

## [Tween then removeChild class questions](https://forum.kirupa.com/t/tween-then-removechild-class-questions/292105)

<div class="topic-metadata">

**Author:** [@smeared](https://forum.kirupa.com/u/smeared)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 5:12am UTC](https://forum.kirupa.com/t/tween-then-removechild-class-questions/292105 "2009-07-10T05:12:15Z")

</div>

alright, so there are a few things i'm not understanding still. So any help is greatly appreciated. I wanted to create a class that you send a display object to and it tweens out (lets just say fades out for now), and…

---

## [Package import dynamic movie clip problem](https://forum.kirupa.com/t/package-import-dynamic-movie-clip-problem/292102)

<div class="topic-metadata">

**Author:** [@damonlee3](https://forum.kirupa.com/u/damonlee3)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 1:03am UTC](https://forum.kirupa.com/t/package-import-dynamic-movie-clip-problem/292102 "2009-07-10T01:03:53Z")

</div>

I have a package (XMLThumbLoader) that loads thumbnails and is supposed to import a scroller class(DSIScroller). The thumbloader works fine, but when I try to scroll the thumbsContainer movie clip, I get "Error #1009 C…

---

## [Loading Library Item within a package](https://forum.kirupa.com/t/loading-library-item-within-a-package/292101)

<div class="topic-metadata">

**Author:** [@jeffdagga](https://forum.kirupa.com/u/jeffdagga)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 12:10am UTC](https://forum.kirupa.com/t/loading-library-item-within-a-package/292101 "2009-07-10T00:10:54Z")

</div>

Hey Yall, I need help. Can anyone help with getting a external class package to load and custom library item? package { import flash.display.MovieClip; public class Ball extends MovieClip { public var radius:Number…

---

## [Multiple components question](https://forum.kirupa.com/t/multiple-components-question/292099)

<div class="topic-metadata">

**Author:** [@kumba](https://forum.kirupa.com/u/kumba)\
**Replies:** 0\
**Last updated:** [July 10, 2009, 12:03am UTC](https://forum.kirupa.com/t/multiple-components-question/292099 "2009-07-10T00:03:40Z")

</div>

Basic Question: How do I "separate" different components? I have 5 different mp3 player components. Each with their own instance names and vars (all in the same movie/stage). Problem: If I load the first player, it …

---

## [Getting movement going on a vector, then stopping it](https://forum.kirupa.com/t/getting-movement-going-on-a-vector-then-stopping-it/292098)

<div class="topic-metadata">

**Author:** [@ligaa](https://forum.kirupa.com/u/ligaa)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 11:48pm UTC](https://forum.kirupa.com/t/getting-movement-going-on-a-vector-then-stopping-it/292098 "2009-07-09T23:48:27Z")

</div>

Hey all \[smile\] I'm working on a game involving telling a bug where to go and what to do when it gets there. Just started, focusing on getting the bug to move right now. To do that, I'm using a vector formula so it goes …

---

## [MC AS not working after using Flash 7 and higher](https://forum.kirupa.com/t/mc-as-not-working-after-using-flash-7-and-higher/292097)

<div class="topic-metadata">

**Author:** [@jchiesa](https://forum.kirupa.com/u/jchiesa)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 11:29pm UTC](https://forum.kirupa.com/t/mc-as-not-working-after-using-flash-7-and-higher/292097 "2009-07-09T23:29:10Z")

</div>

I had a Movie done in AS1 and now I need to add a new function to it and it requires AS2. The movie was done in Flash 6 and now I am publishing it in Flash 9 in order to make my new function to work. Everythings seems to…

---

## [AS3 XML issues](https://forum.kirupa.com/t/as3-xml-issues/292096)

<div class="topic-metadata">

**Author:** [@pelagia](https://forum.kirupa.com/u/pelagia)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 10:48pm UTC](https://forum.kirupa.com/t/as3-xml-issues/292096 "2009-07-09T22:48:43Z")

</div>

hi All I have got a fancy thumbnail scroller that works well but having just converted from AS2 to AS3 I am having trouble finding the right code to call a large image from the xml and the descriptive text to fill a te…

---

## [\[as1\] Complex hitTest](https://forum.kirupa.com/t/as1-complex-hittest/292093)

<div class="topic-metadata">

**Author:** [@marcelozep](https://forum.kirupa.com/u/marcelozep)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 9:41pm UTC](https://forum.kirupa.com/t/as1-complex-hittest/292093 "2009-07-09T21:41:30Z")

</div>

Hello. I´d like to know if there´s a way to do a shape hitTest. Not as the normal hitTest would do, but shape colliding another shape, not the rectangle of a movieclip. This shape can be in a movieclip, of course ). If t…

---

## [FLV movie is frozen on swf playback - only sound](https://forum.kirupa.com/t/flv-movie-is-frozen-on-swf-playback-only-sound/292091)

<div class="topic-metadata">

**Author:** [@media\_mixx](https://forum.kirupa.com/u/media_mixx)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 9:35pm UTC](https://forum.kirupa.com/t/flv-movie-is-frozen-on-swf-playback-only-sound/292091 "2009-07-09T21:35:21Z")

</div>

For some reason my FLV that is in my FLA file freezes when I play the swf file. I can hear the sound but it's a bit garbled. I am using the Flash encoder to bring in the movies and have tried both med and high quality b…

---

## [AS 2.0 draggable menu](https://forum.kirupa.com/t/as-2-0-draggable-menu/292088)

<div class="topic-metadata">

**Author:** [@nicoled](https://forum.kirupa.com/u/nicoled)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 8:13pm UTC](https://forum.kirupa.com/t/as-2-0-draggable-menu/292088 "2009-07-09T20:13:40Z")

</div>

I am looking for a draggable menu that is AS 2.0. I completed a tutorial on this site only to be discouraged when it would not work with my existing Flash files. The tutorial was created with AS 1.0 and Flash Player 5. T…

---

## [SeekBar Handle](https://forum.kirupa.com/t/seekbar-handle/292087)

<div class="topic-metadata">

**Author:** [@tester123](https://forum.kirupa.com/u/tester123)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 7:59pm UTC](https://forum.kirupa.com/t/seekbar-handle/292087 "2009-07-09T19:59:14Z")

</div>

I have a seek bar that is controlling a FLV playback component. When the user rolls of the stage, the seek bar, and all the controls alpha to zero. For some reason the scrubber handle does not disapear. I have tried to f…

---

## [\[AS3\] Bitmap Draw Strategy](https://forum.kirupa.com/t/as3-bitmap-draw-strategy/292086)

<div class="topic-metadata">

**Author:** [@handofra](https://forum.kirupa.com/u/handofra)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 7:44pm UTC](https://forum.kirupa.com/t/as3-bitmap-draw-strategy/292086 "2009-07-09T19:44:39Z")

</div>

Hello, I'm making a game where it involves a player moving around a big map. A camera will follow the player around, and reveal only a small section of the map (think RTS). I'm planning to add the player, enemies, it…

---

## [Change Actionscript...animation](https://forum.kirupa.com/t/change-actionscript-animation/292085)

<div class="topic-metadata">

**Author:** [@Edurs2000](https://forum.kirupa.com/u/Edurs2000)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 7:38pm UTC](https://forum.kirupa.com/t/change-actionscript-animation/292085 "2009-07-09T19:38:33Z")

</div>

HI ,:hr: I´m beginner. I get this actionscript from internet. I would like to change for a movieclip vector images..There is in site a fla. movieclip symbols... I try to change words to frame of symbols mc, but no…

---

## [Questions about PHP](https://forum.kirupa.com/t/questions-about-php/292084)

<div class="topic-metadata">

**Author:** [@testing12345](https://forum.kirupa.com/u/testing12345)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 7:20pm UTC](https://forum.kirupa.com/t/questions-about-php/292084 "2009-07-09T19:20:43Z")

</div>

Hey, What is PHP best used for? What are benefits of using it. I want to hear from people that use it on daily basis. Thanks

---

## [Simple question (maybe) about a looping MovieClip](https://forum.kirupa.com/t/simple-question-maybe-about-a-looping-movieclip/292081)

<div class="topic-metadata">

**Author:** [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 6:57pm UTC](https://forum.kirupa.com/t/simple-question-maybe-about-a-looping-movieclip/292081 "2009-07-09T18:57:18Z")

</div>

I'm an experienced Flash developer, but virtually all of my experience is with pure AS3 coding in FlexBuilder or FlashDevelop. I know very little about Flash CS3, .fla files, timelines etc. (I do have Flash CS3 install…

---

## [Help a beginner having trouble with my If else statements](https://forum.kirupa.com/t/help-a-beginner-having-trouble-with-my-if-else-statements/292079)

<div class="topic-metadata">

**Author:** [@ACKtion](https://forum.kirupa.com/u/ACKtion)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 6:40pm UTC](https://forum.kirupa.com/t/help-a-beginner-having-trouble-with-my-if-else-statements/292079 "2009-07-09T18:40:59Z")

</div>

scrollUp\_mc and scrollDown\_mc are acting as buttons that control scroll\_mc and bar\_mc. The code works fine, but I need them to stop working if scoll\_mc.y is less than 136 or more than 2,189. any suggestions? scrollUp…

---

## [Tween 2 MCs at same time? AS3/CS3](https://forum.kirupa.com/t/tween-2-mcs-at-same-time-as3-cs3/292076)

<div class="topic-metadata">

**Author:** [@VejOut](https://forum.kirupa.com/u/VejOut)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 6:00pm UTC](https://forum.kirupa.com/t/tween-2-mcs-at-same-time-as3-cs3/292076 "2009-07-09T18:00:27Z")

</div>

Is it possible to Tween more than one Movie Clip at a time? It seems to allow one to run at a time. I have a project that I'm dynamically creating Movie Clips into a holder (another Movie Clip). I want to fade one in a…

---

## [Snow 3.0 - making flakes go up?](https://forum.kirupa.com/t/snow-3-0-making-flakes-go-up/292074)

<div class="topic-metadata">

**Author:** [@electrofied](https://forum.kirupa.com/u/electrofied)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 5:26pm UTC](https://forum.kirupa.com/t/snow-3-0-making-flakes-go-up/292074 "2009-07-09T17:26:12Z")

</div>

Hello all. I'm trying -with no success - to make snow flakes to go up, instead of falling, using Snow 3.0. Can anyone help? Thank you.

---

## [Drag & Drop A Button](https://forum.kirupa.com/t/drag-drop-a-button/292073)

<div class="topic-metadata">

**Author:** [@thutchinson](https://forum.kirupa.com/u/thutchinson)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 5:15pm UTC](https://forum.kirupa.com/t/drag-drop-a-button/292073 "2009-07-09T17:15:32Z")

</div>

Can you drag & drop a button? I keep getting the error message: Property startDrag not found on flash.display.Stage and there is no default value. Trish

---

## [Dynamic Balls](https://forum.kirupa.com/t/dynamic-balls/292072)

<div class="topic-metadata">

**Author:** [@muzn](https://forum.kirupa.com/u/muzn)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 5:13pm UTC](https://forum.kirupa.com/t/dynamic-balls/292072 "2009-07-09T17:13:54Z")

</div>

Is there a way to create an actionscript 2.0 something like this site http://www.kynd.info/library/mathandphysics/b2d\_springBalls/ without using box2d

---

## [loadMovie() doesn't work when in HTML](https://forum.kirupa.com/t/loadmovie-doesnt-work-when-in-html/292071)

<div class="topic-metadata">

**Author:** [@dplows](https://forum.kirupa.com/u/dplows)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 4:24pm UTC](https://forum.kirupa.com/t/loadmovie-doesnt-work-when-in-html/292071 "2009-07-09T16:24:13Z")

</div>

I have a flash file (main.fla) that contains an empty movie clip which has the action : loadMovie("myMovie.swf"); When I test the movie in Flash it works fine. It also works fine when I have Flash closed & just open …

---

## [Preloader/progress bar problems](https://forum.kirupa.com/t/preloader-progress-bar-problems/292070)

<div class="topic-metadata">

**Author:** [@Gemixin](https://forum.kirupa.com/u/Gemixin)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 4:04pm UTC](https://forum.kirupa.com/t/preloader-progress-bar-problems/292070 "2009-07-09T16:04:16Z")

</div>

I've got an SWF that'll be viewed via a webpage, that loads a choice of 7 different web pages/SWFs depending on buttons clicked. The problem is these files are quite big and take a good few seconds to load each, so for…

---

## [\[DISC\] Using YouTube for your games instructions](https://forum.kirupa.com/t/disc-using-youtube-for-your-games-instructions/292068)

<div class="topic-metadata">

**Author:** [@TOdorus](https://forum.kirupa.com/u/TOdorus)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 3:39pm UTC](https://forum.kirupa.com/t/disc-using-youtube-for-your-games-instructions/292068 "2009-07-09T15:39:32Z")

</div>

I was thinking about how to make tutorials on different elements of my game, which may be too complex for a Flash game altogether. I've made a interactive tutorial for some parts, but I started thinking about using video…

---

## [Dialogue in AS2](https://forum.kirupa.com/t/dialogue-in-as2/292067)

<div class="topic-metadata">

**Author:** [@stingjc](https://forum.kirupa.com/u/stingjc)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 3:15pm UTC](https://forum.kirupa.com/t/dialogue-in-as2/292067 "2009-07-09T15:15:15Z")

</div>

Alright, I’ve exhausted myself for a solid week trying to get something to work. But I can’t. I’ve tried forums and tutorials, but to no avail because I’m still stuck. I know how to do everything for my VERY basic gam…

---

## [Tweening colors in AS3?](https://forum.kirupa.com/t/tweening-colors-in-as3/292066)

<div class="topic-metadata">

**Author:** [@takach](https://forum.kirupa.com/u/takach)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 3:08pm UTC](https://forum.kirupa.com/t/tweening-colors-in-as3/292066 "2009-07-09T15:08:30Z")

</div>

Hello, I have a really simple site, with just a few links as movieclips with static text in them. I want to tween the colors of these links from a brown (hex value = #4F2100) to a pink (#EE695). Essentialy, I want to set…

---

## [Storing MySQL passwords and similar](https://forum.kirupa.com/t/storing-mysql-passwords-and-similar/292065)

<div class="topic-metadata">

**Author:** [@ben\_is\_sparky](https://forum.kirupa.com/u/ben_is_sparky)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 3:04pm UTC](https://forum.kirupa.com/t/storing-mysql-passwords-and-similar/292065 "2009-07-09T15:04:20Z")

</div>

What sorts of methods do people use to store information such as database passwords, which my PHP scripts will need access to, but should never be accessible from outside? I've tried having a non-web accessible folder,…

---

## [Efficient Frame-by-Frame Animation with PNGs?](https://forum.kirupa.com/t/efficient-frame-by-frame-animation-with-pngs/292064)

<div class="topic-metadata">

**Author:** [@intrigue1238](https://forum.kirupa.com/u/intrigue1238)\
**Replies:** 0\
**Last updated:** [July 9, 2009, 2:44pm UTC](https://forum.kirupa.com/t/efficient-frame-by-frame-animation-with-pngs/292064 "2009-07-09T14:44:48Z")

</div>

Does anyone have any recommendations for efficient handling of frame-by-frame bitmap animations? I'm putting together an app with an animated character that stands on screen and moves around doing animations. Each ani…

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

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