# programming

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

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

**Page:** 587

---

## [AS2/CS3 onResize Center problem](https://forum.kirupa.com/t/as2-cs3-onresize-center-problem/303252)

<div class="topic-metadata">

**Author:** [@chris874](https://forum.kirupa.com/u/chris874)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 7:46pm UTC](https://forum.kirupa.com/t/as2-cs3-onresize-center-problem/303252 "2010-01-17T19:46:47Z")

</div>

Hi, Working on my portfolio. Doing it in AS2, and I have it as a liquid layout with the background scaling to fit the browser and some page elements locking to the right and bottom of the page. Here's where I'm havin…

---

## [Accessing Library of externaly loaded swf](https://forum.kirupa.com/t/accessing-library-of-externaly-loaded-swf/303251)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 7:27pm UTC](https://forum.kirupa.com/t/accessing-library-of-externaly-loaded-swf/303251 "2010-01-17T19:27:23Z")

</div>

Hi I have a swf file which contains in its library couple pictures. After it is loaded using preloader I would like to be able to create couple instances of them and add them to the stage If I use swc approach and impo…

---

## [Access to Library of the external SWF](https://forum.kirupa.com/t/access-to-library-of-the-external-swf/303250)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 7:21pm UTC](https://forum.kirupa.com/t/access-to-library-of-the-external-swf/303250 "2010-01-17T19:21:05Z")

</div>

Hi I have a swf file which contains in its library couple pictures. After it is loaded using preloader I would like to be able to create couple instances of them and add them to the stage If I use swc approach and impo…

---

## [Printing distortions](https://forum.kirupa.com/t/printing-distortions/303248)

<div class="topic-metadata">

**Author:** [@oldmanhonda](https://forum.kirupa.com/u/oldmanhonda)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 6:22pm UTC](https://forum.kirupa.com/t/printing-distortions/303248 "2010-01-17T18:22:57Z")

</div>

I have a target MC that produces a graph with labels through interacting with the user. I duplicate MCs that contain a dynamic text field within and drag them in place (like the x and y axis titles). Looks great on the …

---

## [3 level flash menu](https://forum.kirupa.com/t/3-level-flash-menu/303247)

<div class="topic-metadata">

**Author:** [@KQ9](https://forum.kirupa.com/u/KQ9)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 6:18pm UTC](https://forum.kirupa.com/t/3-level-flash-menu/303247 "2010-01-17T18:18:45Z")

</div>

Hi all Am trying to make a 3 level flash menu. I'm getting into Flash and Actionscript 3 all in all so I'm a beginner as well. I found an example somewhere on this forum. I'm also using TweenLite for the tweening and…

---

## [Scaling an image to fit n pixels](https://forum.kirupa.com/t/scaling-an-image-to-fit-n-pixels/303245)

<div class="topic-metadata">

**Author:** [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 3:23pm UTC](https://forum.kirupa.com/t/scaling-an-image-to-fit-n-pixels/303245 "2010-01-17T15:23:54Z")

</div>

I thought this was going to be easy, and hopefully for someone it is, but I'm having a tough time so thought I'd ask here... I have an image - say 50 x 30 - 1500 pixels. I need to scale it so that it keeps it propor…

---

## [SELECT categories user has not already selected](https://forum.kirupa.com/t/select-categories-user-has-not-already-selected/303241)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 2:02pm UTC](https://forum.kirupa.com/t/select-categories-user-has-not-already-selected/303241 "2010-01-17T14:02:13Z")

</div>

I really have no idea how to approach this problem, or even what to search Google for. There are a dozen or so categories that the user can choose from. The table structure is roughly like this: TABLE Categories cate…

---

## [Using "include" twice](https://forum.kirupa.com/t/using-include-twice/303240)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 12:54pm UTC](https://forum.kirupa.com/t/using-include-twice/303240 "2010-01-17T12:54:15Z")

</div>

I can't seem to get this right. It keeps messing up for me. I have a PHP file that contains nothing but a "defined or die" and a class definition. I need to use this same class in two different places. If I use "incl…

---

## [Only allow my PHP script to edit this file](https://forum.kirupa.com/t/only-allow-my-php-script-to-edit-this-file/303238)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 11:28am UTC](https://forum.kirupa.com/t/only-allow-my-php-script-to-edit-this-file/303238 "2010-01-17T11:28:21Z")

</div>

I want to create a quick sortof "log" system in PHP that I can report to in case anything goes wrong. I could use SQL or mailing for this, however, if one of those systems are down, I will never get the message, but i…

---

## [NEED HELP AS3 is preloading AS2 and it stops working](https://forum.kirupa.com/t/need-help-as3-is-preloading-as2-and-it-stops-working/303234)

<div class="topic-metadata">

**Author:** [@manthonyh](https://forum.kirupa.com/u/manthonyh)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 4:38am UTC](https://forum.kirupa.com/t/need-help-as3-is-preloading-as2-and-it-stops-working/303234 "2010-01-17T04:38:46Z")

</div>

Hi everybody and thank you for taking time to look at this. I am new to flash and am trying to build my portfolio site in Flash CS4. Within this portfolio site I have several external AS2&XML galleries. The galleries wor…

---

## [MC will not unload](https://forum.kirupa.com/t/mc-will-not-unload/303233)

<div class="topic-metadata">

**Author:** [@nate51](https://forum.kirupa.com/u/nate51)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 3:17am UTC](https://forum.kirupa.com/t/mc-will-not-unload/303233 "2010-01-17T03:17:16Z")

</div>

I have an MC created by this line newBut = \_root.attachMovie('numTemplate', 'num'+i, i); But for some reason removeMovieClip(); isnt working for me, I tried so many different ways of getting it to work, and it refuse…

---

## [Full guide: Review Some Useful Tools For iPod/iPhone](https://forum.kirupa.com/t/full-guide-review-some-useful-tools-for-ipod-iphone/303232)

<div class="topic-metadata">

**Author:** [@yeolle558](https://forum.kirupa.com/u/yeolle558)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 3:12am UTC](https://forum.kirupa.com/t/full-guide-review-some-useful-tools-for-ipod-iphone/303232 "2010-01-17T03:12:25Z")

</div>

Many People always ask questions about iPod/iPhone at answers.yahoo.com. Here I collect some commen FAQ and provide the professional solutions to help the people getting difficulty in handling their iPod/iPhone to solve …

---

## [AS3 ROLL\_OUT Listener not firing](https://forum.kirupa.com/t/as3-roll-out-listener-not-firing/303230)

<div class="topic-metadata">

**Author:** [@Imogene](https://forum.kirupa.com/u/Imogene)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 2:50am UTC](https://forum.kirupa.com/t/as3-roll-out-listener-not-firing/303230 "2010-01-17T02:50:42Z")

</div>

Hi all, I have seen a few questions about this but no answers. I am loading an external image into a movieclip and the rollout works fine if I move the mouse slowly. If I scroll quickly across the stage, the rollover sta…

---

## [Help work with Button](https://forum.kirupa.com/t/help-work-with-button/303229)

<div class="topic-metadata">

**Author:** [@walerka](https://forum.kirupa.com/u/walerka)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 1:45am UTC](https://forum.kirupa.com/t/help-work-with-button/303229 "2010-01-17T01:45:44Z")

</div>

how to do so by clicking on the button movieclip moved to x = 100; and when pressed repeatedly to x =- 150 event onRelease - not work: yyy.onRelease = function () { test.\_x = 100; } yyy.onPress = function () { …

---

## [Flash Slider = Buggy w/ .ZIP FILE](https://forum.kirupa.com/t/flash-slider-buggy-w-zip-file/303227)

<div class="topic-metadata">

**Author:** [@YouKnowIt](https://forum.kirupa.com/u/YouKnowIt)\
**Replies:** 0\
**Last updated:** [January 17, 2010, 12:50am UTC](https://forum.kirupa.com/t/flash-slider-buggy-w-zip-file/303227 "2010-01-17T00:50:18Z")

</div>

Okay, I am including a .ZIP file It is about 60KBs so it'll be SUPER FAST for anyone to download. Inside of it will be images, SWF file, FLA file, etc. So open up the .FLA file, and run it. See if its buggy or not...…

---

## [Nobody to help on the Liquid Flash scaling issue? in](https://forum.kirupa.com/t/nobody-to-help-on-the-liquid-flash-scaling-issue-in/303225)

<div class="topic-metadata">

**Author:** [@media\_mixx](https://forum.kirupa.com/u/media_mixx)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 7:40pm UTC](https://forum.kirupa.com/t/nobody-to-help-on-the-liquid-flash-scaling-issue-in/303225 "2010-01-16T19:40:25Z")

</div>

Anybody?

---

## [List Drag and Drop](https://forum.kirupa.com/t/list-drag-and-drop/303224)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 7:01pm UTC](https://forum.kirupa.com/t/list-drag-and-drop/303224 "2010-01-16T19:01:20Z")

</div>

Hey Everyone, I have set up some lists (\<mx:List\>) in Flex... I have drag and drop working fine, in that I can move elements easily from list to list. For some reason though, my DragInitiator and the currentTarget of m…

---

## [How to display the same image twice?](https://forum.kirupa.com/t/how-to-display-the-same-image-twice/303222)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 5:55pm UTC](https://forum.kirupa.com/t/how-to-display-the-same-image-twice/303222 "2010-01-16T17:55:34Z")

</div>

Hello! I would like to know how could I display the same image I loaded (with Loader) twice on the screen. AddChild dont accept repeated instances, what should I do? Copy the Image? Wont that be slow? What if I have th…

---

## [Countdown Timer Change](https://forum.kirupa.com/t/countdown-timer-change/303218)

<div class="topic-metadata">

**Author:** [@Shivon](https://forum.kirupa.com/u/Shivon)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 4:01pm UTC](https://forum.kirupa.com/t/countdown-timer-change/303218 "2010-01-16T16:01:14Z")

</div>

Hello fellow Flash users :), Currently I am trying to learn flash day by day. It's all very interesting and blablabla, but I have run into a little problem :P. On this website you will find a very well done countdow…

---

## [Why is no one able/willing to answer your thread?](https://forum.kirupa.com/t/why-is-no-one-able-willing-to-answer-your-thread/303215)

<div class="topic-metadata">

**Author:** [@natronp](https://forum.kirupa.com/u/natronp)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 12:39pm UTC](https://forum.kirupa.com/t/why-is-no-one-able-willing-to-answer-your-thread/303215 "2010-01-16T12:39:17Z")

</div>

Lots of unanswered threads here and probably because people are titling threads with useless names like "Please help me" and the like. Also, if you post huge chunks of code and expect answers, you probably won't get the…

---

## [Match Play Golf](https://forum.kirupa.com/t/match-play-golf/303212)

<div class="topic-metadata">

**Author:** [@yiyoumao](https://forum.kirupa.com/u/yiyoumao)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 8:40am UTC](https://forum.kirupa.com/t/match-play-golf/303212 "2010-01-16T08:40:36Z")

</div>

\[FONT=Times New Roman\] \[/FONT\] \[FONT=Times New Roman\] \[/FONT\] \[FONT=Arial\]Golfers in the game as the match stood directly against each other. Players do not have to worry about the whole area - only team play …

---

## [gotoAndStop NEXT label frame](https://forum.kirupa.com/t/gotoandstop-next-label-frame/303210)

<div class="topic-metadata">

**Author:** [@Shertok](https://forum.kirupa.com/u/Shertok)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 6:57am UTC](https://forum.kirupa.com/t/gotoandstop-next-label-frame/303210 "2010-01-16T06:57:36Z")

</div>

Is there a way to move to next (not specified) label frame without indicating a specific name? I have a portfolio movie clip with images, using the AS3 Tween Class. I have a "next" button that hopefully will trigger…

---

## [AS2 help - scaling issue in liquid layout](https://forum.kirupa.com/t/as2-help-scaling-issue-in-liquid-layout/303206)

<div class="topic-metadata">

**Author:** [@media\_mixx](https://forum.kirupa.com/u/media_mixx)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 4:48am UTC](https://forum.kirupa.com/t/as2-help-scaling-issue-in-liquid-layout/303206 "2010-01-16T04:48:03Z")

</div>

I am sure this is an easy one but I can't figure it out: I have a movieclip (tester) that I am locating on the stage via the following code: setStage(); var stageListener:Object = new Object(); Stage.addListener(…

---

## [How is this handled by Garbage Collection?](https://forum.kirupa.com/t/how-is-this-handled-by-garbage-collection/303204)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [January 16, 2010, 12:12am UTC](https://forum.kirupa.com/t/how-is-this-handled-by-garbage-collection/303204 "2010-01-16T00:12:02Z")

</div>

Let's say you have a class that for some reason increases a value in another MC by 1 each time the ENTER\_FRAME event is caught (no real live application, just some random example) The class would look something like th…

---

## [Displacement Map for Rectangular Lens?](https://forum.kirupa.com/t/displacement-map-for-rectangular-lens/303202)

<div class="topic-metadata">

**Author:** [@PIxelDroid](https://forum.kirupa.com/u/PIxelDroid)\
**Replies:** 0\
**Last updated:** [January 15, 2010, 11:21pm UTC](https://forum.kirupa.com/t/displacement-map-for-rectangular-lens/303202 "2010-01-15T23:21:37Z")

</div>

Hi all: I am creating an app in which I want to use a displacement driven magnifying glass. But rather than a circle, I'd like the lens to be square and be magnified but not have much distortion in the center. I've been …

---

## [Formatting text to write to a spreadsheet](https://forum.kirupa.com/t/formatting-text-to-write-to-a-spreadsheet/303199)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [January 15, 2010, 8:51pm UTC](https://forum.kirupa.com/t/formatting-text-to-write-to-a-spreadsheet/303199 "2010-01-15T20:51:30Z")

</div>

I am creating a simple program which writes a string to a spreadsheet when it is copied to the system clipboard. Everything works great, except that if the text copied has multiple paragraphs and therefore has returns in…

---

## [Getting XML onto the Flash page](https://forum.kirupa.com/t/getting-xml-onto-the-flash-page/303197)

<div class="topic-metadata">

**Author:** [@pavlis](https://forum.kirupa.com/u/pavlis)\
**Replies:** 0\
**Last updated:** [January 15, 2010, 8:39pm UTC](https://forum.kirupa.com/t/getting-xml-onto-the-flash-page/303197 "2010-01-15T20:39:45Z")

</div>

After working thru Kirupa's excellent PHP to XML tutorial, I was able to pull mySQL content via PHP and XML into Flash. Which I thought was going to be the hard part! What I have NOT been able to do is actually get tha…

---

## [Need help with XML/AS2 for gallery from tutorial 'photo gallery using XML and flash'](https://forum.kirupa.com/t/need-help-with-xml-as2-for-gallery-from-tutorial-photo-gallery-using-xml-and-flash/303196)

<div class="topic-metadata">

**Author:** [@manthonyh](https://forum.kirupa.com/u/manthonyh)\
**Replies:** 0\
**Last updated:** [January 15, 2010, 8:22pm UTC](https://forum.kirupa.com/t/need-help-with-xml-as2-for-gallery-from-tutorial-photo-gallery-using-xml-and-flash/303196 "2010-01-15T20:22:47Z")

</div>

HI everybody and thank you for reading this, I am new to flash and am trying to put some things together following the tutorials on this site. I did the tutorial '\[\*\*\[FONT=Verdana\] \[COLOR=#003366\]Photo Gallery\[/COLOR…

---

## [Need urgent help with memory leak issue on huge project](https://forum.kirupa.com/t/need-urgent-help-with-memory-leak-issue-on-huge-project/303193)

<div class="topic-metadata">

**Author:** [@0L4F](https://forum.kirupa.com/u/0L4F)\
**Replies:** 0\
**Last updated:** [January 15, 2010, 7:54pm UTC](https://forum.kirupa.com/t/need-urgent-help-with-memory-leak-issue-on-huge-project/303193 "2010-01-15T19:54:24Z")

</div>

Hi Kirupians, I'm in the final stages of a big project for a fashion company in the Netherlands. It's a business-to-business website, where clients (shops) can place orders for batches of clothes directly from the c…

---

## [Chrome doesn't respect background-color/image anymore?](https://forum.kirupa.com/t/chrome-doesnt-respect-background-color-image-anymore/303188)

<div class="topic-metadata">

**Author:** [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Replies:** 0\
**Last updated:** [January 15, 2010, 6:23pm UTC](https://forum.kirupa.com/t/chrome-doesnt-respect-background-color-image-anymore/303188 "2010-01-15T18:23:03Z")

</div>

Apparently Google Chrome doesn't respect the bg color / image css properties of select boxes anymore.. Seems like a bug? Does anybody have a work-around for this?

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

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