# programming

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

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

**Page:** 508

---

## [Quick SQL question](https://forum.kirupa.com/t/quick-sql-question/308374)

<div class="topic-metadata">

**Author:** [@45\_ACP](https://forum.kirupa.com/u/45_ACP)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 6:58pm UTC](https://forum.kirupa.com/t/quick-sql-question/308374 "2010-04-21T18:58:57Z")

</div>

Hi, Is there any way to take an entire table's contents and insert it into another table without inserting row by row? Can I create a copy of a table with SQL? The idea is to automatically create a backup. Thanks! -…

---

## [Searching through Arrays (most efficient method)](https://forum.kirupa.com/t/searching-through-arrays-most-efficient-method/308373)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 6:58pm UTC](https://forum.kirupa.com/t/searching-through-arrays-most-efficient-method/308373 "2010-04-21T18:58:46Z")

</div>

To save people from reading too much, this is the "abbreviated" version, while the next post will contain the "full version" in it's original glory. Here is the deal. I have a "User" class with 4 properties, all String…

---

## [MouseEvent listeners question](https://forum.kirupa.com/t/mouseevent-listeners-question/308372)

<div class="topic-metadata">

**Author:** [@jhvh1134](https://forum.kirupa.com/u/jhvh1134)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 6:57pm UTC](https://forum.kirupa.com/t/mouseevent-listeners-question/308372 "2010-04-21T18:57:04Z")

</div>

I just had a quick question that some of you might know the answer to. What is the best method of adding eventlisteners? I always see people clump them like this, so that there are multiple listeners at all times like …

---

## [Sprite cant have focus or what? stage.focus = null?](https://forum.kirupa.com/t/sprite-cant-have-focus-or-what-stage-focus-null/308370)

<div class="topic-metadata">

**Author:** [@brunoja](https://forum.kirupa.com/u/brunoja)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 6:06pm UTC](https://forum.kirupa.com/t/sprite-cant-have-focus-or-what-stage-focus-null/308370 "2010-04-21T18:06:03Z")

</div>

Hello! I am having a strange issue here with focus. When I click on a Sprite on the stage, the stage.focus is set to null!! Its a pure Sprite object, with no children, I draw things on it using graphics.beginBitmapFil…

---

## [Complicated character movement help plz](https://forum.kirupa.com/t/complicated-character-movement-help-plz/308369)

<div class="topic-metadata">

**Author:** [@plablugoo](https://forum.kirupa.com/u/plablugoo)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 5:47pm UTC](https://forum.kirupa.com/t/complicated-character-movement-help-plz/308369 "2010-04-21T17:47:21Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]I am trying to make a top down tower defense style game where the computer constantly moves the player's characters forward and the way a player controls his character is by selecting one of th…

---

## [How to reload a frame if you're already on it?](https://forum.kirupa.com/t/how-to-reload-a-frame-if-youre-already-on-it/308368)

<div class="topic-metadata">

**Author:** [@SAEC\_KV](https://forum.kirupa.com/u/SAEC_KV)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 5:46pm UTC](https://forum.kirupa.com/t/how-to-reload-a-frame-if-youre-already-on-it/308368 "2010-04-21T17:46:42Z")

</div>

I'm trying to mimick a website style design in my interactive. Let's say I have 5 frames and each frame is a separate web page. When I click a nav button, it'll take me to page 5. On page 5 is a movieclip wherein XX happ…

---

## [Width doesn't work](https://forum.kirupa.com/t/width-doesnt-work/308367)

<div class="topic-metadata">

**Author:** [@Curb\_Crowser](https://forum.kirupa.com/u/Curb_Crowser)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 5:25pm UTC](https://forum.kirupa.com/t/width-doesnt-work/308367 "2010-04-21T17:25:18Z")

</div>

I have a button object that I need to scale to align with the variable width of an array of images. However, when I set the width in code, the button does not actually become that width. Tracing out the width gives me…

---

## [Newb OOP Problems (Error #1010)](https://forum.kirupa.com/t/newb-oop-problems-error-1010/308366)

<div class="topic-metadata">

**Author:** [@groog](https://forum.kirupa.com/u/groog)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 5:15pm UTC](https://forum.kirupa.com/t/newb-oop-problems-error-1010/308366 "2010-04-21T17:15:36Z")

</div>

I’m trying to make a tile system. I’ve got a GrassTile class, Feild class, and in the feild calss a createFeild function. But i’m getting this error- TypeError: Error #1010: A term is undefined and has no properties. …

---

## [One Button Play MovieClip Forward and reverse?](https://forum.kirupa.com/t/one-button-play-movieclip-forward-and-reverse/308363)

<div class="topic-metadata">

**Author:** [@Amymation](https://forum.kirupa.com/u/Amymation)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 4:58pm UTC](https://forum.kirupa.com/t/one-button-play-movieclip-forward-and-reverse/308363 "2010-04-21T16:58:16Z")

</div>

Hey guys, I have a college project to hand in within 2 days. I'm making a website and what I want to achieve is a button that plays the movieclip (which is a piece of paper going onto the stage) and when you click it ag…

---

## [AMFPHP passing a variable](https://forum.kirupa.com/t/amfphp-passing-a-variable/308362)

<div class="topic-metadata">

**Author:** [@RossKidd](https://forum.kirupa.com/u/RossKidd)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 4:26pm UTC](https://forum.kirupa.com/t/amfphp-passing-a-variable/308362 "2010-04-21T16:26:07Z")

</div>

I am calling my getPortfolio method using the code below,, I need to pass an id from flash to return the results. Any ideas how I would pass it from flash to my php method? public function Connector() { var res:…

---

## [AS2 list box images](https://forum.kirupa.com/t/as2-list-box-images/308360)

<div class="topic-metadata">

**Author:** [@teknojunkey](https://forum.kirupa.com/u/teknojunkey)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 2:36pm UTC](https://forum.kirupa.com/t/as2-list-box-images/308360 "2010-04-21T14:36:46Z")

</div>

Hi, I want to add images / thumbnails to the listbox component. http://www.kirupa.com/developer/mx/listbox.htm list.addItem("List Item name","image1"); I think i need to add a second column to the listbox to start …

---

## [Problem appearing in published movie, but not in timeline](https://forum.kirupa.com/t/problem-appearing-in-published-movie-but-not-in-timeline/308356)

<div class="topic-metadata">

**Author:** [@real\_illusions](https://forum.kirupa.com/u/real_illusions)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 1:52pm UTC](https://forum.kirupa.com/t/problem-appearing-in-published-movie-but-not-in-timeline/308356 "2010-04-21T13:52:11Z")

</div>

\[FONT=verdana\] \[COLOR=#000000\]Hi all, I have this flash file for a website that needs editing. However, I know next to nothing about Flash (I still have Flash 8, so that tells you alot). Anyway..I have made the edi…

---

## [How to execute callback functions?](https://forum.kirupa.com/t/how-to-execute-callback-functions/308353)

<div class="topic-metadata">

**Author:** [@Swiftaxe](https://forum.kirupa.com/u/Swiftaxe)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 12:40pm UTC](https://forum.kirupa.com/t/how-to-execute-callback-functions/308353 "2010-04-21T12:40:36Z")

</div>

Hi, How do I execute callback functions dynamically by passing a function in as an argument to another function? Look at this example: package { public class myClass extends MovieClip { public function myClas…

---

## [Illegal character in path](https://forum.kirupa.com/t/illegal-character-in-path/308350)

<div class="topic-metadata">

**Author:** [@benkyma](https://forum.kirupa.com/u/benkyma)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 12:30pm UTC](https://forum.kirupa.com/t/illegal-character-in-path/308350 "2010-04-21T12:30:52Z")

</div>

I'm using the Flash Builder plugin for eclipse, which has been working fine. When I tried to build my latest project I get an error: Illegal character in path at index 47: file:///////fp01-pr-whi/Users$/b.gannaway/Fl…

---

## [Feeding sight info to Flash](https://forum.kirupa.com/t/feeding-sight-info-to-flash/308348)

<div class="topic-metadata">

**Author:** [@aaron2004](https://forum.kirupa.com/u/aaron2004)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 12:02pm UTC](https://forum.kirupa.com/t/feeding-sight-info-to-flash/308348 "2010-04-21T12:02:44Z")

</div>

Hey guys, My flash files are in the root directory, while I have seperate HTML pages in different folders. I want the Flash project to react slightly differently depending on what web page the project was opened from. …

---

## [Timed Flash/XML news feed](https://forum.kirupa.com/t/timed-flash-xml-news-feed/308347)

<div class="topic-metadata">

**Author:** [@phillamu](https://forum.kirupa.com/u/phillamu)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 11:54am UTC](https://forum.kirupa.com/t/timed-flash-xml-news-feed/308347 "2010-04-21T11:54:26Z")

</div>

Hallo everyone, I need help generating actionscript that will enable me load data from an XML file after every 4 hours instead of doing it randomly like most news feeds.

---

## [Resizing the stage in a swf](https://forum.kirupa.com/t/resizing-the-stage-in-a-swf/308343)

<div class="topic-metadata">

**Author:** [@adavies](https://forum.kirupa.com/u/adavies)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 9:00am UTC](https://forum.kirupa.com/t/resizing-the-stage-in-a-swf/308343 "2010-04-21T09:00:36Z")

</div>

Hi all, I'm making an ad, which starts off as 928x300, and after a few seconds, should shrink down to 928x100 (aligned to the top), and I want the web content underneath to be able to go up with it. Is this actually…

---

## [How can I convert String to Array(Instance Name)?](https://forum.kirupa.com/t/how-can-i-convert-string-to-array-instance-name/308339)

<div class="topic-metadata">

**Author:** [@vikramkute](https://forum.kirupa.com/u/vikramkute)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 8:33am UTC](https://forum.kirupa.com/t/how-can-i-convert-string-to-array-instance-name/308339 "2010-04-21T08:33:00Z")

</div>

how can I convert String to Array(Instance Name)? The code below works fine. var gridArray:Array = new Array(sq1\_btn,sq2\_btn); gridArray\[0\].visible=false; gridArray\[1\].visible=false; but how can I pass a String to …

---

## [Using an input text field to filter xml](https://forum.kirupa.com/t/using-an-input-text-field-to-filter-xml/308338)

<div class="topic-metadata">

**Author:** [@maxray](https://forum.kirupa.com/u/maxray)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 8:30am UTC](https://forum.kirupa.com/t/using-an-input-text-field-to-filter-xml/308338 "2010-04-21T08:30:28Z")

</div>

Hi, I am having a problem getting my xml to filter based on the contents of an input text box. I have: var myList:XMLList = myInput.item.name.(text() == str ); if I set str i.e. var str:String = "Test"; it wo…

---

## [as3 pan and zoom with controller](https://forum.kirupa.com/t/as3-pan-and-zoom-with-controller/308331)

<div class="topic-metadata">

**Author:** [@sansrival](https://forum.kirupa.com/u/sansrival)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 5:35am UTC](https://forum.kirupa.com/t/as3-pan-and-zoom-with-controller/308331 "2010-04-21T05:35:19Z")

</div>

Hi i need help regarding with pan and zoom with controller: my image size was 1500x1000 then my swf size should be 750x500: within my map.swf i have 6buttons which are up,down,right,left, zoom\_in and zoom\_out: this i…

---

## [Working with Cue points](https://forum.kirupa.com/t/working-with-cue-points/308330)

<div class="topic-metadata">

**Author:** [@imranalikhan](https://forum.kirupa.com/u/imranalikhan)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 5:00am UTC](https://forum.kirupa.com/t/working-with-cue-points/308330 "2010-04-21T05:00:17Z")

</div>

Hey all I want to insert cue points in my .flv video, anyone can tell me is it possible to insert cue points in a video without using any encoders? waiting for your reply Imran

---

## [as2 flash 8 : help me i want to change code](https://forum.kirupa.com/t/as2-flash-8-help-me-i-want-to-change-code/308327)

<div class="topic-metadata">

**Author:** [@polegon](https://forum.kirupa.com/u/polegon)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 4:35am UTC](https://forum.kirupa.com/t/as2-flash-8-help-me-i-want-to-change-code/308327 "2010-04-21T04:35:34Z")

</div>

i have flash file include water picture and just mouse down event the water is rippl . but i want to remove this event and put movie clip hit test water make rippl event. for example : leaf filling on water plaeeeeeees…

---

## [Coiled Cords](https://forum.kirupa.com/t/coiled-cords/308324)

<div class="topic-metadata">

**Author:** [@tradett1](https://forum.kirupa.com/u/tradett1)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 2:24am UTC](https://forum.kirupa.com/t/coiled-cords/308324 "2010-04-21T02:24:30Z")

</div>

\[Coiled Cords suppliers,manufacturers,exporters from \[url=http://www.tradett.com/\]Tradett.com\](http://www.tradett.com/Coiled-Cords-products/)

---

## [Need help decoding a Eval Base64 encoded file](https://forum.kirupa.com/t/need-help-decoding-a-eval-base64-encoded-file/308323)

<div class="topic-metadata">

**Author:** [@Sith717](https://forum.kirupa.com/u/Sith717)\
**Replies:** 0\
**Last updated:** [April 21, 2010, 1:40am UTC](https://forum.kirupa.com/t/need-help-decoding-a-eval-base64-encoded-file/308323 "2010-04-21T01:40:08Z")

</div>

Hey guys, I was wondering if someone can decode this file for me, it came with a script and it was the only encoded file that came with it. I have tried decoding it myself and it has only gotten up to here: ?\>\<?php …

---

## [Key Binding problem?](https://forum.kirupa.com/t/key-binding-problem/308319)

<div class="topic-metadata">

**Author:** [@Someguynamedpie](https://forum.kirupa.com/u/Someguynamedpie)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 11:41pm UTC](https://forum.kirupa.com/t/key-binding-problem/308319 "2010-04-20T23:41:12Z")

</div>

I'm making a key binding library for a possible upcoming game I'm making. I have console bound to ""(default) and when it opens it starts with(I automagically focus it when the bind is pressed), and I don't want this. I …

---

## [How to Manipulate Movie Clips in an Array](https://forum.kirupa.com/t/how-to-manipulate-movie-clips-in-an-array/308318)

<div class="topic-metadata">

**Author:** [@tonyb48](https://forum.kirupa.com/u/tonyb48)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 11:15pm UTC](https://forum.kirupa.com/t/how-to-manipulate-movie-clips-in-an-array/308318 "2010-04-20T23:15:33Z")

</div>

Hello, In AS3 I have an array of Movie Clips: var page\_array:Array = new Array(); page\_array = \[home\_mc, about\_mc, contact\_mc\]; I want to set properties in those memory clips, e. g. home\_mc.x=500; about\_mc.alpha…

---

## [Embedding Changible Text in MovieClips](https://forum.kirupa.com/t/embedding-changible-text-in-movieclips/308314)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 10:14pm UTC](https://forum.kirupa.com/t/embedding-changible-text-in-movieclips/308314 "2010-04-20T22:14:11Z")

</div>

Hi All, Apologies in advance if this is obvious, I've googled around a bit but am probably not entering the correct expression of what I'm trying to do. Basically I want to create a movieClip with various textFields wh…

---

## [Help and Advice needed AS2 Flash CS4](https://forum.kirupa.com/t/help-and-advice-needed-as2-flash-cs4/308313)

<div class="topic-metadata">

**Author:** [@romandog](https://forum.kirupa.com/u/romandog)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 9:19pm UTC](https://forum.kirupa.com/t/help-and-advice-needed-as2-flash-cs4/308313 "2010-04-20T21:19:09Z")

</div>

Hi all, I am using the brush transition from senocular..its great but try as I might I cannot get it to go to the next frame after the transition. I have tried giving the frame a label and adding gotoAndPlay but this i…

---

## [AS2 tween class](https://forum.kirupa.com/t/as2-tween-class/308312)

<div class="topic-metadata">

**Author:** [@krizinxgren](https://forum.kirupa.com/u/krizinxgren)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 8:59pm UTC](https://forum.kirupa.com/t/as2-tween-class/308312 "2010-04-20T20:59:56Z")

</div>

good day anyone know why a MC that was animated using the as2 tween class dont work when you import that MC into a main MC for example it become a still graphic symbol and all the animation is gone why is it some fl…

---

## [UILoader Problem](https://forum.kirupa.com/t/uiloader-problem/308311)

<div class="topic-metadata">

**Author:** [@SaberVulcan](https://forum.kirupa.com/u/SaberVulcan)\
**Replies:** 0\
**Last updated:** [April 20, 2010, 8:50pm UTC](https://forum.kirupa.com/t/uiloader-problem/308311 "2010-04-20T20:50:08Z")

</div>

Hello there. I am working on a project where I load .swf files into another file through a UILoader. However, when I load a particular file that has some of the images off of the workspace, the UILoader displays the…

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

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