# programming

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

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

**Page:** 1513

---

## [createClassObject best pratice?](https://forum.kirupa.com/t/createclassobject-best-pratice/241106)

<div class="topic-metadata">

**Author:** [@Uli](https://forum.kirupa.com/u/Uli)\
**Replies:** 0\
**Last updated:** [October 10, 2007, 2:54am UTC](https://forum.kirupa.com/t/createclassobject-best-pratice/241106 "2007-10-10T02:54:20Z")

</div>

Hello, I have a problem with flash as2.0 components... I can easily create instances but i am having a very hard time to get rid of them. import mx.controls.ComboBox; this.createClassObject(mx.controls.ComboBox,"img…

---

## [Touch Screen Button Issues](https://forum.kirupa.com/t/touch-screen-button-issues/241100)

<div class="topic-metadata">

**Author:** [@webbehr](https://forum.kirupa.com/u/webbehr)\
**Replies:** 0\
**Last updated:** [October 10, 2007, 1:59am UTC](https://forum.kirupa.com/t/touch-screen-button-issues/241100 "2007-10-10T01:59:12Z")

</div>

I am having a problem with onPress events when using a touch screen. Everything works fine in Firefox on my local machine, but when it is running on the touch screen, it requires two presses. It isn't a double click eith…

---

## [Making this script take effect to ALL turrets and objects](https://forum.kirupa.com/t/making-this-script-take-effect-to-all-turrets-and-objects/241099)

<div class="topic-metadata">

**Author:** [@zach93111](https://forum.kirupa.com/u/zach93111)\
**Replies:** 0\
**Last updated:** [October 10, 2007, 1:42am UTC](https://forum.kirupa.com/t/making-this-script-take-effect-to-all-turrets-and-objects/241099 "2007-10-10T01:42:36Z")

</div>

I'm not even close to finished on this turret script, but i t works. The trouble I'm having is this script only takes effect to only 1, turret, homing turret,laser turret, and string turret. This script is going on…

---

## [Making a rotated image look nice](https://forum.kirupa.com/t/making-a-rotated-image-look-nice/241098)

<div class="topic-metadata">

**Author:** [@Mistykal](https://forum.kirupa.com/u/Mistykal)\
**Replies:** 0\
**Last updated:** [October 10, 2007, 12:55am UTC](https://forum.kirupa.com/t/making-a-rotated-image-look-nice/241098 "2007-10-10T00:55:34Z")

</div>

Does anyone have a method for rotating an externally loaded image that doesen't make the picture look awful? I have browsed the forums and I see this is a common problem, however I haven't found a nice solution to do th…

---

## [Executing scripts at certain time?](https://forum.kirupa.com/t/executing-scripts-at-certain-time/241090)

<div class="topic-metadata">

**Author:** [@Mistykal](https://forum.kirupa.com/u/Mistykal)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 10:54pm UTC](https://forum.kirupa.com/t/executing-scripts-at-certain-time/241090 "2007-10-09T22:54:58Z")

</div>

I have a bunch of tweens and scripts that i'd like to execute (to animate my stage using actionscript), but if i just list them normally in a function, they will naturally all perform at the same time. function whatIn…

---

## [I will pay for the solution to this - Flash XML gallery substitute SWF for text](https://forum.kirupa.com/t/i-will-pay-for-the-solution-to-this-flash-xml-gallery-substitute-swf-for-text/241088)

<div class="topic-metadata">

**Author:** [@trjonas](https://forum.kirupa.com/u/trjonas)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 10:16pm UTC](https://forum.kirupa.com/t/i-will-pay-for-the-solution-to-this-flash-xml-gallery-substitute-swf-for-text/241088 "2007-10-09T22:16:50Z")

</div>

Hi, all, I'm reposting this message as I realized I mis-titled it the first time. And I really do mean it: I will pay for a working solution to this problem. I need to do this for a client and not getting it done is no…

---

## [References to MC's on the Stage through a class?](https://forum.kirupa.com/t/references-to-mcs-on-the-stage-through-a-class/241087)

<div class="topic-metadata">

**Author:** [@DrRobot](https://forum.kirupa.com/u/DrRobot)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 10:10pm UTC](https://forum.kirupa.com/t/references-to-mcs-on-the-stage-through-a-class/241087 "2007-10-09T22:10:33Z")

</div>

alright, so i have a class that is hittesting itself on an object on the stage. but it keeps returning the object undefined. \[FONT=Courier New\] \[/FONT\]ActionScript Code: \[LEFT\]\[FONT=Courier New\]\</p\>\[/FONT\] \[FONT=Couri…

---

## [Conditional statement problem](https://forum.kirupa.com/t/conditional-statement-problem/241084)

<div class="topic-metadata">

**Author:** [@timdenty76](https://forum.kirupa.com/u/timdenty76)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 9:36pm UTC](https://forum.kirupa.com/t/conditional-statement-problem/241084 "2007-10-09T21:36:25Z")

</div>

Having trouble with a conditional statement in Flash, although I really can't see the error. I'm pulling a number of variables from a text file - &color01=3 &color02=2 &color03=1 etc In flash I have the following…

---

## [\[AIR\]Saving Files To SharedObject](https://forum.kirupa.com/t/air-saving-files-to-sharedobject/241083)

<div class="topic-metadata">

**Author:** [@Gazurt](https://forum.kirupa.com/u/Gazurt)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 9:30pm UTC](https://forum.kirupa.com/t/air-saving-files-to-sharedobject/241083 "2007-10-09T21:30:46Z")

</div>

I am doing a mp3 player like a Winamp :sc: I can get names and urls of droped files.Then I use Sound class to play them. There is no problem. But when user close my player and open again, the files must be on the list……

---

## ["Stopping" the Image Panning Tutorial](https://forum.kirupa.com/t/stopping-the-image-panning-tutorial/241082)

<div class="topic-metadata">

**Author:** [@robe9000](https://forum.kirupa.com/u/robe9000)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 9:29pm UTC](https://forum.kirupa.com/t/stopping-the-image-panning-tutorial/241082 "2007-10-09T21:29:45Z")

</div>

Hi, BTW - this site has long been a source of knowledge for me. Great job guys. I'm using the image panning effect described in http://www.kirupa.com/developer/flash8/interactive\_image\_pan.htm. I'm using it to make a mul…

---

## [Font Embed, Bug?](https://forum.kirupa.com/t/font-embed-bug/241079)

<div class="topic-metadata">

**Author:** [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 9:09pm UTC](https://forum.kirupa.com/t/font-embed-bug/241079 "2007-10-09T21:09:16Z")

</div>

Hi there, I have a dynamic text box inside a movieclip that is generating load percentage eg: 40% etc. I have two Scenes, the first scene preloads the entire movie (this works fine, has the numbers plus percentage). Th…

---

## [Flash site not scaling with browser](https://forum.kirupa.com/t/flash-site-not-scaling-with-browser/241077)

<div class="topic-metadata">

**Author:** [@celticvfx](https://forum.kirupa.com/u/celticvfx)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:54pm UTC](https://forum.kirupa.com/t/flash-site-not-scaling-with-browser/241077 "2007-10-09T20:54:02Z")

</div>

Hello when I play my SWF locally, it scales dynamically with the size of the window. Now that Ive published it, the website is at a static size...how do I change that? thanks! Celticvfx

---

## [Help for a Teacher & Novice Game Builder](https://forum.kirupa.com/t/help-for-a-teacher-novice-game-builder/241076)

<div class="topic-metadata">

**Author:** [@sangrante](https://forum.kirupa.com/u/sangrante)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:43pm UTC](https://forum.kirupa.com/t/help-for-a-teacher-novice-game-builder/241076 "2007-10-09T20:43:11Z")

</div>

Kirupa Coders, Maybe you or someone you know can help. For years I've taught in a chaotic, urban classroom. I use games to get through to kids who usually don't function well with "paper and pencil". Now I'm devel…

---

## [Pop Up inside Flash](https://forum.kirupa.com/t/pop-up-inside-flash/241073)

<div class="topic-metadata">

**Author:** [@Hawkflame1](https://forum.kirupa.com/u/Hawkflame1)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:34pm UTC](https://forum.kirupa.com/t/pop-up-inside-flash/241073 "2007-10-09T20:34:16Z")

</div>

Hi, Can anyone tell me or tell me where i can find a tutorial on how to create a pop up inside flash. Iam doing a project, so iam making this game..which has word puzzles, like jumbled up words. i have created all …

---

## [Parse XML with PHP](https://forum.kirupa.com/t/parse-xml-with-php/241071)

<div class="topic-metadata">

**Author:** [@wverbist](https://forum.kirupa.com/u/wverbist)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:27pm UTC](https://forum.kirupa.com/t/parse-xml-with-php/241071 "2007-10-09T20:27:49Z")

</div>

Hi. I am trying to parse XML data using PHP. I have site that will have product shots and with those images there will be a title and a description. What I want is to have one XML file that gets parsed and just the info …

---

## [Asian Character issue](https://forum.kirupa.com/t/asian-character-issue/241070)

<div class="topic-metadata">

**Author:** [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:24pm UTC](https://forum.kirupa.com/t/asian-character-issue/241070 "2007-10-09T20:24:26Z")

</div>

Hey all, I am having a bit of a dilemma right now with some chinese - simplified input boxes. Here is the set up: I have a text box that is being generated. it is using \_sans as its font embedFonts is set to false no…

---

## [Copypixels](https://forum.kirupa.com/t/copypixels/241069)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:20pm UTC](https://forum.kirupa.com/t/copypixels/241069 "2007-10-09T20:20:06Z")

</div>

Hi guys, I was wondering if there is a function in AS3 which behaves exactly like copypixels (takes a specified area of a bitmap and then copies it to another etc) but instead it adds the data to an array which can the…

---

## [AS Snakes](https://forum.kirupa.com/t/as-snakes/241067)

<div class="topic-metadata">

**Author:** [@trundrumbalind](https://forum.kirupa.com/u/trundrumbalind)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:04pm UTC](https://forum.kirupa.com/t/as-snakes/241067 "2007-10-09T20:04:41Z")

</div>

Hey guys, I'm trying to build a nice non-tile based snake. Nothing to do with that game that everyone seems to be trying to build! Check this out... http://www.flow-games.jp/ Bootiful eh? Basically, I'm pretty goo…

---

## [Save current swf as a png?](https://forum.kirupa.com/t/save-current-swf-as-a-png/241066)

<div class="topic-metadata">

**Author:** [@ErikHK](https://forum.kirupa.com/u/ErikHK)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 8:04pm UTC](https://forum.kirupa.com/t/save-current-swf-as-a-png/241066 "2007-10-09T20:04:09Z")

</div>

Say for instance that you have a drawing app made in flash (not my case, but you get the picture) and want to make users able to save it to a png, is that doable? Is it possible to save it directly to some raster format …

---

## [Saving a Snapshot](https://forum.kirupa.com/t/saving-a-snapshot/241065)

<div class="topic-metadata">

**Author:** [@jimjamjo1](https://forum.kirupa.com/u/jimjamjo1)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 7:55pm UTC](https://forum.kirupa.com/t/saving-a-snapshot/241065 "2007-10-09T19:55:15Z")

</div>

Hello Again, I posted before about this subject and recently require urgent help to solve this problem once and for all. The problem is saving an a movie clip from the stage (webcam capture) to a server via php. What…

---

## [Flex 2 - My httpservice wont work online](https://forum.kirupa.com/t/flex-2-my-httpservice-wont-work-online/241064)

<div class="topic-metadata">

**Author:** [@Mg1975](https://forum.kirupa.com/u/Mg1975)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 7:50pm UTC](https://forum.kirupa.com/t/flex-2-my-httpservice-wont-work-online/241064 "2007-10-09T19:50:53Z")

</div>

My HTTPService wont work when I upload my Flex app. to my homepage, what is wrong? Help!!!

---

## [Need a bit help FLASH8 PHP mail form](https://forum.kirupa.com/t/need-a-bit-help-flash8-php-mail-form/241057)

<div class="topic-metadata">

**Author:** [@webpsiho](https://forum.kirupa.com/u/webpsiho)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 7:25pm UTC](https://forum.kirupa.com/t/need-a-bit-help-flash8-php-mail-form/241057 "2007-10-09T19:25:18Z")

</div>

Hi everyone, I have a big problems with connection between my flash movie and php file. So, what I\`m trying to do? I made 4 Input fields , Var: name, email, message . THe submit button is : on(release) { loa…

---

## [Week 1 - Progress Report](https://forum.kirupa.com/t/week-1-progress-report/241056)

<div class="topic-metadata">

**Author:** [@Z11](https://forum.kirupa.com/u/Z11)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 6:59pm UTC](https://forum.kirupa.com/t/week-1-progress-report/241056 "2007-10-09T18:59:23Z")

</div>

So I started making my game over last week, from scratch. Obviously it's much faster to work, now that I understand how to program better. Here is the screenshot I just took from the game. It is running at a nice 40 real…

---

## [PHP if/else](https://forum.kirupa.com/t/php-if-else/241055)

<div class="topic-metadata">

**Author:** [@arca](https://forum.kirupa.com/u/arca)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 6:35pm UTC](https://forum.kirupa.com/t/php-if-else/241055 "2007-10-09T18:35:05Z")

</div>

How do I get a radio button in 1 group to be checked when a radio button in another group becomes checked? For example: I want the button in var1 w/value "No voice" to become automatically selected when button var2 w/val…

---

## [Compare Javascript-gathered value with a session variable](https://forum.kirupa.com/t/compare-javascript-gathered-value-with-a-session-variable/241054)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 6:33pm UTC](https://forum.kirupa.com/t/compare-javascript-gathered-value-with-a-session-variable/241054 "2007-10-09T18:33:21Z")

</div>

I know almost no Javascript. I got this from a script I found only and it just needs some minor tweaks.. I have a session variable I created from PHP. I need to compare it to a value entered in a form. something like…

---

## [If two are selected then do this](https://forum.kirupa.com/t/if-two-are-selected-then-do-this/241053)

<div class="topic-metadata">

**Author:** [@p\_ziity](https://forum.kirupa.com/u/p_ziity)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 6:21pm UTC](https://forum.kirupa.com/t/if-two-are-selected-then-do-this/241053 "2007-10-09T18:21:33Z")

</div>

Say I wanted to select two objects so that did a certain action. How would that If statement look? Any help will be greatly appreciated. ~Zach

---

## [A flash/browser resize question](https://forum.kirupa.com/t/a-flash-browser-resize-question/241049)

<div class="topic-metadata">

**Author:** [@craig352](https://forum.kirupa.com/u/craig352)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 4:34pm UTC](https://forum.kirupa.com/t/a-flash-browser-resize-question/241049 "2007-10-09T16:34:59Z")

</div>

Hi there, I am putting together a site that fills the browser window. I have managed to get individual elements like the menu to shift with the browser shape being played with. However, I need to make a background mo…

---

## [Different/Dynamic blurs](https://forum.kirupa.com/t/different-dynamic-blurs/241038)

<div class="topic-metadata">

**Author:** [@Jimmeah](https://forum.kirupa.com/u/Jimmeah)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 3:48pm UTC](https://forum.kirupa.com/t/different-dynamic-blurs/241038 "2007-10-09T15:48:16Z")

</div>

Probably a stupid question, but how can I use different blurs on different objects? When I use the BlurFilterExample Adobe gives me I only be able to blur all my object on stage. But I want to blur specific object spec…

---

## [Positioning images in movie clip from xml](https://forum.kirupa.com/t/positioning-images-in-movie-clip-from-xml/241037)

<div class="topic-metadata">

**Author:** [@irishcash33](https://forum.kirupa.com/u/irishcash33)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 3:28pm UTC](https://forum.kirupa.com/t/positioning-images-in-movie-clip-from-xml/241037 "2007-10-09T15:28:42Z")

</div>

Hi, I am loading images from an xml file into an empty movie clip. Is there any code either for the xml or for the flash movie clip to specify each position for each image? Thanks

---

## [Tweening a MovieClip with some colour](https://forum.kirupa.com/t/tweening-a-movieclip-with-some-colour/241035)

<div class="topic-metadata">

**Author:** [@Zomis](https://forum.kirupa.com/u/Zomis)\
**Replies:** 0\
**Last updated:** [October 9, 2007, 3:14pm UTC](https://forum.kirupa.com/t/tweening-a-movieclip-with-some-colour/241035 "2007-10-09T15:14:16Z")

</div>

I'm making a game which is based on a two-dimensional map of a rather small size (less than 32x32), I want to add some colour to each of the positions on this map, depending on that areas properties. All properties range…

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

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