# programming

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

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

**Page:** 713

---

## [AS2 rollovers](https://forum.kirupa.com/t/as2-rollovers/295187)

<div class="topic-metadata">

**Author:** [@jwalker80](https://forum.kirupa.com/u/jwalker80)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 1:03pm UTC](https://forum.kirupa.com/t/as2-rollovers/295187 "2009-08-26T13:03:18Z")

</div>

Hey, I have rollovers in Flash using AS2. Check them out here: http://justinwalker.ie/phones/phones.html They work fine except for when you rollover over them quickly sometimes the phone get stuck on the rollov…

---

## [Problem with copying layers](https://forum.kirupa.com/t/problem-with-copying-layers/295186)

<div class="topic-metadata">

**Author:** [@hagop](https://forum.kirupa.com/u/hagop)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 12:52pm UTC](https://forum.kirupa.com/t/problem-with-copying-layers/295186 "2009-08-26T12:52:52Z")

</div>

Hi all ! I have a problem with copying layers from one flash file to another. I select all frames (each frame contains a picture) & right click & copy frames \*\*and then I move to the other flash file and \*\*paste the fr…

---

## [Calling multiple similarly named objects in a function](https://forum.kirupa.com/t/calling-multiple-similarly-named-objects-in-a-function/295181)

<div class="topic-metadata">

**Author:** [@smgDesign](https://forum.kirupa.com/u/smgDesign)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 11:58am UTC](https://forum.kirupa.com/t/calling-multiple-similarly-named-objects-in-a-function/295181 "2009-08-26T11:58:51Z")

</div>

Hello, guys and thanks for reading this \[smile\] I've got an issue with resizing multiple similarly named objects. I've got the following code that works: mc0.nb0.autoSize = "left" nb0 is a text box placed inside mc…

---

## [Help with regular expressions](https://forum.kirupa.com/t/help-with-regular-expressions/295180)

<div class="topic-metadata">

**Author:** [@Burvs](https://forum.kirupa.com/u/Burvs)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 11:45am UTC](https://forum.kirupa.com/t/help-with-regular-expressions/295180 "2009-08-26T11:45:14Z")

</div>

Hi all, I'm trying to use regular expressions with the String.replace() method to manipulate a string to replace all instances of a forward slash "/" with a period "." So for instance, if I start with this String: "…

---

## [keyCode and charCode on foreign keyboards?](https://forum.kirupa.com/t/keycode-and-charcode-on-foreign-keyboards/295179)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 11:44am UTC](https://forum.kirupa.com/t/keycode-and-charcode-on-foreign-keyboards/295179 "2009-08-26T11:44:58Z")

</div>

I thought all keyboards were alike other than maybe special Chinese and Japanese ones. I was guessing that, other than adding a few extra letters (such as Sweden's Å, Ä, and Ö), the keyboards would be identical... WRONG. …

---

## [Load image with particular size](https://forum.kirupa.com/t/load-image-with-particular-size/295177)

<div class="topic-metadata">

**Author:** [@vjn\_23](https://forum.kirupa.com/u/vjn_23)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 11:08am UTC](https://forum.kirupa.com/t/load-image-with-particular-size/295177 "2009-08-26T11:08:30Z")

</div>

Hi, I am using flash 8. and i have one .Jpg image (1024 x 768px - Its vary) now i want to load this image to my Movieclip. But my movieclip size is 130 x 140px. how is it possible to load and fix this movieclip size…

---

## [Help on createTextField](https://forum.kirupa.com/t/help-on-createtextfield/295176)

<div class="topic-metadata">

**Author:** [@raghu\_thejus](https://forum.kirupa.com/u/raghu_thejus)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 10:56am UTC](https://forum.kirupa.com/t/help-on-createtextfield/295176 "2009-08-26T10:56:14Z")

</div>

i know as3(4 months exp).but dnt know much of as2. I have problem with as2.i have a movieclip chatnplayer\_mc and a button on stage(many other movieclips are also there).when i press button i want a textfield to be added …

---

## [Object Moving Problem :(](https://forum.kirupa.com/t/object-moving-problem/295172)

<div class="topic-metadata">

**Author:** [@lan0011](https://forum.kirupa.com/u/lan0011)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 10:28am UTC](https://forum.kirupa.com/t/object-moving-problem/295172 "2009-08-26T10:28:10Z")

</div>

Ok now i've got a stick figure who moves across the stage with a simple movement code. the thing is that when the stick figure moves the bottom half of him lag behind the top half therefore making the stick figure split.…

---

## [Irridescent Custom Color Libs for Flash 8](https://forum.kirupa.com/t/irridescent-custom-color-libs-for-flash-8/295171)

<div class="topic-metadata">

**Author:** [@digartz](https://forum.kirupa.com/u/digartz)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 10:21am UTC](https://forum.kirupa.com/t/irridescent-custom-color-libs-for-flash-8/295171 "2009-08-26T10:21:02Z")

</div>

I'm doing some GUI screens for sci fi / fantasy displays in Flash 8 and i really need some better color libraries, anyone know where i can find some \*irridescent / electric color pallets \*that will really stand out on t…

---

## [How to tween multiple movie clips within a single layer](https://forum.kirupa.com/t/how-to-tween-multiple-movie-clips-within-a-single-layer/295169)

<div class="topic-metadata">

**Author:** [@vivkimi](https://forum.kirupa.com/u/vivkimi)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 9:08am UTC](https://forum.kirupa.com/t/how-to-tween-multiple-movie-clips-within-a-single-layer/295169 "2009-08-26T09:08:37Z")

</div>

Hi, I need help: i want to have two different tweens on different movieclips within same layer...but what happens is..it groups both the mc into a single graphic...and applies tween for the entire graphic..and also i lo…

---

## ["Hello World" source code using Flash Remoting needed](https://forum.kirupa.com/t/hello-world-source-code-using-flash-remoting-needed/295167)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 9:03am UTC](https://forum.kirupa.com/t/hello-world-source-code-using-flash-remoting-needed/295167 "2009-08-26T09:03:12Z")

</div>

Hello Friends, I want the source code of "Hello World" program using Flash Remoting !! Whether it might be using Flash - PHP or Flash - Java or anything..... Along with source code files, tell me what are all the s/w's…

---

## [Cell Renderer in a datagrid component](https://forum.kirupa.com/t/cell-renderer-in-a-datagrid-component/295159)

<div class="topic-metadata">

**Author:** [@blackcoma](https://forum.kirupa.com/u/blackcoma)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 4:43am UTC](https://forum.kirupa.com/t/cell-renderer-in-a-datagrid-component/295159 "2009-08-26T04:43:12Z")

</div>

Hi, I've created a custom datagrid column which contains buttons according to the content of the row. In each row I have a movieclip which has 3 frames (for 3 possible actions - play / pause / stop), problem is I don'…

---

## [AS2 to AS3 conversion (PAID)](https://forum.kirupa.com/t/as2-to-as3-conversion-paid/295158)

<div class="topic-metadata">

**Author:** [@georgekhowell](https://forum.kirupa.com/u/georgekhowell)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 4:26am UTC](https://forum.kirupa.com/t/as2-to-as3-conversion-paid/295158 "2009-08-26T04:26:15Z")

</div>

hello out there. I'm a new member/not experienced in ActionScript (Graphic Designer norm). I need the following code converted from AS2 to AS3 for a Flex job I'm working on. I'll negotiate with the client as to "how much…

---

## [Kirupa Flash PHP Email Validation](https://forum.kirupa.com/t/kirupa-flash-php-email-validation/295157)

<div class="topic-metadata">

**Author:** [@ossiebossie](https://forum.kirupa.com/u/ossiebossie)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 4:15am UTC](https://forum.kirupa.com/t/kirupa-flash-php-email-validation/295157 "2009-08-26T04:15:18Z")

</div>

Hi, I had recently downloaded the flash php form and it works well except that there is no validation for the text fields. Is it possible for someone to help me out in this regard. I need the error message to be displa…

---

## [How does one designate an array to an object?](https://forum.kirupa.com/t/how-does-one-designate-an-array-to-an-object/295154)

<div class="topic-metadata">

**Author:** [@Madison78](https://forum.kirupa.com/u/Madison78)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 3:02am UTC](https://forum.kirupa.com/t/how-does-one-designate-an-array-to-an-object/295154 "2009-08-26T03:02:39Z")

</div>

I'm an AS3 newbie so bare with me here. I am working on a page of my portfolio in which there are four menu items (buttons): Print, Identity, Packaging and Other. When you click on any one of these, they successfully t…

---

## [No video no image showing in my flash movie](https://forum.kirupa.com/t/no-video-no-image-showing-in-my-flash-movie/295153)

<div class="topic-metadata">

**Author:** [@drdave](https://forum.kirupa.com/u/drdave)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 2:24am UTC](https://forum.kirupa.com/t/no-video-no-image-showing-in-my-flash-movie/295153 "2009-08-26T02:24:24Z")

</div>

Ok I am attempting too explain this another way. Same post. Can someone tell me how to add a wmv or flv video into a full flash template? The link can be seen below and the photo in the middle is what I want to click…

---

## [How to make preloader launch external swf, which then deletes preloader?](https://forum.kirupa.com/t/how-to-make-preloader-launch-external-swf-which-then-deletes-preloader/295152)

<div class="topic-metadata">

**Author:** [@paxinter](https://forum.kirupa.com/u/paxinter)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 1:17am UTC](https://forum.kirupa.com/t/how-to-make-preloader-launch-external-swf-which-then-deletes-preloader/295152 "2009-08-26T01:17:50Z")

</div>

\[COLOR=white\] \[FONT=Calisto MT\].\[/FONT\] \[/COLOR\] \[FONT=Calisto MT\] Using Flash MX, ActionScript 2: \[/FONT\] \[COLOR=white\] \[FONT=Calisto MT\].\[/FONT\] \[/COLOR\] \[FONT=Calisto MT\]I’ve been struggling for several…

---

## [Formmail PHP](https://forum.kirupa.com/t/formmail-php/295149)

<div class="topic-metadata">

**Author:** [@blimpman](https://forum.kirupa.com/u/blimpman)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 12:36am UTC](https://forum.kirupa.com/t/formmail-php/295149 "2009-08-26T00:36:52Z")

</div>

I've attached the below PHP code to my email form but for some reason when I receive emails it doesn't show a subject. Any reason why? \<?php $emailSubject = 'EMAIL\_FORM\_SUBJECT'; $webMaster = 'my\_email\_address.c…

---

## [Problem with custom class, 5000 error](https://forum.kirupa.com/t/problem-with-custom-class-5000-error/295148)

<div class="topic-metadata">

**Author:** [@gotler](https://forum.kirupa.com/u/gotler)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 11:50pm UTC](https://forum.kirupa.com/t/problem-with-custom-class-5000-error/295148 "2009-08-25T23:50:09Z")

</div>

I'm trying to get into proper OOP in AS, and the first thing I've tried to do is to make an improved textfield class that has a easy to use constructor and a method for clearing default text on focus. I've had quite a fe…

---

## [Editing a XML file using a form](https://forum.kirupa.com/t/editing-a-xml-file-using-a-form/295147)

<div class="topic-metadata">

**Author:** [@theappshare](https://forum.kirupa.com/u/theappshare)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 11:27pm UTC](https://forum.kirupa.com/t/editing-a-xml-file-using-a-form/295147 "2009-08-25T23:27:14Z")

</div>

I am not very literate it with coding, let alone describing this stuff. If you don't get it, visit http://theappshare.com and you will see what I am describing. This is what I want to do. I need the help of you guys t…

---

## [Here's one for all the guru's - lol](https://forum.kirupa.com/t/heres-one-for-all-the-gurus-lol/295145)

<div class="topic-metadata">

**Author:** [@Shard](https://forum.kirupa.com/u/Shard)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 10:47pm UTC](https://forum.kirupa.com/t/heres-one-for-all-the-gurus-lol/295145 "2009-08-25T22:47:28Z")

</div>

Ok - lets see how smart you all are (and without examples). I have an mc that I dynamically add to the stage and set it to the same width and height as the stage. Inside this mc is another mc that I dynamically add an im…

---

## [PHP File Upload Problem](https://forum.kirupa.com/t/php-file-upload-problem/295143)

<div class="topic-metadata">

**Author:** [@mafordha](https://forum.kirupa.com/u/mafordha)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 10:04pm UTC](https://forum.kirupa.com/t/php-file-upload-problem/295143 "2009-08-25T22:04:18Z")

</div>

Hello all, A php file upload script that used to work for me is no longer. The uploads generate a PHP file error of "1", which mean "The uploaded file exceeds the upload\_max\_filesize directive in php.ini", according to…

---

## [How do I get the real size of the things I'm drawing?](https://forum.kirupa.com/t/how-do-i-get-the-real-size-of-the-things-im-drawing/295142)

<div class="topic-metadata">

**Author:** [@Sagan](https://forum.kirupa.com/u/Sagan)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 9:44pm UTC](https://forum.kirupa.com/t/how-do-i-get-the-real-size-of-the-things-im-drawing/295142 "2009-08-25T21:44:10Z")

</div>

Let's say I have a real simple program: package { import flash.display.\*; public class Simple extends Sprite { \[SWF(width="640", height="480", backgroundColor="#000000", frameRate="30")\] public function Simple() …

---

## ["Click to expand" Flash Banners](https://forum.kirupa.com/t/click-to-expand-flash-banners/295141)

<div class="topic-metadata">

**Author:** [@jbig](https://forum.kirupa.com/u/jbig)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 9:04pm UTC](https://forum.kirupa.com/t/click-to-expand-flash-banners/295141 "2009-08-25T21:04:06Z")

</div>

I'm creating a flash banner for a client that needs to expand to a bigger (in height) when clicked on (ex: http://www.pointroll.com/PointRoll/AdDemo/Target/Style2\_970x66\_PreExp\_DERIVELd1.asp). I was just wondering how …

---

## [Import image from hard drive to projector](https://forum.kirupa.com/t/import-image-from-hard-drive-to-projector/295140)

<div class="topic-metadata">

**Author:** [@phastings](https://forum.kirupa.com/u/phastings)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 9:00pm UTC](https://forum.kirupa.com/t/import-image-from-hard-drive-to-projector/295140 "2009-08-25T21:00:10Z")

</div>

Hi, I have experience uploading images with php and using them in flash but I have a client that wants one of these applications to run locally from a exe where the user picks an image off the harddrive. Is there a way …

---

## [Need Help with my survey mailing using PHP](https://forum.kirupa.com/t/need-help-with-my-survey-mailing-using-php/295139)

<div class="topic-metadata">

**Author:** [@rubberduckie](https://forum.kirupa.com/u/rubberduckie)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 8:36pm UTC](https://forum.kirupa.com/t/need-help-with-my-survey-mailing-using-php/295139 "2009-08-25T20:36:36Z")

</div>

Hi!! posted a question a few weeks and ago and read the reply end of last week but now I can't seem to find it to reply back. I am having trouble getting my survey to emial me correctly. They said for me to post my form …

---

## [Is It Possible to run a command prompt from action script 2.0](https://forum.kirupa.com/t/is-it-possible-to-run-a-command-prompt-from-action-script-2-0/295136)

<div class="topic-metadata">

**Author:** [@sankar\_M\_S](https://forum.kirupa.com/u/sankar_M_S)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 7:53pm UTC](https://forum.kirupa.com/t/is-it-possible-to-run-a-command-prompt-from-action-script-2-0/295136 "2009-08-25T19:53:28Z")

</div>

Hi all Is it possible to run a command prompt(or DOS Command) through flash.If it possible please guide me to do that throug as 2.0. Thanks and Regards Sankar.M.S

---

## [How to get keyCode from input TextField?](https://forum.kirupa.com/t/how-to-get-keycode-from-input-textfield/295135)

<div class="topic-metadata">

**Author:** [@maxell](https://forum.kirupa.com/u/maxell)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 7:41pm UTC](https://forum.kirupa.com/t/how-to-get-keycode-from-input-textfield/295135 "2009-08-25T19:41:16Z")

</div>

\*\*I want to detect which keys are pressed while user input text into TextField. I tried something like \*\* import flash.text.TextFormat; import flash.text.TextField; import flash.events.Event; import flash.events.Keyboard…

---

## [Losing baseclass when loading swf](https://forum.kirupa.com/t/losing-baseclass-when-loading-swf/295133)

<div class="topic-metadata">

**Author:** [@forumSteve](https://forum.kirupa.com/u/forumSteve)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 7:07pm UTC](https://forum.kirupa.com/t/losing-baseclass-when-loading-swf/295133 "2009-08-25T19:07:49Z")

</div>

I've got a solution for this but I would like to understand the problem a little better... I have main SWF that loads and unloads a several other SWF modules. The modules use other SWF's as asset libraries to open and …

---

## [\[AS2\] How do I change a swf to a new web banner size?](https://forum.kirupa.com/t/as2-how-do-i-change-a-swf-to-a-new-web-banner-size/295131)

<div class="topic-metadata">

**Author:** [@Silverfisken](https://forum.kirupa.com/u/Silverfisken)\
**Replies:** 0\
**Last updated:** [August 25, 2009, 6:51pm UTC](https://forum.kirupa.com/t/as2-how-do-i-change-a-swf-to-a-new-web-banner-size/295131 "2009-08-25T18:51:08Z")

</div>

Hi, This must be a common problem... but I don't find ANY solution to it anywhere.. I have different web banners that sometimes only needs to have a different width and height (pixels) to fit elsewhere on my wehsite. I…

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

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