# programming

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

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

**Page:** 704

---

## [AS3 Date Chooser help](https://forum.kirupa.com/t/as3-date-chooser-help/295760)

<div class="topic-metadata">

**Author:** [@mgmcs](https://forum.kirupa.com/u/mgmcs)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 9:51pm UTC](https://forum.kirupa.com/t/as3-date-chooser-help/295760 "2009-09-03T21:51:56Z")

</div>

Hi, I am looking for a Date picker tool but i seems AS3 does not include the DateChooser component anymore. What is the alternative ? Writing one from scratch will take a long time. Is there any other way to achieve the …

---

## [Music Issue](https://forum.kirupa.com/t/music-issue/295759)

<div class="topic-metadata">

**Author:** [@Felipe1](https://forum.kirupa.com/u/Felipe1)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 9:48pm UTC](https://forum.kirupa.com/t/music-issue/295759 "2009-09-03T21:48:13Z")

</div>

Hello! I have an issue with Music in AS3, i know i'm missing something but i don't know what it is. Ok, I'm making an image gallery and i decided to add background music when i ope the gallery everything is fine the mus…

---

## [\[AS2\]Help needed with POST](https://forum.kirupa.com/t/as2-help-needed-with-post/295758)

<div class="topic-metadata">

**Author:** [@predte4a](https://forum.kirupa.com/u/predte4a)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 9:45pm UTC](https://forum.kirupa.com/t/as2-help-needed-with-post/295758 "2009-09-03T21:45:43Z")

</div>

Hi, guys, any help will be useful I\`m trying to send variables to php script via POST with AS2. This is the code I use: on(press){ var sendvars:LoadVars = new LoadVars(); sendvars.at = 'abv'; sendvars…

---

## [Accessing a class property through Document class](https://forum.kirupa.com/t/accessing-a-class-property-through-document-class/295755)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 8:48pm UTC](https://forum.kirupa.com/t/accessing-a-class-property-through-document-class/295755 "2009-09-03T20:48:01Z")

</div>

I have a document class that looks like this: package { import Map; import Hero; import flash.events.Event; import flash.display.MovieClip; import flash.display.Stage; public class VelunaStory extends MovieCl…

---

## [Controlling Spacing between htmlText Lines](https://forum.kirupa.com/t/controlling-spacing-between-htmltext-lines/295751)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 7:39pm UTC](https://forum.kirupa.com/t/controlling-spacing-between-htmltext-lines/295751 "2009-09-03T19:39:40Z")

</div>

I'm rendering text in a multiline textField as htmlText. I need to put some spacing between each paragraph line, but if a line is long and wraps around, I want the spacing to be normal or narrow. Currently, all lines tak…

---

## [Regex to replace Straight quotation Marks](https://forum.kirupa.com/t/regex-to-replace-straight-quotation-marks/295750)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 7:28pm UTC](https://forum.kirupa.com/t/regex-to-replace-straight-quotation-marks/295750 "2009-09-03T19:28:05Z")

</div>

I'm having problem converting single ' and double " straight quotations to curly quotation marks: ‘ ’ and “ ” in a long parsed xml data. Thanks for your help.

---

## [Small AS2 code to AS3](https://forum.kirupa.com/t/small-as2-code-to-as3/295747)

<div class="topic-metadata">

**Author:** [@split67](https://forum.kirupa.com/u/split67)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 7:11pm UTC](https://forum.kirupa.com/t/small-as2-code-to-as3/295747 "2009-09-03T19:11:31Z")

</div>

Been trying to convert this to AS3, but keep running into little errors that i'm unsure how to solve. It's a simple horizontal, scrolling gallery with clickable images that open a larger one on top. Can anyone help me ou…

---

## [Slide up, slide down menu](https://forum.kirupa.com/t/slide-up-slide-down-menu/295744)

<div class="topic-metadata">

**Author:** [@Toots](https://forum.kirupa.com/u/Toots)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 5:36pm UTC](https://forum.kirupa.com/t/slide-up-slide-down-menu/295744 "2009-09-03T17:36:46Z")

</div>

Hi all I was wondering if anyone could help me. Im creating a menu for a website that slides up and down. I found this.... http://www.dhtmlgoodies.com/index.html?whichScript=slidedown\_menu2 I have been able to follow…

---

## [AS2 FullScreen BG](https://forum.kirupa.com/t/as2-fullscreen-bg/295743)

<div class="topic-metadata">

**Author:** [@neonreel](https://forum.kirupa.com/u/neonreel)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 5:34pm UTC](https://forum.kirupa.com/t/as2-fullscreen-bg/295743 "2009-09-03T17:34:23Z")

</div>

Hello All, I am making a Full Screen flash site and I need my BG to scale proportionately. Currently I am using: \_root.attachMovie("bg3","bg3",\_root.getNextHighestDepth()); bg3.\_x = Stage.width/2; bg3.\_y = Stage.hei…

---

## [Need help with changing actionscript please](https://forum.kirupa.com/t/need-help-with-changing-actionscript-please/295742)

<div class="topic-metadata">

**Author:** [@vcugreg](https://forum.kirupa.com/u/vcugreg)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 5:26pm UTC](https://forum.kirupa.com/t/need-help-with-changing-actionscript-please/295742 "2009-09-03T17:26:33Z")

</div>

Hi guys, I ran into a problem today with using an old file that utilizes actionscript 1.0. I tried placing a video component into the file and it doesn't work. This leads me to believe I need to convert my old actionsc…

---

## [Array comparison problem](https://forum.kirupa.com/t/array-comparison-problem/295741)

<div class="topic-metadata">

**Author:** [@Ximenao](https://forum.kirupa.com/u/Ximenao)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 5:26pm UTC](https://forum.kirupa.com/t/array-comparison-problem/295741 "2009-09-03T17:26:25Z")

</div>

It's been awhile since I posted on these forums but now I have a rather complicated problem and I'm hoping anyone can help me: I'm trying to code a testing system, where the user will enter data into a HTML form, which p…

---

## [Sending param using FlashVars](https://forum.kirupa.com/t/sending-param-using-flashvars/295738)

<div class="topic-metadata">

**Author:** [@mgmcs](https://forum.kirupa.com/u/mgmcs)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 5:12pm UTC](https://forum.kirupa.com/t/sending-param-using-flashvars/295738 "2009-09-03T17:12:18Z")

</div>

Hi, I want to send parameters from my HTML file to Flash file using the FlashVars tag. I used the following procedure but it isnt working - In Flash file - var actionId:String = root.loaderInfo.parameters.actionId; I…

---

## [Convert existing code of AS3 to AS2 - URLRequest, URLLoader](https://forum.kirupa.com/t/convert-existing-code-of-as3-to-as2-urlrequest-urlloader/295737)

<div class="topic-metadata">

**Author:** [@mgmcs](https://forum.kirupa.com/u/mgmcs)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 5:02pm UTC](https://forum.kirupa.com/t/convert-existing-code-of-as3-to-as2-urlrequest-urlloader/295737 "2009-09-03T17:02:31Z")

</div>

Hi, I have written code to read an XML file by using URLRequest and URLLoader in ActionScript 3.0. Code is pasted below. This runs well in AS3. Problem I am facing is because I wrote this in AS3, I am not able to use th…

---

## [Help needed - Requesting data from a remote domain](https://forum.kirupa.com/t/help-needed-requesting-data-from-a-remote-domain/295732)

<div class="topic-metadata">

**Author:** [@acrocosm](https://forum.kirupa.com/u/acrocosm)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 4:09pm UTC](https://forum.kirupa.com/t/help-needed-requesting-data-from-a-remote-domain/295732 "2009-09-03T16:09:36Z")

</div>

Ok, an intro first then the problem... I'm developing an e-card system in AC2. The system mainly consists of two flash movies and is supported by PHP scripts and a mysql database for data storage. The first part is t…

---

## [How to target dynamically created objects](https://forum.kirupa.com/t/how-to-target-dynamically-created-objects/295731)

<div class="topic-metadata">

**Author:** [@CayoHueso](https://forum.kirupa.com/u/CayoHueso)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 4:05pm UTC](https://forum.kirupa.com/t/how-to-target-dynamically-created-objects/295731 "2009-09-03T16:05:54Z")

</div>

Hi, I am learning AS3, and I am trying to understand how to target dynamically created objects. I have the code: \` for (var i:Number = 0; i\<5; i++) { var boton:CreateButton(stage.stageWidth/5,30,0,1,colors\*,test,0x…

---

## [Blindly getting the names of movieclips on root](https://forum.kirupa.com/t/blindly-getting-the-names-of-movieclips-on-root/295729)

<div class="topic-metadata">

**Author:** [@bushman](https://forum.kirupa.com/u/bushman)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 3:50pm UTC](https://forum.kirupa.com/t/blindly-getting-the-names-of-movieclips-on-root/295729 "2009-09-03T15:50:42Z")

</div>

Hello, I have been struggling with the following scenario. I have two movieclips on stage. mcPlayMovie and mcMainClip I use the getURL to dynamically load a movieclip (childMovie.swf) into mcPlayMovie. I am try…

---

## [Thumbnail slider, center selected thumbnail](https://forum.kirupa.com/t/thumbnail-slider-center-selected-thumbnail/295728)

<div class="topic-metadata">

**Author:** [@layerburn](https://forum.kirupa.com/u/layerburn)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 3:41pm UTC](https://forum.kirupa.com/t/thumbnail-slider-center-selected-thumbnail/295728 "2009-09-03T15:41:42Z")

</div>

I'm currently trying to create a thumbnail slider that gives text detail about each image that slides out when the current image is selected. I'm trying to replicate the one located on the www.foodnetwork.com main page. …

---

## [Need help understanding removeChild](https://forum.kirupa.com/t/need-help-understanding-removechild/295727)

<div class="topic-metadata">

**Author:** [@mavwrx](https://forum.kirupa.com/u/mavwrx)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 3:27pm UTC](https://forum.kirupa.com/t/need-help-understanding-removechild/295727 "2009-09-03T15:27:31Z")

</div>

I am creating multiple instances of a movie class with the same variable name. The movie is then added random on the stage with a tween. On a mouse handler click, i want to remove the movie from the stage. I am getting …

---

## [Tracing table](https://forum.kirupa.com/t/tracing-table/295726)

<div class="topic-metadata">

**Author:** [@turb](https://forum.kirupa.com/u/turb)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 2:46pm UTC](https://forum.kirupa.com/t/tracing-table/295726 "2009-09-03T14:46:16Z")

</div>

Hi, is there any way to trace information in a table way (column/ row) so data are all aligned. I'm currently using some caracters but when a word is longer that the others, it break it all. So, is there any way …

---

## [MV container and draw bitmap](https://forum.kirupa.com/t/mv-container-and-draw-bitmap/295724)

<div class="topic-metadata">

**Author:** [@Eagle1](https://forum.kirupa.com/u/Eagle1)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 2:36pm UTC](https://forum.kirupa.com/t/mv-container-and-draw-bitmap/295724 "2009-09-03T14:36:02Z")

</div>

Hi everyone... here is my issue : I have a MV called container. It has no specified size. I add to this container a child, a loaded SWF. And then, later, I draw this container into a BitMapData. var jpgSource:Bitmap…

---

## [onExitFrame method exist or similar?](https://forum.kirupa.com/t/onexitframe-method-exist-or-similar/295723)

<div class="topic-metadata">

**Author:** [@lleemon](https://forum.kirupa.com/u/lleemon)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 2:13pm UTC](https://forum.kirupa.com/t/onexitframe-method-exist-or-similar/295723 "2009-09-03T14:13:29Z")

</div>

In the article kirupa wrote called, "Photo Gallery Using XML and Flash" link he had the following function: this.onEnterFrame = function() { filesize = picture.getBytesTotal(); loaded = picture.getBytesLoaded(); p…

---

## [AS works until the file is saved](https://forum.kirupa.com/t/as-works-until-the-file-is-saved/295722)

<div class="topic-metadata">

**Author:** [@kdteacher](https://forum.kirupa.com/u/kdteacher)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 1:57pm UTC](https://forum.kirupa.com/t/as-works-until-the-file-is-saved/295722 "2009-09-03T13:57:05Z")

</div>

I am a high school web design teacher and we are working with Flash CS4 for the first time (we are migrating from Macromedia 8) Here is my problem, some students have actionscript that works until after they save. Th…

---

## [Reducing flv CPU usage](https://forum.kirupa.com/t/reducing-flv-cpu-usage/295721)

<div class="topic-metadata">

**Author:** [@anemor2000](https://forum.kirupa.com/u/anemor2000)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 1:42pm UTC](https://forum.kirupa.com/t/reducing-flv-cpu-usage/295721 "2009-09-03T13:42:12Z")

</div>

Hi, I am making a websites with fairly large videos in the background. The site is extremely heavy for the cpu and I was wondering if any of you guys know a trick on how to make flv streaming less heavy. Here are all m…

---

## [Urgent please help ASP - new XML Node](https://forum.kirupa.com/t/urgent-please-help-asp-new-xml-node/295719)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 1:07pm UTC](https://forum.kirupa.com/t/urgent-please-help-asp-new-xml-node/295719 "2009-09-03T13:07:14Z")

</div>

Hello, Sorry for the urgent in the title, but I need to get this finished and out the door today... I have this XML \<?xml version='1.0' encoding='ISO-8859-1'?\>\<offline\> \<menus\> \<menu image="" width="" height="" mo…

---

## [Coloring book in Flash tutorial](https://forum.kirupa.com/t/coloring-book-in-flash-tutorial/295718)

<div class="topic-metadata">

**Author:** [@Jasna](https://forum.kirupa.com/u/Jasna)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 12:39pm UTC](https://forum.kirupa.com/t/coloring-book-in-flash-tutorial/295718 "2009-09-03T12:39:57Z")

</div>

Hi, i am leaning Flash for about 3 weeks now, and i am quite good in that. I am AMAZED by all cool effects and trying to learn atleast 1 new every day. This tutorial, Coloring Book in Flash , is giving me headache fo…

---

## [Adding back and next buttons](https://forum.kirupa.com/t/adding-back-and-next-buttons/295717)

<div class="topic-metadata">

**Author:** [@last](https://forum.kirupa.com/u/last)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 12:26pm UTC](https://forum.kirupa.com/t/adding-back-and-next-buttons/295717 "2009-09-03T12:26:49Z")

</div>

I am working on the tutorial http://www.kirupa.com/developer/actionscript/flashphpxml\_integration.htm The tutorial uses a multiline textbox to display data from MySQL but I wanted to know how I would code if I used a …

---

## [Tween class and setTimeout function for a website main menu](https://forum.kirupa.com/t/tween-class-and-settimeout-function-for-a-website-main-menu/295716)

<div class="topic-metadata">

**Author:** [@lucias](https://forum.kirupa.com/u/lucias)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 12:17pm UTC](https://forum.kirupa.com/t/tween-class-and-settimeout-function-for-a-website-main-menu/295716 "2009-09-03T12:17:25Z")

</div>

Hi people, I'm a beginner in as2. I found this open code to make a menu. It's working well, but I want to make a tween class to launch this menu and wait 4 seconds to start. Any suggestions? Thanks. var menuButtons:…

---

## [removeChild .. removes from memory?](https://forum.kirupa.com/t/removechild-removes-from-memory/295715)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 12:02pm UTC](https://forum.kirupa.com/t/removechild-removes-from-memory/295715 "2009-09-03T12:02:54Z")

</div>

Hi, I am loading in a swf into my file, via the loader class. When I remove this child .. does all the swf remain in the memory, or is it discarded? I want to remove it entirely .. var myLoader:Loader = new Loader(); …

---

## [1 + 1 = 1 (?)](https://forum.kirupa.com/t/1-1-1/295711)

<div class="topic-metadata">

**Author:** [@kleelof](https://forum.kirupa.com/u/kleelof)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 8:14am UTC](https://forum.kirupa.com/t/1-1-1/295711 "2009-09-03T08:14:08Z")

</div>

Hello, I'm having a bit of a problem here. The following code, it seems to me, should print '2'. However, it prints a '1'. var a:Number = 1; updateVal(a); trace(a) function updateVal(num:Number):void{ num++…

---

## [AI format to Flash](https://forum.kirupa.com/t/ai-format-to-flash/295708)

<div class="topic-metadata">

**Author:** [@vikrant29nov](https://forum.kirupa.com/u/vikrant29nov)\
**Replies:** 0\
**Last updated:** [September 3, 2009, 7:09am UTC](https://forum.kirupa.com/t/ai-format-to-flash/295708 "2009-09-03T07:09:56Z")

</div>

Hey Guys, I have received icon library from my client in AI format and he asked me to use this icons in flash. But the challenge is how should i import this icons in flash that too in vector format. I am following a…

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

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