# programming

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

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

**Page:** 1061

---

## [gotoAndStop() for DisplayObjectContainer](https://forum.kirupa.com/t/gotoandstop-for-displayobjectcontainer/272087)

<div class="topic-metadata">

**Author:** [@HMPoweredMan](https://forum.kirupa.com/u/HMPoweredMan)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:38pm UTC](https://forum.kirupa.com/t/gotoandstop-for-displayobjectcontainer/272087 "2008-10-01T22:38:55Z")

</div>

I have a class called Robot that is an extension of a movieclip of a robot walking animation. It has two frames. A robotLeft frame and a robotRight frame. Now this Robot Class has a child called robotHitbox that does a…

---

## [Memory Issues](https://forum.kirupa.com/t/memory-issues/272085)

<div class="topic-metadata">

**Author:** [@justinjkiss](https://forum.kirupa.com/u/justinjkiss)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:24pm UTC](https://forum.kirupa.com/t/memory-issues/272085 "2008-10-01T22:24:42Z")

</div>

Hello im having a memory issues with my flash file. In IE i open a separate browser with just the website and flash file so nothing else interfers. IE started at 28mb on load within 6min it was at 90mb of ram and still g…

---

## [contentPath/complete and subdomains](https://forum.kirupa.com/t/contentpath-complete-and-subdomains/272078)

<div class="topic-metadata">

**Author:** [@liquid\_kore](https://forum.kirupa.com/u/liquid_kore)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:35pm UTC](https://forum.kirupa.com/t/contentpath-complete-and-subdomains/272078 "2008-10-01T21:35:55Z")

</div>

Hi everyone, I seem to have run into a problem with the "complete" event. What I am working on will have the user watch a movie and then when it is done playing the root timeline goes to frame 2. It works perfectly fine …

---

## [FLV Encoded video](https://forum.kirupa.com/t/flv-encoded-video/272076)

<div class="topic-metadata">

**Author:** [@mpalmedo](https://forum.kirupa.com/u/mpalmedo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:23pm UTC](https://forum.kirupa.com/t/flv-encoded-video/272076 "2008-10-01T21:23:01Z")

</div>

I have a mov file that I encoded using FLV encoder and when I test the movie it works fine, but when I check the movie on the site it doesn't play. It seems as though the movie is buffering because the striped buffering…

---

## [Button class instance returns incorrect bounds](https://forum.kirupa.com/t/button-class-instance-returns-incorrect-bounds/272073)

<div class="topic-metadata">

**Author:** [@forumSteve](https://forum.kirupa.com/u/forumSteve)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:12pm UTC](https://forum.kirupa.com/t/button-class-instance-returns-incorrect-bounds/272073 "2008-10-01T21:12:09Z")

</div>

So, if you create an instance of the fl.controls.Button class and call the method getBounds or getRect, it returns a rectangle w:100, h:100 when I expect w:100, h:22. I have a workaround by getting the bounds of the Bi…

---

## [Program flow and Events](https://forum.kirupa.com/t/program-flow-and-events/272067)

<div class="topic-metadata">

**Author:** [@vurx](https://forum.kirupa.com/u/vurx)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 8:17pm UTC](https://forum.kirupa.com/t/program-flow-and-events/272067 "2008-10-01T20:17:36Z")

</div>

I'm writing a chess application and all was going smoothly until I got to pawn promotion. When the pawn reaches the last rank a dialog pops up and the user chooses a piece type. I noticed that the game was still running …

---

## [Protect Your PC](https://forum.kirupa.com/t/protect-your-pc/272066)

<div class="topic-metadata">

**Author:** [@HailMaryPC](https://forum.kirupa.com/u/HailMaryPC)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 7:44pm UTC](https://forum.kirupa.com/t/protect-your-pc/272066 "2008-10-01T19:44:09Z")

</div>

Every computer connected to the internet is vulnerable to fraud and computer vandalism. This leaves our pockets prey to the software protection industry's heavy charges to keep us safe. Yet it's possible to get legal, pr…

---

## [RegExp based on variable?](https://forum.kirupa.com/t/regexp-based-on-variable/272065)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 7:19pm UTC](https://forum.kirupa.com/t/regexp-based-on-variable/272065 "2008-10-01T19:19:19Z")

</div>

I have an array of strings (that look like numbers) that ultimately gets joined to look, say, like this: 0|1|5|8|9|12 I'm trying to avoid having to iterate the array \[0,1,5,8,9,12\] by just searching through a string.…

---

## [How do i check the dpi?](https://forum.kirupa.com/t/how-do-i-check-the-dpi/272062)

<div class="topic-metadata">

**Author:** [@nnnniiiicccc](https://forum.kirupa.com/u/nnnniiiicccc)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 6:34pm UTC](https://forum.kirupa.com/t/how-do-i-check-the-dpi/272062 "2008-10-01T18:34:35Z")

</div>

Hi could anyone tell me how i can check/change the dpi of my flash document, it needs to be 72. Thanks

---

## [Referring to linked clips](https://forum.kirupa.com/t/referring-to-linked-clips/272060)

<div class="topic-metadata">

**Author:** [@activa](https://forum.kirupa.com/u/activa)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 6:24pm UTC](https://forum.kirupa.com/t/referring-to-linked-clips/272060 "2008-10-01T18:24:03Z")

</div>

How can I instantiate a linked clip using a variable name? In other words, I want to say "var someName:String = 'clipName'; var someClip:MovieClip = addChild (new someName as MovieClip); But obviously that throws a…

---

## [Flash CS3 AS2 - Convert String to Function name](https://forum.kirupa.com/t/flash-cs3-as2-convert-string-to-function-name/272056)

<div class="topic-metadata">

**Author:** [@joseg](https://forum.kirupa.com/u/joseg)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 5:30pm UTC](https://forum.kirupa.com/t/flash-cs3-as2-convert-string-to-function-name/272056 "2008-10-01T17:30:08Z")

</div>

I am using AS 2 in Flash CS3 and XML. I have the function named in the XML file which I would like to be called via a rotating banner. However I can't seem to convert the string (read via the XML file) to convert to the …

---

## [Need Help With Flash 8](https://forum.kirupa.com/t/need-help-with-flash-8/272052)

<div class="topic-metadata">

**Author:** [@Malisah](https://forum.kirupa.com/u/Malisah)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 4:56pm UTC](https://forum.kirupa.com/t/need-help-with-flash-8/272052 "2008-10-01T16:56:04Z")

</div>

hey i need help with flash 8. I want to make the falling snow effect, but i need leaves instead of snow.... how do i do that? Please someone or anybody help! :eyeup::emb:! Malisah

---

## [Moving a movie clip with code](https://forum.kirupa.com/t/moving-a-movie-clip-with-code/272049)

<div class="topic-metadata">

**Author:** [@ozz](https://forum.kirupa.com/u/ozz)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 4:49pm UTC](https://forum.kirupa.com/t/moving-a-movie-clip-with-code/272049 "2008-10-01T16:49:40Z")

</div>

Hi guys, I am really bad in coding, and I need to move a movie clip with code. Just a movement (without using keyboard) from right to left. I did it with motion tween but it doesn\`t look smooth. I want to try it with cod…

---

## [Pulling data from 3 image galleries from 1 XML file](https://forum.kirupa.com/t/pulling-data-from-3-image-galleries-from-1-xml-file/272048)

<div class="topic-metadata">

**Author:** [@wolcotter](https://forum.kirupa.com/u/wolcotter)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 4:41pm UTC](https://forum.kirupa.com/t/pulling-data-from-3-image-galleries-from-1-xml-file/272048 "2008-10-01T16:41:43Z")

</div>

I have written the following XML file to incorporate 3 image galleries as such. \<?xml version="1.0" encoding="ISO-8859-1"?\> \<gallery\> \<One url="bookOne/food\_001.jpg" /\> \<One url="bookOne/food\_002.jpg" /\> …

---

## [Help Me With Aligning Pics!](https://forum.kirupa.com/t/help-me-with-aligning-pics/272045)

<div class="topic-metadata">

**Author:** [@hojo](https://forum.kirupa.com/u/hojo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 4:18pm UTC](https://forum.kirupa.com/t/help-me-with-aligning-pics/272045 "2008-10-01T16:18:56Z")

</div>

Hey guys, I'm working with Wordpress on a site. At the moment I'm trying to align thumbnails generated by "advanced-thumb-post" to the left of appropriate posts displayed on the index. You can view the site at http:…

---

## [Trouble with xml images loading Please Help!](https://forum.kirupa.com/t/trouble-with-xml-images-loading-please-help/272039)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 3:41pm UTC](https://forum.kirupa.com/t/trouble-with-xml-images-loading-please-help/272039 "2008-10-01T15:41:51Z")

</div>

First here is what the trouble is. I have nine thumbnails loading in, once one is selected a slideshow of up to 7 images is loaded. Problem: once the ninth thumbnail is loaded no large images show, yet the next and pr…

---

## [AS3 - Dynamic listener and handler function](https://forum.kirupa.com/t/as3-dynamic-listener-and-handler-function/272037)

<div class="topic-metadata">

**Author:** [@anyuser](https://forum.kirupa.com/u/anyuser)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 2:58pm UTC](https://forum.kirupa.com/t/as3-dynamic-listener-and-handler-function/272037 "2008-10-01T14:58:05Z")

</div>

Hi guys, AS3 thing, heaving problems with getting this thing to work. Basically I am trying to create a dynamic function ie. the dynamic name of a function. I am loading xml file with links in it ex. \<link\_01\>url\</link…

---

## [Actionscript 3 and MySQL](https://forum.kirupa.com/t/actionscript-3-and-mysql/272036)

<div class="topic-metadata">

**Author:** [@romeoa](https://forum.kirupa.com/u/romeoa)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 2:44pm UTC](https://forum.kirupa.com/t/actionscript-3-and-mysql/272036 "2008-10-01T14:44:40Z")

</div>

Hi, I am trying to get Flash to insert info into a table in a MySQL DB. So far I am not having any luck. I am using PHP as the in between. Any help would be great. Thanks in advance, Here is my actionscript 3 code…

---

## [Flash CS4 - Taking a tour](https://forum.kirupa.com/t/flash-cs4-taking-a-tour/272032)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 2:26pm UTC](https://forum.kirupa.com/t/flash-cs4-taking-a-tour/272032 "2008-10-01T14:26:06Z")

</div>

Anyone interested? I'm not up to speed with everything myself, but I thought I could open her up and we could do some exploring. (while supplies last! i.e. I'll only be able to remain online for an hour or so...) Sold…

---

## [Flash CS3, gears, need help](https://forum.kirupa.com/t/flash-cs3-gears-need-help/272031)

<div class="topic-metadata">

**Author:** [@Maxxon](https://forum.kirupa.com/u/Maxxon)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 2:11pm UTC](https://forum.kirupa.com/t/flash-cs3-gears-need-help/272031 "2008-10-01T14:11:01Z")

</div>

Hi, I'm noob with Flash and I would like some help So, I have 2 gears that need to be rotating each other, I tried to do it by means of AS1, but it didn't work, don't lnow why exactly but one gear some times ended its …

---

## [Printing in Actionscript 2.0](https://forum.kirupa.com/t/printing-in-actionscript-2-0/272030)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 2:05pm UTC](https://forum.kirupa.com/t/printing-in-actionscript-2-0/272030 "2008-10-01T14:05:43Z")

</div>

Hey everyone, I am currently working on the print function in AS2. I was wondering how do should i use the properties such as printJob.paperHeight etc... i understand the printJob.orientation but the other i am cluel…

---

## [How to bind select XML Elements to Gridview](https://forum.kirupa.com/t/how-to-bind-select-xml-elements-to-gridview/272029)

<div class="topic-metadata">

**Author:** [@Zuzia](https://forum.kirupa.com/u/Zuzia)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 1:56pm UTC](https://forum.kirupa.com/t/how-to-bind-select-xml-elements-to-gridview/272029 "2008-10-01T13:56:24Z")

</div>

Hello, I was reading the article on how to retreive elements from an XML file and display them to the user. The Kitupa article is: http://www.kirupa.com/net/readingXML\_pg3.htm . In my case I am able to get as far, ex…

---

## [CS4:Dock Main\\Controller toolbars](https://forum.kirupa.com/t/cs4-dock-main-controller-toolbars/272027)

<div class="topic-metadata">

**Author:** [@adumi](https://forum.kirupa.com/u/adumi)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 1:33pm UTC](https://forum.kirupa.com/t/cs4-dock-main-controller-toolbars/272027 "2008-10-01T13:33:02Z")

</div>

Sorry for posting a CS4 question here . Its just that theres no other place and its a silly question: How do you dock the Main and the controller toolbars (Window\>Toolbars) in CS4? In CS3 they fit right above the timelin…

---

## [Adding a var to a URL with a var](https://forum.kirupa.com/t/adding-a-var-to-a-url-with-a-var/272023)

<div class="topic-metadata">

**Author:** [@W92Baj](https://forum.kirupa.com/u/W92Baj)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 11:57am UTC](https://forum.kirupa.com/t/adding-a-var-to-a-url-with-a-var/272023 "2008-10-01T11:57:43Z")

</div>

OK this is probably simple but here goes. I have a parsed URL ( www.foo.com?bar=1). It is being used as part of a search function and an SQL query is built from this variable ( SELECT \* from foo WHERE bar=$bar). I ha…

---

## [Perl sessions OR cookie handling OR something else](https://forum.kirupa.com/t/perl-sessions-or-cookie-handling-or-something-else/272021)

<div class="topic-metadata">

**Author:** [@iamhere](https://forum.kirupa.com/u/iamhere)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 11:00am UTC](https://forum.kirupa.com/t/perl-sessions-or-cookie-handling-or-something-else/272021 "2008-10-01T11:00:17Z")

</div>

Hi, I'm developing a website where some data, input by the user has to be put into a database, based on certain conditions - i.e. when they input their name and the data, if their name is already in the database, then a …

---

## [Flash crashing on export for actionscript](https://forum.kirupa.com/t/flash-crashing-on-export-for-actionscript/272018)

<div class="topic-metadata">

**Author:** [@elyleebert](https://forum.kirupa.com/u/elyleebert)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:47am UTC](https://forum.kirupa.com/t/flash-crashing-on-export-for-actionscript/272018 "2008-10-01T10:47:57Z")

</div>

Help!! I am having a problem and I wondered whether somebody might be able to help me. I am creating a movieclip which I have set the 'export for actionscript'. In the class input I am putting my class location, which …

---

## [Multiple Sound Files](https://forum.kirupa.com/t/multiple-sound-files/272017)

<div class="topic-metadata">

**Author:** [@sumo](https://forum.kirupa.com/u/sumo)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 10:39am UTC](https://forum.kirupa.com/t/multiple-sound-files/272017 "2008-10-01T10:39:34Z")

</div>

Hi! I am loading multiple external mp3 sound files via Actionscript. How can I make sure that all six of them start playing at the exact same time? -Sumo-

---

## [Mouse.hide() problem](https://forum.kirupa.com/t/mouse-hide-problem/272008)

<div class="topic-metadata">

**Author:** [@danoprey](https://forum.kirupa.com/u/danoprey)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:24am UTC](https://forum.kirupa.com/t/mouse-hide-problem/272008 "2008-10-01T09:24:25Z")

</div>

Hi, I'm using the Mouse.hide() function and a custom movieclip to follow the cursor. The problem is that when the mouse is outside the flash file it flickers on and off with the regular cursor (off when still, on when …

---

## [AS 3.0 and PHP to do directory and file search](https://forum.kirupa.com/t/as-3-0-and-php-to-do-directory-and-file-search/272007)

<div class="topic-metadata">

**Author:** [@ShahinChoudhury](https://forum.kirupa.com/u/ShahinChoudhury)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:24am UTC](https://forum.kirupa.com/t/as-3-0-and-php-to-do-directory-and-file-search/272007 "2008-10-01T09:24:24Z")

</div>

Guys, Sorry if this sounds a bit easy for some of you guru's out there but im completely new and trying to do the below so any help would be appreciated. I am trying to create a flash (cs3 with as3) based page which al…

---

## [Form with image upload tool](https://forum.kirupa.com/t/form-with-image-upload-tool/272006)

<div class="topic-metadata">

**Author:** [@lefonk](https://forum.kirupa.com/u/lefonk)\
**Replies:** 0\
**Last updated:** [October 1, 2008, 9:19am UTC](https://forum.kirupa.com/t/form-with-image-upload-tool/272006 "2008-10-01T09:19:27Z")

</div>

Hi all, i am searching somedays before making this topic but i couldn't find an answer. I am making and portfolio section in Flash 8 with the use of xml ( parsed with PHP) . So in my php5 admin page for adding portf…

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

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