# programming

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

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

**Page:** 524

---

## [How to change stage size w/ AS?](https://forum.kirupa.com/t/how-to-change-stage-size-w-as/307279)

<div class="topic-metadata">

**Author:** [@Malapert](https://forum.kirupa.com/u/Malapert)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 6:48pm UTC](https://forum.kirupa.com/t/how-to-change-stage-size-w-as/307279 "2010-03-31T18:48:10Z")

</div>

I have an xml-driven slideshow created. Is there anyway to resize the stage according to the size of the individual photo it's pulling in? If not, is there a way to center the photos within the stage? http://www.rad…

---

## [Using Loop to Assign EventListeners to Buttons in an External SWF](https://forum.kirupa.com/t/using-loop-to-assign-eventlisteners-to-buttons-in-an-external-swf/307278)

<div class="topic-metadata">

**Author:** [@malamin](https://forum.kirupa.com/u/malamin)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 6:30pm UTC](https://forum.kirupa.com/t/using-loop-to-assign-eventlisteners-to-buttons-in-an-external-swf/307278 "2010-03-31T18:30:37Z")

</div>

I'm fairly new to AS3. What I'm trying to is create a multiframe SWF (main.swf) that loads several external SWFs (ext.swf) on each frame. I've got that to work. My problem is that I'm trying to assign actions to button…

---

## [hitTestObject Help Please](https://forum.kirupa.com/t/hittestobject-help-please/307275)

<div class="topic-metadata">

**Author:** [@flashnewbie21](https://forum.kirupa.com/u/flashnewbie21)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 6:09pm UTC](https://forum.kirupa.com/t/hittestobject-help-please/307275 "2010-03-31T18:09:31Z")

</div>

i want the ball to hit the brick and the brick disappears off the screen, i have put the coding in for this in the updategame function but it doesnt seem to be working, can someone have a look at the coding and see where…

---

## [Limited FullScreen keyboard access](https://forum.kirupa.com/t/limited-fullscreen-keyboard-access/307274)

<div class="topic-metadata">

**Author:** [@satiss](https://forum.kirupa.com/u/satiss)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 6:01pm UTC](https://forum.kirupa.com/t/limited-fullscreen-keyboard-access/307274 "2010-03-31T18:01:12Z")

</div>

Limited FullScreen keyboard access Everyone is talking about the new Flash Player 10 features that you can have limited keyboard access while you are in fullscreen. But nobody publish the code for this. I'm using the r…

---

## [Main Stage:removeChild](https://forum.kirupa.com/t/main-stage-removechild/307271)

<div class="topic-metadata">

**Author:** [@Will11207](https://forum.kirupa.com/u/Will11207)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 4:52pm UTC](https://forum.kirupa.com/t/main-stage-removechild/307271 "2010-03-31T16:52:20Z")

</div>

Hey all, Would love some help with this one. I have two tween Clips in the Library. They are both a Child of the Stage. After each Child completes it’s Clip, I want to Remove that child from the Stage and Display…

---

## [Disable default Flash Player pop ups](https://forum.kirupa.com/t/disable-default-flash-player-pop-ups/307270)

<div class="topic-metadata">

**Author:** [@flashcruiser](https://forum.kirupa.com/u/flashcruiser)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 4:24pm UTC](https://forum.kirupa.com/t/disable-default-flash-player-pop-ups/307270 "2010-03-31T16:24:58Z")

</div>

:stormtrooper: Is there a way to disable the default flash player pop-up that comes up when you right mouse click while playing a flash presentation? It currently comes up with about flash and quality settings.

---

## [How do I reference MovieClips on the Main Timeline from inside a class?](https://forum.kirupa.com/t/how-do-i-reference-movieclips-on-the-main-timeline-from-inside-a-class/307268)

<div class="topic-metadata">

**Author:** [@Capt\_Zeroth](https://forum.kirupa.com/u/Capt_Zeroth)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 3:03pm UTC](https://forum.kirupa.com/t/how-do-i-reference-movieclips-on-the-main-timeline-from-inside-a-class/307268 "2010-03-31T15:03:28Z")

</div>

I've been programming with AS2 for a few years and I just made the switch to AS3. I'm hoping there is an easy solution to this problem. I have a class 'Actor' (extends MovieClip) that needs to hitTestPoint on a nested …

---

## [OOP Site Structure](https://forum.kirupa.com/t/oop-site-structure/307266)

<div class="topic-metadata">

**Author:** [@bobcooper](https://forum.kirupa.com/u/bobcooper)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 2:24pm UTC](https://forum.kirupa.com/t/oop-site-structure/307266 "2010-03-31T14:24:52Z")

</div>

Hi there, As I have trained myself to use AS3 I am always worried about how my sites are coded and structured. If I have a website with multiple pages, lets say a home page, a text page and a portfolio / gallery pag…

---

## [A Scriptengine for flash plattform](https://forum.kirupa.com/t/a-scriptengine-for-flash-plattform/307261)

<div class="topic-metadata">

**Author:** [@mlueft](https://forum.kirupa.com/u/mlueft)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 1:41pm UTC](https://forum.kirupa.com/t/a-scriptengine-for-flash-plattform/307261 "2010-03-31T13:41:37Z")

</div>

Hi! I would like to show you a project I made open source this month. It's a script engine written in AS3. I started this project in 2006 for a game I made those days. I never put special attention on it. To me it was …

---

## [Search Engine using "if..else" statements](https://forum.kirupa.com/t/search-engine-using-if-else-statements/307259)

<div class="topic-metadata">

**Author:** [@theflashdude](https://forum.kirupa.com/u/theflashdude)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 12:18pm UTC](https://forum.kirupa.com/t/search-engine-using-if-else-statements/307259 "2010-03-31T12:18:04Z")

</div>

I'm making a site with more than one artist on it. I want to make an extremely simple search. When they for example enter "nas" in the search box. the php header will automatically redirect it to a page called "nas.p…

---

## [AliveFTP with just Flash/AS3?](https://forum.kirupa.com/t/aliveftp-with-just-flash-as3/307258)

<div class="topic-metadata">

**Author:** [@krazycat](https://forum.kirupa.com/u/krazycat)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 11:52am UTC](https://forum.kirupa.com/t/aliveftp-with-just-flash-as3/307258 "2010-03-31T11:52:06Z")

</div>

Maybe a stupid question...but I've search and didn't come up with an answer. Can you use AlivePDF with just Flash/AS3 (NOT using Air or Zinc)? I need to print a generated document, is there another way to do it?

---

## [Loading data from my sql to flash](https://forum.kirupa.com/t/loading-data-from-my-sql-to-flash/307257)

<div class="topic-metadata">

**Author:** [@naveenrao](https://forum.kirupa.com/u/naveenrao)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 11:29am UTC](https://forum.kirupa.com/t/loading-data-from-my-sql-to-flash/307257 "2010-03-31T11:29:24Z")

</div>

Hello guys I am facing a problem in loading a My Sql data base table in to flash please some body help me out in solving the problem Thanks in advance:) Regards Naveen R Rao

---

## [Moving objects (removechild etc...)](https://forum.kirupa.com/t/moving-objects-removechild-etc/307256)

<div class="topic-metadata">

**Author:** [@Trussy1000](https://forum.kirupa.com/u/Trussy1000)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 11:09am UTC](https://forum.kirupa.com/t/moving-objects-removechild-etc/307256 "2010-03-31T11:09:20Z")

</div>

Hi I'm new here so it wouldn't surprise me if I miss something simple but here goes: I am creating a game where you have to catch coconuts in a basket and when this happens the next one will fall (removechild() ). And th…

---

## [Custom events best practice?](https://forum.kirupa.com/t/custom-events-best-practice/307246)

<div class="topic-metadata">

**Author:** [@psych](https://forum.kirupa.com/u/psych)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 9:53am UTC](https://forum.kirupa.com/t/custom-events-best-practice/307246 "2010-03-31T09:53:58Z")

</div>

Hi everyone, I have a question regarding custom events best practice. If i have a single object that can dispatch two or more custom events is it better to have a single custom event class with those event in it or to…

---

## [Video background with screen blending mode doesn't work on Mac](https://forum.kirupa.com/t/video-background-with-screen-blending-mode-doesnt-work-on-mac/307244)

<div class="topic-metadata">

**Author:** [@dvvandevelde](https://forum.kirupa.com/u/dvvandevelde)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 9:35am UTC](https://forum.kirupa.com/t/video-background-with-screen-blending-mode-doesnt-work-on-mac/307244 "2010-03-31T09:35:13Z")

</div>

Hi, I've included a small videoclip in my flash animation, it's embedded in a MovieClip with a "Screen" blending mode to make the black background transparent, it works perfectly in the flash IDE and online when viewed…

---

## [Structure of Game Classes for Display](https://forum.kirupa.com/t/structure-of-game-classes-for-display/307241)

<div class="topic-metadata">

**Author:** [@Inco](https://forum.kirupa.com/u/Inco)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 9:16am UTC](https://forum.kirupa.com/t/structure-of-game-classes-for-display/307241 "2010-03-31T09:16:24Z")

</div>

\[FONT=Calibri\]Hi, I'm from C background and I'm new to AS3 & to OOP. I'm using Flex SDK and FlashDevelop. I'm trying to write a tic-tac-toe type of game to start me off, I've read numerous tutorials and I've now got my…

---

## [Echo array in one row](https://forum.kirupa.com/t/echo-array-in-one-row/307240)

<div class="topic-metadata">

**Author:** [@LittleMore](https://forum.kirupa.com/u/LittleMore)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 9:10am UTC](https://forum.kirupa.com/t/echo-array-in-one-row/307240 "2010-03-31T09:10:04Z")

</div>

Hi to All, I am new in the forum as new member. I have been using this forum for a long time although did not require posting anything as I could find lot of info from your contributions to this valuable forum. Today I…

---

## [Drag trough image sequence calc, other solution?](https://forum.kirupa.com/t/drag-trough-image-sequence-calc-other-solution/307237)

<div class="topic-metadata">

**Author:** [@anon45720911](https://forum.kirupa.com/u/anon45720911)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 7:52am UTC](https://forum.kirupa.com/t/drag-trough-image-sequence-calc-other-solution/307237 "2010-03-31T07:52:13Z")

</div>

Currently I'm working on a AS3 project where people can view pre-rendered 360 degree image sequence of 3D scenes or models. However I've been trying to find a decent way to scroll trough an image sequence by: Click & Dra…

---

## [Tactical Strategy Game](https://forum.kirupa.com/t/tactical-strategy-game/307236)

<div class="topic-metadata">

**Author:** [@furrymak](https://forum.kirupa.com/u/furrymak)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 6:28am UTC](https://forum.kirupa.com/t/tactical-strategy-game/307236 "2010-03-31T06:28:47Z")

</div>

Trying to create a game that works in a similar fashion to Fire Emblem and Advanced Wars. Does anyone know where I could learn to make a game such as those?

---

## [Question about highlighting the currently actived menu item](https://forum.kirupa.com/t/question-about-highlighting-the-currently-actived-menu-item/307234)

<div class="topic-metadata">

**Author:** [@dubogii](https://forum.kirupa.com/u/dubogii)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 5:46am UTC](https://forum.kirupa.com/t/question-about-highlighting-the-currently-actived-menu-item/307234 "2010-03-31T05:46:42Z")

</div>

Hi guys, I have created a menu with XML & AS3, which works nicely. But, I just met a problem. If I want to highlight a menu item which I just clicked, and it will disable the highlight after I click another item in the …

---

## [Flash and Wordpress](https://forum.kirupa.com/t/flash-and-wordpress/307232)

<div class="topic-metadata">

**Author:** [@vito687](https://forum.kirupa.com/u/vito687)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 2:46am UTC](https://forum.kirupa.com/t/flash-and-wordpress/307232 "2010-03-31T02:46:47Z")

</div>

Hey, Im working with a flash file that was a template, I stripped out the header and used it in wordpress as a flash header. I have a gallery component that I took out of the same file and it works fine as the .swf alon…

---

## [HELP:Using Events to Load External SWF](https://forum.kirupa.com/t/help-using-events-to-load-external-swf/307231)

<div class="topic-metadata">

**Author:** [@wdense51](https://forum.kirupa.com/u/wdense51)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 2:18am UTC](https://forum.kirupa.com/t/help-using-events-to-load-external-swf/307231 "2010-03-31T02:18:12Z")

</div>

Hi All I've only been using actionscript 3 for about 2 weeks, so my lack of understanding is really showing. I'm trying to use events to get an external SWF to load when another external SWF with flv content finishe…

---

## [Ridiculous load time for a huge string](https://forum.kirupa.com/t/ridiculous-load-time-for-a-huge-string/307230)

<div class="topic-metadata">

**Author:** [@45\_ACP](https://forum.kirupa.com/u/45_ACP)\
**Replies:** 0\
**Last updated:** [March 31, 2010, 2:07am UTC](https://forum.kirupa.com/t/ridiculous-load-time-for-a-huge-string/307230 "2010-03-31T02:07:13Z")

</div>

Hi, I need to upload a ridiculously huge text file into Flash MX 2004 and turn it into an array. The loading part is not a problem: the issue is splitting the array. The original string is approximately 531,000 chara…

---

## [\[AS2\] Dynamic text size change - setTextFormat problem!](https://forum.kirupa.com/t/as2-dynamic-text-size-change-settextformat-problem/307224)

<div class="topic-metadata">

**Author:** [@jrjw](https://forum.kirupa.com/u/jrjw)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 11:22pm UTC](https://forum.kirupa.com/t/as2-dynamic-text-size-change-settextformat-problem/307224 "2010-03-30T23:22:35Z")

</div>

Hi! I'm trying to change the text size in a dynamic text area within a (movie clip) button. For a couple of buttons I'd like to make certain text smaller, for example, to make the "vs" smaller in "A VS B". My b…

---

## [Action Panel Bugged](https://forum.kirupa.com/t/action-panel-bugged/307223)

<div class="topic-metadata">

**Author:** [@tragic](https://forum.kirupa.com/u/tragic)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 10:24pm UTC](https://forum.kirupa.com/t/action-panel-bugged/307223 "2010-03-30T22:24:06Z")

</div>

Hello, My action panel windows has resized itself taller than my screen, there is no scrollbar so i cant see what i typed and I cant move the window up to be able to drag the size. Basically its unusable, restarting CS…

---

## [Scale animation error with text and symbols](https://forum.kirupa.com/t/scale-animation-error-with-text-and-symbols/307220)

<div class="topic-metadata">

**Author:** [@akavaliant](https://forum.kirupa.com/u/akavaliant)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 9:09pm UTC](https://forum.kirupa.com/t/scale-animation-error-with-text-and-symbols/307220 "2010-03-30T21:09:53Z")

</div>

Hi, I'm having a lot of trouble when animating a symbol created with text. I'm scaling my symbol from a smaller size to a bigger size, really slowly but when its increasing it starts shaking from the innerspace between l…

---

## [Random Movement: Flip horizontal on direction change along x](https://forum.kirupa.com/t/random-movement-flip-horizontal-on-direction-change-along-x/307219)

<div class="topic-metadata">

**Author:** [@PinkPoliceman](https://forum.kirupa.com/u/PinkPoliceman)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 9:07pm UTC](https://forum.kirupa.com/t/random-movement-flip-horizontal-on-direction-change-along-x/307219 "2010-03-30T21:07:11Z")

</div>

moved to AS2

---

## [Shared Object Issue](https://forum.kirupa.com/t/shared-object-issue/307214)

<div class="topic-metadata">

**Author:** [@bexmoney](https://forum.kirupa.com/u/bexmoney)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 8:24pm UTC](https://forum.kirupa.com/t/shared-object-issue/307214 "2010-03-30T20:24:22Z")

</div>

So im having an issue with sharedObjects. At least I think thats where the problem lies. I have a form that I use to save user data. I save it to and XML object and save that as data in a SharedObject. My issue is w…

---

## [Color Picker component](https://forum.kirupa.com/t/color-picker-component/307212)

<div class="topic-metadata">

**Author:** [@SquirtGun](https://forum.kirupa.com/u/SquirtGun)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 8:04pm UTC](https://forum.kirupa.com/t/color-picker-component/307212 "2010-03-30T20:04:35Z")

</div>

Hi All! Was wondering how to make the color picker component open to the left instead of it opening to the right. Seems like this should be a simple setting, but I can't figure it out. Thanks

---

## [Problem accessing loaded swf content](https://forum.kirupa.com/t/problem-accessing-loaded-swf-content/307204)

<div class="topic-metadata">

**Author:** [@Fossor](https://forum.kirupa.com/u/Fossor)\
**Replies:** 0\
**Last updated:** [March 30, 2010, 6:19pm UTC](https://forum.kirupa.com/t/problem-accessing-loaded-swf-content/307204 "2010-03-30T18:19:43Z")

</div>

I'm loading swf file from a server. For some reason i can't access movieclips that are not instantiated on the first frame, more than this - all movieclips that are not instantiated on the first frame and have some anima…

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

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