# programming

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

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

**Page:** 1330

---

## [Change the alignment of text thru AS](https://forum.kirupa.com/t/change-the-alignment-of-text-thru-as/253975)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 10:28pm UTC](https://forum.kirupa.com/t/change-the-alignment-of-text-thru-as/253975 "2008-03-06T22:28:55Z")

</div>

How do I change the align property of the text (justify, center, left, right) using AS?

---

## [Post URL Variables through FileUploader](https://forum.kirupa.com/t/post-url-variables-through-fileuploader/253974)

<div class="topic-metadata">

**Author:** [@apexonelove](https://forum.kirupa.com/u/apexonelove)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 10:24pm UTC](https://forum.kirupa.com/t/post-url-variables-through-fileuploader/253974 "2008-03-06T22:24:53Z")

</div>

I'm working on a file uploader that needs to pass a few variables to the php that will post. I've seen how the var posts work if it's a form, but this one's a little tricky. Here's the uplaod fiunction I'm got so far: …

---

## [Converting a movieclip to bitmap data](https://forum.kirupa.com/t/converting-a-movieclip-to-bitmap-data/253973)

<div class="topic-metadata">

**Author:** [@Fpad77](https://forum.kirupa.com/u/Fpad77)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 10:14pm UTC](https://forum.kirupa.com/t/converting-a-movieclip-to-bitmap-data/253973 "2008-03-06T22:14:00Z")

</div>

Hi, Just been gradually switching over to AS3, and I've hit a problem and its doing my nut in because I can't find a way to get it to work. Basically I want to take a portion of a movieclip and convert it into bitmap d…

---

## [AudioJelly + Similar Script](https://forum.kirupa.com/t/audiojelly-similar-script/253972)

<div class="topic-metadata">

**Author:** [@onemotion](https://forum.kirupa.com/u/onemotion)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 10:10pm UTC](https://forum.kirupa.com/t/audiojelly-similar-script/253972 "2008-03-06T22:10:48Z")

</div>

Hello, I was wondering if there is a script that has the same capabilities and functions as http://www.audiojelly.com . Any help would be greatly appreciated.

---

## [Disable listeners while XML being loaded](https://forum.kirupa.com/t/disable-listeners-while-xml-being-loaded/253970)

<div class="topic-metadata">

**Author:** [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 10:00pm UTC](https://forum.kirupa.com/t/disable-listeners-while-xml-being-loaded/253970 "2008-03-06T22:00:15Z")

</div>

I am implementing several listeners in my application, but they seem to slow my XML load function significantly...I would like to disable my listeners until the load is completed...how would I go about doing this?

---

## [FileReference problem with FF & Safari on mac](https://forum.kirupa.com/t/filereference-problem-with-ff-safari-on-mac/253968)

<div class="topic-metadata">

**Author:** [@Jeesus](https://forum.kirupa.com/u/Jeesus)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 9:43pm UTC](https://forum.kirupa.com/t/filereference-problem-with-ff-safari-on-mac/253968 "2008-03-06T21:43:17Z")

</div>

Hey all! Having an enormously irritating problem with the filereference class. Everything works well on a pc, with when trying it out on a mac the file seems to upload (it reaches 100%) but then throws an HTTP 404 error …

---

## [Easy PHP photo gallery generator](https://forum.kirupa.com/t/easy-php-photo-gallery-generator/253966)

<div class="topic-metadata">

**Author:** [@tommythewolfboy](https://forum.kirupa.com/u/tommythewolfboy)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 9:28pm UTC](https://forum.kirupa.com/t/easy-php-photo-gallery-generator/253966 "2008-03-06T21:28:55Z")

</div>

Hi folks, I am creating a website for a photographer friend who would like to have an area on their site where clients can go and view pictures (a separate area for each customer). My friend would like to be able to ad…

---

## [HOW DO I DISABLE BUTTONS ON image FADE IN?](https://forum.kirupa.com/t/how-do-i-disable-buttons-on-image-fade-in/253964)

<div class="topic-metadata">

**Author:** [@carmello](https://forum.kirupa.com/u/carmello)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 9:10pm UTC](https://forum.kirupa.com/t/how-do-i-disable-buttons-on-image-fade-in/253964 "2008-03-06T21:10:49Z")

</div>

I have four buttons on a website - on press I want each button to trigger a fade in for an image...When a user hits on diff button, the the previous image should fade out and a new image fade in..... The script I am usi…

---

## [MX2004PRO\[AS2.0\] Cycling though objects and their properties](https://forum.kirupa.com/t/mx2004pro-as2-0-cycling-though-objects-and-their-properties/253963)

<div class="topic-metadata">

**Author:** [@Gar\_Fonz](https://forum.kirupa.com/u/Gar_Fonz)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 9:07pm UTC](https://forum.kirupa.com/t/mx2004pro-as2-0-cycling-though-objects-and-their-properties/253963 "2008-03-06T21:07:40Z")

</div>

I am trying to do something like the following ( it doesn't work, I receive an error:Error Scene=Scene 1, layer=Layer 1, frame=1:Line 7: Expected a field name after '.' operator. root.\["object"+root.i\].one = \["a"+i\]…

---

## [Need tips regarding Flash Video Gallery](https://forum.kirupa.com/t/need-tips-regarding-flash-video-gallery/253962)

<div class="topic-metadata">

**Author:** [@idark](https://forum.kirupa.com/u/idark)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 9:06pm UTC](https://forum.kirupa.com/t/need-tips-regarding-flash-video-gallery/253962 "2008-03-06T21:06:05Z")

</div>

Ok I don't know if I complicate things more than they should be or something, but I have been thinking and trying and failing for about 2 weeks, on how to create a simple video gallery. within the 500x325px size that con…

---

## [XML File size limit?](https://forum.kirupa.com/t/xml-file-size-limit/253961)

<div class="topic-metadata">

**Author:** [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 9:03pm UTC](https://forum.kirupa.com/t/xml-file-size-limit/253961 "2008-03-06T21:03:46Z")

</div>

Is there a limit to the size that an XML file can be? I am working with some huge XML files, and one that I am working with 98938 Lines and is about 2 megs...for some reason, it seems like my app is not reading the file…

---

## [BitmapData Timer](https://forum.kirupa.com/t/bitmapdata-timer/253959)

<div class="topic-metadata">

**Author:** [@scottse14](https://forum.kirupa.com/u/scottse14)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 8:57pm UTC](https://forum.kirupa.com/t/bitmapdata-timer/253959 "2008-03-06T20:57:37Z")

</div>

Hi guys, I'm very new to flash (and to this forum) and I'm trying to create this timer for a school project. It's basically going to be a pixel stopwatch that displays a new pixel every second using the BitmapData class…

---

## [Loading SWF file into HTML](https://forum.kirupa.com/t/loading-swf-file-into-html/253958)

<div class="topic-metadata">

**Author:** [@showerx](https://forum.kirupa.com/u/showerx)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 8:54pm UTC](https://forum.kirupa.com/t/loading-swf-file-into-html/253958 "2008-03-06T20:54:00Z")

</div>

I finished my flash website, I now want to load it into html, after I Click on file, publish, ect. I now have a HTML file. What I want to do is the following.. I want to center the swf movie, and I need to change t…

---

## [Rotating shapes in display container](https://forum.kirupa.com/t/rotating-shapes-in-display-container/253956)

<div class="topic-metadata">

**Author:** [@popfly](https://forum.kirupa.com/u/popfly)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 8:22pm UTC](https://forum.kirupa.com/t/rotating-shapes-in-display-container/253956 "2008-03-06T20:22:33Z")

</div>

Howdy, Flash CS3 - AS3 Windows XP I'm creating some rectangles dynamically and I'd like to rotate them each 180 degrees. The problem is, when I throw the rotation on them, it seems like they are rotating around the …

---

## [Random image fade in/ou on stage HELP](https://forum.kirupa.com/t/random-image-fade-in-ou-on-stage-help/253955)

<div class="topic-metadata">

**Author:** [@Brisa](https://forum.kirupa.com/u/Brisa)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 8:17pm UTC](https://forum.kirupa.com/t/random-image-fade-in-ou-on-stage-help/253955 "2008-03-06T20:17:07Z")

</div>

I have 6 images on stage (image0, image1, etc) and I want to fade in , fade out randomly. The random traces, but the images are not fading Whats wrong?? Here's the code. import mx.transitions.Tween; import mx.transi…

---

## [How Do I Disable Buttons On Fade In?](https://forum.kirupa.com/t/how-do-i-disable-buttons-on-fade-in/253954)

<div class="topic-metadata">

**Author:** [@carmello](https://forum.kirupa.com/u/carmello)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 8:15pm UTC](https://forum.kirupa.com/t/how-do-i-disable-buttons-on-fade-in/253954 "2008-03-06T20:15:10Z")

</div>

I have four buttons on a website - on press I want each button to trigger a fade in for an image...When a user hits on diff button, the the previous image should fade out and a new image fade in..... The script I am usi…

---

## [Problem with HTML publishing templates](https://forum.kirupa.com/t/problem-with-html-publishing-templates/253947)

<div class="topic-metadata">

**Author:** [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 6:24pm UTC](https://forum.kirupa.com/t/problem-with-html-publishing-templates/253947 "2008-03-06T18:24:55Z")

</div>

Hi! I have created a HTML publishing template for Flash CS3 and saved it in the folder HTML in First Run. My problem is that I can't see my own template in the list over publishing templates inside Flash CS3. How can I a…

---

## [Order defined by user](https://forum.kirupa.com/t/order-defined-by-user/253946)

<div class="topic-metadata">

**Author:** [@esferaweb](https://forum.kirupa.com/u/esferaweb)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 6:00pm UTC](https://forum.kirupa.com/t/order-defined-by-user/253946 "2008-03-06T18:00:52Z")

</div>

Hello, how can i build a mysql select that read an array and order the results according to the sequence found in the array. \*\*Ex. \*\* I have two tables, gallery and images. On gallery i have a column called order. th…

---

## [Line Spacing](https://forum.kirupa.com/t/line-spacing/253939)

<div class="topic-metadata">

**Author:** [@CantinaDan](https://forum.kirupa.com/u/CantinaDan)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 5:05pm UTC](https://forum.kirupa.com/t/line-spacing/253939 "2008-03-06T17:05:03Z")

</div>

Hello. I'm new to Flash and am working on my first project. Glad to have found this forum. I've created a text box and set it to Static Text. I've got a few lines of copy. I've set the line spacing to 4pt. But between …

---

## [Problem with Scrolling Dynamically Loaded MC on stage resize](https://forum.kirupa.com/t/problem-with-scrolling-dynamically-loaded-mc-on-stage-resize/253938)

<div class="topic-metadata">

**Author:** [@BhavikShah](https://forum.kirupa.com/u/BhavikShah)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 5:03pm UTC](https://forum.kirupa.com/t/problem-with-scrolling-dynamically-loaded-mc-on-stage-resize/253938 "2008-03-06T17:03:20Z")

</div>

Hi Friends I've a 1 image scrolling mc where images are loaded dynam icaly loaded. I m keeping my Movie clip on ceter of the stage. If i keep my stage size normal then it works fine but when i resize my stage then …

---

## [Flash CS3 Actionscript 3.0 Books](https://forum.kirupa.com/t/flash-cs3-actionscript-3-0-books/253933)

<div class="topic-metadata">

**Author:** [@Risuun](https://forum.kirupa.com/u/Risuun)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 4:09pm UTC](https://forum.kirupa.com/t/flash-cs3-actionscript-3-0-books/253933 "2008-03-06T16:09:16Z")

</div>

I was wondering if there are any good books out there for Actionscript 3.0 in Flash CS3. I am aware of many Actionscript 3.0 books, but their focus is only in the Flex IDE and that's not what I want.

---

## [TextField and Dynamically Embedded Fonts Issue](https://forum.kirupa.com/t/textfield-and-dynamically-embedded-fonts-issue/253931)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 4:01pm UTC](https://forum.kirupa.com/t/textfield-and-dynamically-embedded-fonts-issue/253931 "2008-03-06T16:01:47Z")

</div>

I have an app that dynamically loads fonts at runtime. Most of my TextFields look perfectly fine, but a few of them don't display the text properly. On these, the text is displayed on top of the TextField, as if the to…

---

## [Animation/movieclip slider needed - urgent!](https://forum.kirupa.com/t/animation-movieclip-slider-needed-urgent/253928)

<div class="topic-metadata">

**Author:** [@asscripter](https://forum.kirupa.com/u/asscripter)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 3:21pm UTC](https://forum.kirupa.com/t/animation-movieclip-slider-needed-urgent/253928 "2008-03-06T15:21:21Z")

</div>

Hi I hv an urgent requirement. I want a slider code which can control my movieclip playback. This should have Dragging, Play/Pause, Replay and Volume controls. Can anyone pls provide me a working sample (readymade cod…

---

## [Storing results](https://forum.kirupa.com/t/storing-results/253927)

<div class="topic-metadata">

**Author:** [@peka](https://forum.kirupa.com/u/peka)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 3:19pm UTC](https://forum.kirupa.com/t/storing-results/253927 "2008-03-06T15:19:26Z")

</div>

I wanto to create games that are customized to each user. As a result, I would need to build a database of users and past performances, which are updated with the most recent results. I know that there is a way to store …

---

## [Speech Recognition](https://forum.kirupa.com/t/speech-recognition/253926)

<div class="topic-metadata">

**Author:** [@peka](https://forum.kirupa.com/u/peka)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 3:15pm UTC](https://forum.kirupa.com/t/speech-recognition/253926 "2008-03-06T15:15:53Z")

</div>

Hi, I am thinking on including speech recognition on Flash Games, That said, I do not exactly whether this is possible. Does anyone have experience or knowledge on the topic. Regards, Peka

---

## [Problem with Event Handler](https://forum.kirupa.com/t/problem-with-event-handler/253924)

<div class="topic-metadata">

**Author:** [@kaysingh](https://forum.kirupa.com/u/kaysingh)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 3:03pm UTC](https://forum.kirupa.com/t/problem-with-event-handler/253924 "2008-03-06T15:03:49Z")

</div>

I've used Kirupa's code for making a movie clip behave like a button: \[COLOR=darkred\]stop(); this.onEnterFrame = function(){ if(rewind == true){ prevFrame(); } }\[/COLOR\] \[COLOR=darkred\]this.onRollOver = …

---

## [Your Choice-drop down](https://forum.kirupa.com/t/your-choice-drop-down/253921)

<div class="topic-metadata">

**Author:** [@dirfors](https://forum.kirupa.com/u/dirfors)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 2:40pm UTC](https://forum.kirupa.com/t/your-choice-drop-down/253921 "2008-03-06T14:40:02Z")

</div>

Hi! I'm doing the flash-inputs for a new website for BodyShields, and I'm bumped into a problem. The boss wants a "Choose-your-own-features"-section (dunno if it has a real name), with drop-downs, and to be honest, I h…

---

## [Fuse Kit, I need delay](https://forum.kirupa.com/t/fuse-kit-i-need-delay/253920)

<div class="topic-metadata">

**Author:** [@ryosaeba](https://forum.kirupa.com/u/ryosaeba)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 2:37pm UTC](https://forum.kirupa.com/t/fuse-kit-i-need-delay/253920 "2008-03-06T14:37:24Z")

</div>

Dear friends, I'd use fuse from about 4 hour... And I've try to do a simple effects on my "img1\_mc" moivie clip: this.img1\_mc.\_alpha = 0; this.img1\_mc.alphaTo("100",1.5,"easeInQuad"); this.img1\_mc.scaleTo (120,2,"eas…

---

## [Dynamic/Database Flash Site](https://forum.kirupa.com/t/dynamic-database-flash-site/253919)

<div class="topic-metadata">

**Author:** [@briand5](https://forum.kirupa.com/u/briand5)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 2:30pm UTC](https://forum.kirupa.com/t/dynamic-database-flash-site/253919 "2008-03-06T14:30:17Z")

</div>

Hi, I have a client that is wanting me to create a flash website in which they can add products pages (product info, images, etc.) themselves after the website is completed. I will setup up the first few products then …

---

## [404 Page not Working](https://forum.kirupa.com/t/404-page-not-working/253918)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [March 6, 2008, 2:25pm UTC](https://forum.kirupa.com/t/404-page-not-working/253918 "2008-03-06T14:25:37Z")

</div>

I have a 404 error page on my website in the root directory called 'missing.html'. If I type in an address that does not exist -- for example -- www.kirupa.com/dfsdad -- the page will come up. However, if I type in the n…

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

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