# programming

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

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

**Page:** 1125

---

## [Background image resizes to browser window](https://forum.kirupa.com/t/background-image-resizes-to-browser-window/267792)

<div class="topic-metadata">

**Author:** [@aub5987](https://forum.kirupa.com/u/aub5987)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 7:05pm UTC](https://forum.kirupa.com/t/background-image-resizes-to-browser-window/267792 "2008-08-05T19:05:55Z")

</div>

Basically I want the background to resize but not my content on the page. As you resize your browser window the background image resize proportionally. The content on the page does not resize however, it stays fixed. …

---

## [Easy Procedural Question](https://forum.kirupa.com/t/easy-procedural-question/267789)

<div class="topic-metadata">

**Author:** [@thursday0384](https://forum.kirupa.com/u/thursday0384)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 6:50pm UTC](https://forum.kirupa.com/t/easy-procedural-question/267789 "2008-08-05T18:50:11Z")

</div>

i'm new to as3.0. so i'm learning to use the native tween class in Flash cs3. the tutorial i was using had me write the following code on the same layer as i was placing my objects (just for teaching purposes). so i …

---

## [Help returning a value from a class](https://forum.kirupa.com/t/help-returning-a-value-from-a-class/267787)

<div class="topic-metadata">

**Author:** [@rondog](https://forum.kirupa.com/u/rondog)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 6:36pm UTC](https://forum.kirupa.com/t/help-returning-a-value-from-a-class/267787 "2008-08-05T18:36:40Z")

</div>

I am really unexperienced when it comes to classes so bare with me. I decided to turn this util into a class because I use it in almost all of my projects. Basically what it is is I import an XML file and it has all thes…

---

## [AS3: SoundChannel problems](https://forum.kirupa.com/t/as3-soundchannel-problems/267782)

<div class="topic-metadata">

**Author:** [@FfanaticR](https://forum.kirupa.com/u/FfanaticR)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 5:10pm UTC](https://forum.kirupa.com/t/as3-soundchannel-problems/267782 "2008-08-05T17:10:44Z")

</div>

\*\*Anybody Encounter any problems with pausing and playing using the SoundChannel Object? Specifically resume time being different then the pause time? \*\*\[however trace() statements confirm that my variable is the same in…

---

## [AS2 Sound player / \*I'm tired\*](https://forum.kirupa.com/t/as2-sound-player-im-tired/267780)

<div class="topic-metadata">

**Author:** [@stereosushi](https://forum.kirupa.com/u/stereosushi)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 5:08pm UTC](https://forum.kirupa.com/t/as2-sound-player-im-tired/267780 "2008-08-05T17:08:31Z")

</div>

I done some debug. I found that, Script calculates the timebar position correct in the first song, if i select next song script continues to calculate from last timebar position. So I have to reset the Tpercent varia…

---

## [Simple Uploading Via Socket FTP](https://forum.kirupa.com/t/simple-uploading-via-socket-ftp/267777)

<div class="topic-metadata">

**Author:** [@nickcherryjiggz](https://forum.kirupa.com/u/nickcherryjiggz)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 4:35pm UTC](https://forum.kirupa.com/t/simple-uploading-via-socket-ftp/267777 "2008-08-05T16:35:54Z")

</div>

I'm trying to figure out how to use sockets to upload to my web space. What I have so far is based primarily on Lee Brimelow's Binary Socket Fundamentals tutorial. Currently, I can successfully establish a connection to …

---

## [XML newline issue](https://forum.kirupa.com/t/xml-newline-issue/267776)

<div class="topic-metadata">

**Author:** [@ShooterMG](https://forum.kirupa.com/u/ShooterMG)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 4:27pm UTC](https://forum.kirupa.com/t/xml-newline-issue/267776 "2008-08-05T16:27:17Z")

</div>

I am having this problem that has left me absolutely baffled. I am importing some XML and saving it to a string. This works fine. The problem is, I can't get rid of any of the line breaks. I've done a str.replace() for …

---

## [\[AS2\] How to add "," & "." in Dynamic Text](https://forum.kirupa.com/t/as2-how-to-add-in-dynamic-text/267775)

<div class="topic-metadata">

**Author:** [@AntheMz](https://forum.kirupa.com/u/AntheMz)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 4:18pm UTC](https://forum.kirupa.com/t/as2-how-to-add-in-dynamic-text/267775 "2008-08-05T16:18:49Z")

</div>

\[image\] Hi all, anyone can help me with this? i want to add "," & "." in Dynamic Text instead of 109500, i want to do it like 109,500 or 109,500.00, work it like money figure, thanks in advance!

---

## [How to add "," & "." in Dynamic Text](https://forum.kirupa.com/t/how-to-add-in-dynamic-text/267774)

<div class="topic-metadata">

**Author:** [@AntheMz](https://forum.kirupa.com/u/AntheMz)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 4:17pm UTC](https://forum.kirupa.com/t/how-to-add-in-dynamic-text/267774 "2008-08-05T16:17:49Z")

</div>

double posted, topic closed.

---

## [How to solve TypeError: Error #1009](https://forum.kirupa.com/t/how-to-solve-typeerror-error-1009/267771)

<div class="topic-metadata">

**Author:** [@stewie32](https://forum.kirupa.com/u/stewie32)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 3:46pm UTC](https://forum.kirupa.com/t/how-to-solve-typeerror-error-1009/267771 "2008-08-05T15:46:57Z")

</div>

I'm new to Flash CS3 and actionscript 3. I have created a preloader for a panorama that was built using actionscript 3. The panorama by itself works fine but once loaded by the preloader it throws this error TypeError:…

---

## [layerGroup.addEventListener(MouseEvent.CLICK, clicked, false, 0, true);](https://forum.kirupa.com/t/layergroup-addeventlistener-mouseevent-click-clicked-false-0-true/267768)

<div class="topic-metadata">

**Author:** [@ememdoubleu](https://forum.kirupa.com/u/ememdoubleu)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 3:38pm UTC](https://forum.kirupa.com/t/layergroup-addeventlistener-mouseevent-click-clicked-false-0-true/267768 "2008-08-05T15:38:21Z")

</div>

layerGroup.addEventListener(MouseEvent.CLICK, clicked, false, 0, true); guys, yes, i just started with flash \[smile\] can anybody tell me what the "false" and the "0" and "true" means in the line above? please let m…

---

## [MC Alpha](https://forum.kirupa.com/t/mc-alpha/267767)

<div class="topic-metadata">

**Author:** [@Arkman](https://forum.kirupa.com/u/Arkman)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 3:22pm UTC](https://forum.kirupa.com/t/mc-alpha/267767 "2008-08-05T15:22:06Z")

</div>

I'm trying to get a movie clip that has an alpha of 0 in the first frame to go up to 80 when i tell it too. frame 1: myMC.\_alpha = 0; frame 10: myMC.\_alpha += 8; But I dont want it to go to 100, I want it to …

---

## [XmlConnector with next, previous and zoom](https://forum.kirupa.com/t/xmlconnector-with-next-previous-and-zoom/267765)

<div class="topic-metadata">

**Author:** [@muysbart](https://forum.kirupa.com/u/muysbart)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 2:52pm UTC](https://forum.kirupa.com/t/xmlconnector-with-next-previous-and-zoom/267765 "2008-08-05T14:52:14Z")

</div>

hi all, I made the old and accient xmlconnector application through a tutorial... I have been trying to add a next and previous button to it with no result so far... I have one combobox, a textarea and a imageloader …

---

## [gotoAndStop on main timeline from package / class](https://forum.kirupa.com/t/gotoandstop-on-main-timeline-from-package-class/267764)

<div class="topic-metadata">

**Author:** [@pinstripe](https://forum.kirupa.com/u/pinstripe)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 2:47pm UTC](https://forum.kirupa.com/t/gotoandstop-on-main-timeline-from-package-class/267764 "2008-08-05T14:47:01Z")

</div>

Hi all, Just signed up here. I've been having a problem for quite some time now. I've searched Google a lot (as well as here) and I can't seem to solve my problem. If this has been covered a thousand times, my apologie…

---

## [Unloading Movie Clip from root Container](https://forum.kirupa.com/t/unloading-movie-clip-from-root-container/267761)

<div class="topic-metadata">

**Author:** [@3dtoon](https://forum.kirupa.com/u/3dtoon)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 2:11pm UTC](https://forum.kirupa.com/t/unloading-movie-clip-from-root-container/267761 "2008-08-05T14:11:59Z")

</div>

Hi, I've created a main page with my main links on top, and a container as my body. I load my pages with this action to the container. NO PROBLEM. on (release) { if (\_root.currMovie == undefined) { \_root.cur…

---

## [How do I arrange objects when drawing with AS3?](https://forum.kirupa.com/t/how-do-i-arrange-objects-when-drawing-with-as3/267760)

<div class="topic-metadata">

**Author:** [@gitthiscrunk](https://forum.kirupa.com/u/gitthiscrunk)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 2:03pm UTC](https://forum.kirupa.com/t/how-do-i-arrange-objects-when-drawing-with-as3/267760 "2008-08-05T14:03:28Z")

</div>

I've created a background with code (a radial gradient background). How do I lay symbols on top of the background in my animation? Right now the background covers everything when I export my animation. I tried putting th…

---

## [Hope it is a Flash bug: \_focusrect=false not working](https://forum.kirupa.com/t/hope-it-is-a-flash-bug--focusrect-false-not-working/267754)

<div class="topic-metadata">

**Author:** [@kosa](https://forum.kirupa.com/u/kosa)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 12:43pm UTC](https://forum.kirupa.com/t/hope-it-is-a-flash-bug--focusrect-false-not-working/267754 "2008-08-05T12:43:16Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]Hi all,\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Verdana\]I met a problem while using some input boxes along with an image loader component in an application. The actual problem is while tabbing betw…

---

## [comboBox and focus issue](https://forum.kirupa.com/t/combobox-and-focus-issue/267752)

<div class="topic-metadata">

**Author:** [@jerryj](https://forum.kirupa.com/u/jerryj)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 11:57am UTC](https://forum.kirupa.com/t/combobox-and-focus-issue/267752 "2008-08-05T11:57:10Z")

</div>

Hi, to get the focus back on the stage (and my KeyboardEvent) again, on closing a comboBox I 've put stage.focus = this in the listener for the close event of the comboBox. Although it works, it also gives the…

---

## [Can't believe I can't work this out!](https://forum.kirupa.com/t/cant-believe-i-cant-work-this-out/267751)

<div class="topic-metadata">

**Author:** [@AgentOrange](https://forum.kirupa.com/u/AgentOrange)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 11:53am UTC](https://forum.kirupa.com/t/cant-believe-i-cant-work-this-out/267751 "2008-08-05T11:53:18Z")

</div>

I know this should be simple but I REALLY can't work out what I'm doing wrong. I have an FLA that features one long movieclip made up of equal sized blocks of colour each the same width as the stage and all I want to do …

---

## [Need help with XML slideshow](https://forum.kirupa.com/t/need-help-with-xml-slideshow/267749)

<div class="topic-metadata">

**Author:** [@whollyhis](https://forum.kirupa.com/u/whollyhis)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 11:13am UTC](https://forum.kirupa.com/t/need-help-with-xml-slideshow/267749 "2008-08-05T11:13:26Z")

</div>

I'm not much of an ActionScript-er, so hopefully this question will (a) make sense, and (b) be relatively easy to answer: I followed the instructions for creating an XML Flash slideshow from here: http://www.oman3d.com…

---

## [Assistance with font issue in form](https://forum.kirupa.com/t/assistance-with-font-issue-in-form/267747)

<div class="topic-metadata">

**Author:** [@webhead0](https://forum.kirupa.com/u/webhead0)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 11:08am UTC](https://forum.kirupa.com/t/assistance-with-font-issue-in-form/267747 "2008-08-05T11:08:16Z")

</div>

Hello! I am in Flash 8 and have a recycled form which I am submitting to an .asp form. Every time I submit the input information, it submits it but kicks back an error. The error seems to be that the .asp form is also …

---

## [PrintJob problem](https://forum.kirupa.com/t/printjob-problem/267746)

<div class="topic-metadata">

**Author:** [@spectator](https://forum.kirupa.com/u/spectator)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 11:04am UTC](https://forum.kirupa.com/t/printjob-problem/267746 "2008-08-05T11:04:14Z")

</div>

Hi all \[smile\] I have a problem with printing. I have a container(Sprite) in it I store MCs. The problem is how to print this with other things on page, but if the container is bigger and can't fit on the page to continu…

---

## [Need assistance with a flash form](https://forum.kirupa.com/t/need-assistance-with-a-flash-form/267745)

<div class="topic-metadata">

**Author:** [@webhead0](https://forum.kirupa.com/u/webhead0)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 10:57am UTC](https://forum.kirupa.com/t/need-assistance-with-a-flash-form/267745 "2008-08-05T10:57:20Z")

</div>

hello! I am in Flash 8 and have a recycled form which I am submitting to an .asp form. Every time I submit the input information, it submits it but kicks back an error. The error seems to be that the .asp form is also …

---

## [How to put multiple selected items of a list to an array?](https://forum.kirupa.com/t/how-to-put-multiple-selected-items-of-a-list-to-an-array/267743)

<div class="topic-metadata">

**Author:** [@alex298](https://forum.kirupa.com/u/alex298)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 10:45am UTC](https://forum.kirupa.com/t/how-to-put-multiple-selected-items-of-a-list-to-an-array/267743 "2008-08-05T10:45:52Z")

</div>

Hello, I tried to use a List to do something. I know how to add items to the list. Here’s my codes: import fl.controls.List; import fl.events.ListEvent; //Add Items to List myList.addItem( {label: “Item 1” } ); …

---

## [Sessions and seeing from new windows](https://forum.kirupa.com/t/sessions-and-seeing-from-new-windows/267741)

<div class="topic-metadata">

**Author:** [@CreativityAwait](https://forum.kirupa.com/u/CreativityAwait)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 10:26am UTC](https://forum.kirupa.com/t/sessions-and-seeing-from-new-windows/267741 "2008-08-05T10:26:19Z")

</div>

Hi All, I'm using some script from evolt which has a cool login and admin functions. Its been great! But i've hit an issue. I have got a file which echos out the username, ie echo $session-\>username; This works fi…

---

## [How do I create headerRenderer for DataGridColumn in AS?](https://forum.kirupa.com/t/how-do-i-create-headerrenderer-for-datagridcolumn-in-as/267740)

<div class="topic-metadata">

**Author:** [@Kenwio](https://forum.kirupa.com/u/Kenwio)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 10:10am UTC](https://forum.kirupa.com/t/how-do-i-create-headerrenderer-for-datagridcolumn-in-as/267740 "2008-08-05T10:10:56Z")

</div>

Hi!:) How do I create a headerRenderer with a TextInput for a DataGridColumn in ActionScript? I know how to do it in MXML but I need to know the how to do it in AS. Thanks for your time! //Kenwio

---

## [How to make an input text field trigger an action when user clicks on it to write?](https://forum.kirupa.com/t/how-to-make-an-input-text-field-trigger-an-action-when-user-clicks-on-it-to-write/267739)

<div class="topic-metadata">

**Author:** [@Jaremore7](https://forum.kirupa.com/u/Jaremore7)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 9:48am UTC](https://forum.kirupa.com/t/how-to-make-an-input-text-field-trigger-an-action-when-user-clicks-on-it-to-write/267739 "2008-08-05T09:48:05Z")

</div>

aHello everyone! I'm trying to achieve something that I'm sure it's not that complicated, but unfortunately I have not clue how to do it. I have created some text fields. And what I want to do, it's that when the use…

---

## [BitmapData transparent](https://forum.kirupa.com/t/bitmapdata-transparent/267738)

<div class="topic-metadata">

**Author:** [@OML](https://forum.kirupa.com/u/OML)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 9:46am UTC](https://forum.kirupa.com/t/bitmapdata-transparent/267738 "2008-08-05T09:46:33Z")

</div>

I'm interested in loading a Bitmap from a URL, and setting some pixels to become transparent. I think there's a problem with the definition of the loaded bitmap since it's 'transparent' property is automatically set on "…

---

## [Cool Roll Over effect](https://forum.kirupa.com/t/cool-roll-over-effect/267735)

<div class="topic-metadata">

**Author:** [@Rundevo](https://forum.kirupa.com/u/Rundevo)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 9:05am UTC](https://forum.kirupa.com/t/cool-roll-over-effect/267735 "2008-08-05T09:05:29Z")

</div>

Hi all! I came across this site while I was surfing for inspiration, http://georgiew.de/ If you click on "celebrities" and roll over the thumbnails you´ll see an intelligent roll over that senses which thumbnail its …

---

## [Number Length Problem](https://forum.kirupa.com/t/number-length-problem/267728)

<div class="topic-metadata">

**Author:** [@haroon](https://forum.kirupa.com/u/haroon)\
**Replies:** 0\
**Last updated:** [August 5, 2008, 6:59am UTC](https://forum.kirupa.com/t/number-length-problem/267728 "2008-08-05T06:59:08Z")

</div>

Hi All, i got some problem while playing around with Number (Datatype) how can i just round the decimal places. e.g 3.6589 to 3.6 Please Help me out THhanks got it

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

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