# programming

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

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

**Page:** 1590

---

## [ActionScript and JavaScript](https://forum.kirupa.com/t/actionscript-and-javascript/235242)

<div class="topic-metadata">

**Author:** [@alanmace](https://forum.kirupa.com/u/alanmace)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 3:39pm UTC](https://forum.kirupa.com/t/actionscript-and-javascript/235242 "2007-08-09T15:39:01Z")

</div>

Hey all. I'm pretty new to ActionScript. I've been an illustrator for the last several years and I'm only now out of desperation biting the bullet and trying to become a coder. I think I'm over the main hump of the learn…

---

## [Make array from external XML](https://forum.kirupa.com/t/make-array-from-external-xml/235241)

<div class="topic-metadata">

**Author:** [@Nejo31](https://forum.kirupa.com/u/Nejo31)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 3:37pm UTC](https://forum.kirupa.com/t/make-array-from-external-xml/235241 "2007-08-09T15:37:23Z")

</div>

Hi, i have a problem. I would like to retrive xml data from an external file. An than i would collect data from that xml to be compared with some id buttons. ex. IF (xml output atributte) == (id of button), than diss…

---

## [ArmorGames Flash Contest 6!](https://forum.kirupa.com/t/armorgames-flash-contest-6/235240)

<div class="topic-metadata">

**Author:** [@AGContest](https://forum.kirupa.com/u/AGContest)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 3:22pm UTC](https://forum.kirupa.com/t/armorgames-flash-contest-6/235240 "2007-08-09T15:22:12Z")

</div>

http://www.armorgames.com/contest6.html Dear Kirupa users How is everyone? \[smile\] Anyhow, I just hopped on by to tell you about the new Armor Gaming Challenge. The Armor Gaming Challenge VI It's the new ArmorGames con…

---

## [Making a shape Wider when more Text is there](https://forum.kirupa.com/t/making-a-shape-wider-when-more-text-is-there/235239)

<div class="topic-metadata">

**Author:** [@bleutuna](https://forum.kirupa.com/u/bleutuna)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:59pm UTC](https://forum.kirupa.com/t/making-a-shape-wider-when-more-text-is-there/235239 "2007-08-09T14:59:14Z")

</div>

This is probably something pretty easy to do, I just don't know how you'd do it. I've got a 'tab', and I want it to be wider/shorter based on how much text is in it. The text is being generated dynamically, so i nee…

---

## [Buttons in CS3?](https://forum.kirupa.com/t/buttons-in-cs3/235238)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:54pm UTC](https://forum.kirupa.com/t/buttons-in-cs3/235238 "2007-08-09T14:54:11Z")

</div>

How do I make a simple onRelease for a button (root.b1) in CS3? Thanks!

---

## [Tween class import not working in MX?](https://forum.kirupa.com/t/tween-class-import-not-working-in-mx/235237)

<div class="topic-metadata">

**Author:** [@zerogun](https://forum.kirupa.com/u/zerogun)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:53pm UTC](https://forum.kirupa.com/t/tween-class-import-not-working-in-mx/235237 "2007-08-09T14:53:33Z")

</div>

Hi everyone, I just went over the motion tween tutorial for Flash MX, and every time I try to run the code, it pops up \*\*Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: ';' expected import mx.transitions.Tween; S…

---

## [Duplicating Multiple Movie Clips](https://forum.kirupa.com/t/duplicating-multiple-movie-clips/235235)

<div class="topic-metadata">

**Author:** [@billy\_nugz](https://forum.kirupa.com/u/billy_nugz)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:40pm UTC](https://forum.kirupa.com/t/duplicating-multiple-movie-clips/235235 "2007-08-09T14:40:44Z")

</div>

Hello im using flash 8 Ok so I went through a tute on the site which explained this code dupMovie = function () { for (i=0; i\<100; i++) { circle.duplicateMovieClip("circle"+i, i, {\_x:Math.random()\*600, \_y:Math.rand…

---

## [Dynamic FLVPlayback - contentPath require full LOCAL path?](https://forum.kirupa.com/t/dynamic-flvplayback-contentpath-require-full-local-path/235233)

<div class="topic-metadata">

**Author:** [@ironchefmoto](https://forum.kirupa.com/u/ironchefmoto)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:15pm UTC](https://forum.kirupa.com/t/dynamic-flvplayback-contentpath-require-full-local-path/235233 "2007-08-09T14:15:35Z")

</div>

I just created a 448x380 SWF with the following code: import mx.video.\*; this.attachMovie("FLVPlayback", "corp\_video", 10, {width:448, height:336, x:0, y:0}); my\_FLVPlybk.skin = "SteelExternalAll.swf" my\_FLVPlybk.cont…

---

## [Simple rollout effect](https://forum.kirupa.com/t/simple-rollout-effect/235232)

<div class="topic-metadata">

**Author:** [@YouNoTakeCandle](https://forum.kirupa.com/u/YouNoTakeCandle)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:12pm UTC](https://forum.kirupa.com/t/simple-rollout-effect/235232 "2007-08-09T14:12:38Z")

</div>

Hello. I am in desperate need for a little help here. Me and a friend got to make this thing work 2 days ago, but now it just doesn't want to work corecly. The main idea is to call a frame from the MC inside the button…

---

## [Flash Remoting cannot connect in Opera](https://forum.kirupa.com/t/flash-remoting-cannot-connect-in-opera/235231)

<div class="topic-metadata">

**Author:** [@jansensan](https://forum.kirupa.com/u/jansensan)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:04pm UTC](https://forum.kirupa.com/t/flash-remoting-cannot-connect-in-opera/235231 "2007-08-09T14:04:29Z")

</div>

"Situation: When attempting to connect to a Flash Remoting service (gateway) within the Opera web browser, a connection to the gateway cannot be established by the Flash Player. \[FONT=Arial, Helvetica, sans-serif\] \[…

---

## [Php script error](https://forum.kirupa.com/t/php-script-error/235223)

<div class="topic-metadata">

**Author:** [@telit](https://forum.kirupa.com/u/telit)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 1:07pm UTC](https://forum.kirupa.com/t/php-script-error/235223 "2007-08-09T13:07:23Z")

</div>

http://server.novowebsoft.net:8090/sssc.php error "No such file or directory in..." http://server.novowebsoft.net:8090/root.zip - sources

---

## [Sizable/side by side background -\> but fixed site contents](https://forum.kirupa.com/t/sizable-side-by-side-background-but-fixed-site-contents/235218)

<div class="topic-metadata">

**Author:** [@goeiste](https://forum.kirupa.com/u/goeiste)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 12:37pm UTC](https://forum.kirupa.com/t/sizable-side-by-side-background-but-fixed-site-contents/235218 "2007-08-09T12:37:59Z")

</div>

Hello everybody, I'm alwayst irritated by the background of my websites, because until now I'm restricted to the dimensions of my flash movie. One way to solve this is to make your dimensions of the flash window adapt …

---

## [Whats the best project approach?](https://forum.kirupa.com/t/whats-the-best-project-approach/235217)

<div class="topic-metadata">

**Author:** [@Mippzon](https://forum.kirupa.com/u/Mippzon)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 12:33pm UTC](https://forum.kirupa.com/t/whats-the-best-project-approach/235217 "2007-08-09T12:33:36Z")

</div>

Hi, Me and my friend are working on a flash project. Whats the best approach when having a lot of scenes? We're thinking of separating a lot of scenes into individual swf-files, then loading those into a container mo…

---

## [Printing movieclip without stage background colour](https://forum.kirupa.com/t/printing-movieclip-without-stage-background-colour/235215)

<div class="topic-metadata">

**Author:** [@frankfenomena](https://forum.kirupa.com/u/frankfenomena)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 11:50am UTC](https://forum.kirupa.com/t/printing-movieclip-without-stage-background-colour/235215 "2007-08-09T11:50:43Z")

</div>

I need to print a movieclip with some text and images in it and it's working fine with the print button I created. My problem is that when it prints, it prints the background colour of the overall movie, which is black …

---

## [URL in xml file](https://forum.kirupa.com/t/url-in-xml-file/235207)

<div class="topic-metadata">

**Author:** [@CBP](https://forum.kirupa.com/u/CBP)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 10:43am UTC](https://forum.kirupa.com/t/url-in-xml-file/235207 "2007-08-09T10:43:52Z")

</div>

I have a gallery which displays images and text dynamicly using a simple xml file. This all works perfectly, but I can't figure out how to put a working hyperlink inside the text for each image. Isn't there a simple…

---

## [\[AS2\] Event listener for MC movement?](https://forum.kirupa.com/t/as2-event-listener-for-mc-movement/235205)

<div class="topic-metadata">

**Author:** [@Aesir](https://forum.kirupa.com/u/Aesir)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 10:09am UTC](https://forum.kirupa.com/t/as2-event-listener-for-mc-movement/235205 "2007-08-09T10:09:51Z")

</div>

\[COLOR=black\]\[FONT=Arial\]I thought I saw somewhere that you could set a listener to monitor a MovieClip's position, to see if it has been moved. \[/FONT\]\[/COLOR\]\[COLOR=black\]\[FONT=Arial\]Is this possible in as2? Only as3?…

---

## [Cannot access a property or method of a null object reference](https://forum.kirupa.com/t/cannot-access-a-property-or-method-of-a-null-object-reference/235204)

<div class="topic-metadata">

**Author:** [@jcanistrum](https://forum.kirupa.com/u/jcanistrum)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 9:41am UTC](https://forum.kirupa.com/t/cannot-access-a-property-or-method-of-a-null-object-reference/235204 "2007-08-09T09:41:55Z")

</div>

Hi All, I´m stucked with "Cannot access a property or method of a null object reference" I did a small test inside the IDE and it works fine var \_container:Sprite; var holder:Sprite = new Sprite(); addChild( hol…

---

## [Create session variables in dynamic tables](https://forum.kirupa.com/t/create-session-variables-in-dynamic-tables/235202)

<div class="topic-metadata">

**Author:** [@joeltonnberg](https://forum.kirupa.com/u/joeltonnberg)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 8:44am UTC](https://forum.kirupa.com/t/create-session-variables-in-dynamic-tables/235202 "2007-08-09T08:44:28Z")

</div>

I have a rather simple dynamic table which displays information from a certain column from a database. The code is as follows: \<table border="1"\> \<tr\> \<td\>Name\</td\> \</tr\> \<?php do { ?\> \<tr\> \<td\>\<?ph…

---

## [AS3 preloader problem](https://forum.kirupa.com/t/as3-preloader-problem/235199)

<div class="topic-metadata">

**Author:** [@wanda](https://forum.kirupa.com/u/wanda)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 7:59am UTC](https://forum.kirupa.com/t/as3-preloader-problem/235199 "2007-08-09T07:59:46Z")

</div>

Hey I have a litte problem with my preloader. I want my loaderbar to be removed from the stage when the load is completed. I'm trying to do that with removeChild(\_loaderBar); It works with the textfield, but not with…

---

## [How write actionscript of laplace transform in flash](https://forum.kirupa.com/t/how-write-actionscript-of-laplace-transform-in-flash/235195)

<div class="topic-metadata">

**Author:** [@little\_prince41](https://forum.kirupa.com/u/little_prince41)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 6:20am UTC](https://forum.kirupa.com/t/how-write-actionscript-of-laplace-transform-in-flash/235195 "2007-08-09T06:20:19Z")

</div>

Hello... I have problem about math. I want write function of laplace transform in flash. .................................................. ................... \[image\] X(s)=kd\*s^2 +kp\*s+Ki; F(s)=s^3 +(10+kd)s^2 +…

---

## [AS2 - Function that calls itself](https://forum.kirupa.com/t/as2-function-that-calls-itself/235194)

<div class="topic-metadata">

**Author:** [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 6:20am UTC](https://forum.kirupa.com/t/as2-function-that-calls-itself/235194 "2007-08-09T06:20:14Z")

</div>

Hey guys, im using a function that iterates through all nodes in an XML tree, and then calls itself again if any of the nodes it is looking at has a set of child nodes, so in other words it multi-dimensionally loops thro…

---

## [Page freezes until Flash movie loads](https://forum.kirupa.com/t/page-freezes-until-flash-movie-loads/235193)

<div class="topic-metadata">

**Author:** [@Armored](https://forum.kirupa.com/u/Armored)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 6:11am UTC](https://forum.kirupa.com/t/page-freezes-until-flash-movie-loads/235193 "2007-08-09T06:11:46Z")

</div>

Hey, I have made a Flash image gallery that is working just fine. I'm preloading the thumbnails and loading the main images only when these are clicked for display, in order to save load time. The problem comes when th…

---

## [Creating menu dynamically](https://forum.kirupa.com/t/creating-menu-dynamically/235191)

<div class="topic-metadata">

**Author:** [@flashnewuser](https://forum.kirupa.com/u/flashnewuser)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 5:42am UTC](https://forum.kirupa.com/t/creating-menu-dynamically/235191 "2007-08-09T05:42:01Z")

</div>

Hi all, I want to create menu dynamically. It will load the values using XML. How to do this? The menu item will be displayed in the bottom of the screeen. Give me any sample or idea? Thanks in advance

---

## [JS Fun](https://forum.kirupa.com/t/js-fun/235188)

<div class="topic-metadata">

**Author:** [@CriTiCeRz](https://forum.kirupa.com/u/CriTiCeRz)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 5:06am UTC](https://forum.kirupa.com/t/js-fun/235188 "2007-08-09T05:06:19Z")

</div>

So guys check it out: http://webuytuts.com/alain/fawnt/ What I want to do is: When people click on one of the fonts a box fades in at the bottom of the page with the info of the font which will be in a mysql database. …

---

## [Needdd Helpppp Plzzz](https://forum.kirupa.com/t/needdd-helpppp-plzzz/235187)

<div class="topic-metadata">

**Author:** [@vin23leo](https://forum.kirupa.com/u/vin23leo)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 4:59am UTC](https://forum.kirupa.com/t/needdd-helpppp-plzzz/235187 "2007-08-09T04:59:02Z")

</div>

hi guys, im making a webcam flash game atm, its a ninja game, like the playstations eyetoy game, i have ninjas come from left and right, i am using script to place the ninjas from the library to the stage they are call…

---

## [Fms 2 And As 3](https://forum.kirupa.com/t/fms-2-and-as-3/235186)

<div class="topic-metadata">

**Author:** [@cosmicloverocks](https://forum.kirupa.com/u/cosmicloverocks)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 4:29am UTC](https://forum.kirupa.com/t/fms-2-and-as-3/235186 "2007-08-09T04:29:49Z")

</div>

i am trying to lear fms 2 with as3 i am trying to make a simple connection .. here is the code: package { import flash.display.Sprite; import flash.net.NetConnection; import flash.events.NetStatusEvent; …

---

## [XNA is anyone here using it?](https://forum.kirupa.com/t/xna-is-anyone-here-using-it/235184)

<div class="topic-metadata">

**Author:** [@Aquilonian](https://forum.kirupa.com/u/Aquilonian)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 3:56am UTC](https://forum.kirupa.com/t/xna-is-anyone-here-using-it/235184 "2007-08-09T03:56:06Z")

</div>

Just curious...cos i want to make games for windows with it and would like to know how difficult/easy it is, compared to flash...i mean, they say AS3 is so close to java, or c, but i have never coded in those languages b…

---

## [\[AS Help\] Central Gravity](https://forum.kirupa.com/t/as-help-central-gravity/235183)

<div class="topic-metadata">

**Author:** [@Skribble](https://forum.kirupa.com/u/Skribble)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 3:54am UTC](https://forum.kirupa.com/t/as-help-central-gravity/235183 "2007-08-09T03:54:51Z")

</div>

Okie dokieee, I'm new to the whole math/physics side of flash and I'm slowly learning about sin,cos,tan and the rest of it, but I'm still very much so a begginer. So here's what I'm trying to create, a dude that cab walk…

---

## [\[Flash 8\]Movieclips Inside Buttons](https://forum.kirupa.com/t/flash-8-movieclips-inside-buttons/235180)

<div class="topic-metadata">

**Author:** [@StolenFED](https://forum.kirupa.com/u/StolenFED)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:27am UTC](https://forum.kirupa.com/t/flash-8-movieclips-inside-buttons/235180 "2007-08-09T02:27:08Z")

</div>

Hey Kirupa, I'm working on a game right now, and I'm having a bit of trouble. I would like it to be if a certain Boolean, lets call it variable1 \*is equal to \*true, then Movieclip "disk" (which is located inside a butt…

---

## [Array Sort Problem](https://forum.kirupa.com/t/array-sort-problem/235179)

<div class="topic-metadata">

**Author:** [@Guro](https://forum.kirupa.com/u/Guro)\
**Replies:** 0\
**Last updated:** [August 9, 2007, 2:06am UTC](https://forum.kirupa.com/t/array-sort-problem/235179 "2007-08-09T02:06:44Z")

</div>

hello, i'v got this sorting problem with arrays var ar1:Array = new Array("345","300","450","70","200","100","125"); var ar2:Array = ar1; trace(ar1); // returns 345,300,450,70,200,100,125 ar2.sort(Array.NUMERIC); t…

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

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