# programming

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

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

**Page:** 1548

---

## [Iterate through XML loading 6 at a time if not 6 set to false](https://forum.kirupa.com/t/iterate-through-xml-loading-6-at-a-time-if-not-6-set-to-false/238592)

<div class="topic-metadata">

**Author:** [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 10:05pm UTC](https://forum.kirupa.com/t/iterate-through-xml-loading-6-at-a-time-if-not-6-set-to-false/238592 "2007-09-12T22:05:52Z")

</div>

Question regarding math: I am trying to interate through an xml set (the xml will constantly change) and display 6 items at a time. If the total from xml is not divisible by 6 and lets say 4 left from the array, only s…

---

## [atan2 weird behavior](https://forum.kirupa.com/t/atan2-weird-behavior/238588)

<div class="topic-metadata">

**Author:** [@chan\_arantes](https://forum.kirupa.com/u/chan_arantes)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 9:25pm UTC](https://forum.kirupa.com/t/atan2-weird-behavior/238588 "2007-09-12T21:25:23Z")

</div>

Hi, i'm using a script to generate these segments and position them in a theo jansen mechanism but something is really not working.. \[image\] // worked fine, the "a" segment var dx = a.x - g.getPin().x; var dy = a.y…

---

## [Component skin question](https://forum.kirupa.com/t/component-skin-question/238586)

<div class="topic-metadata">

**Author:** [@absolutezero342](https://forum.kirupa.com/u/absolutezero342)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 9:14pm UTC](https://forum.kirupa.com/t/component-skin-question/238586 "2007-09-12T21:14:50Z")

</div>

Is there any way to change the skin of a TileList component with the skin changes appearing ON TOP of the source image? I want to take some basic images from my TileList and make the skin so that it appears to be in a fi…

---

## [Functions across .as files or in timeline?](https://forum.kirupa.com/t/functions-across-as-files-or-in-timeline/238582)

<div class="topic-metadata">

**Author:** [@zantetsuken](https://forum.kirupa.com/u/zantetsuken)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 8:48pm UTC](https://forum.kirupa.com/t/functions-across-as-files-or-in-timeline/238582 "2007-09-12T20:48:08Z")

</div>

Is there a way to call a function from another .AS file within your classpath? Better yet, is there a way to call a function from your timeline of a .fla to a .as file in your classpath? Here is the error I am getting: …

---

## [Help me tackle this strange bug](https://forum.kirupa.com/t/help-me-tackle-this-strange-bug/238580)

<div class="topic-metadata">

**Author:** [@djrima](https://forum.kirupa.com/u/djrima)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 8:26pm UTC](https://forum.kirupa.com/t/help-me-tackle-this-strange-bug/238580 "2007-09-12T20:26:57Z")

</div>

Hello designers of Kirupa. BACKGROUND: I've been developing a hybrid website that is a simple HTML webpage with an embedded flash file for some simple mouse-over effects and a preloaded image gallery. PROBLEM: For re…

---

## [Weird behavior on MAC](https://forum.kirupa.com/t/weird-behavior-on-mac/238575)

<div class="topic-metadata">

**Author:** [@ombilicus](https://forum.kirupa.com/u/ombilicus)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 7:05pm UTC](https://forum.kirupa.com/t/weird-behavior-on-mac/238575 "2007-09-12T19:05:39Z")

</div>

HI, I'm running a script that continuously draws a line (drawing API). the script is in a onEnterframe event. For some reason, and only on a MAC, when the browser loses focus and you pull up another program window in fro…

---

## [Mootools working only in Firefox](https://forum.kirupa.com/t/mootools-working-only-in-firefox/238573)

<div class="topic-metadata">

**Author:** [@camargo](https://forum.kirupa.com/u/camargo)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:19pm UTC](https://forum.kirupa.com/t/mootools-working-only-in-firefox/238573 "2007-09-12T18:19:54Z")

</div>

Hello Kirupans! Weird issue this morning. I realized that a site I'm working on with mootools functionality is only working in Firefox. Here's a link: http://www.hlfstage.com/mbe I've checked it in IE6, IE7, Opera,…

---

## [ActiveX bug when loading AS2 after AS3?](https://forum.kirupa.com/t/activex-bug-when-loading-as2-after-as3/238572)

<div class="topic-metadata">

**Author:** [@conradoplg](https://forum.kirupa.com/u/conradoplg)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:18pm UTC](https://forum.kirupa.com/t/activex-bug-when-loading-as2-after-as3/238572 "2007-09-12T18:18:44Z")

</div>

We're developing a VB.net application that has a Flash ActiveX control. It loads AS2 swf's and AS3 swf's... but after you load a AS3 swf, when you load a AS2 swf file into it, strange things start to happen... Tweens fai…

---

## [XML callback function(iteration of Squirrel Finder)](https://forum.kirupa.com/t/xml-callback-function-iteration-of-squirrel-finder/238568)

<div class="topic-metadata">

**Author:** [@RWhite](https://forum.kirupa.com/u/RWhite)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:04pm UTC](https://forum.kirupa.com/t/xml-callback-function-iteration-of-squirrel-finder/238568 "2007-09-12T18:04:00Z")

</div>

Hello, Went through the Squirrel Finder tut and got it working fine, thanks! Now attempting to use the new found tech in a CDROM project where menus are built after runtime (96 frames after) from an XML object. Pr…

---

## [Electronic Portfolio](https://forum.kirupa.com/t/electronic-portfolio/238567)

<div class="topic-metadata">

**Author:** [@Overlook](https://forum.kirupa.com/u/Overlook)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 5:57pm UTC](https://forum.kirupa.com/t/electronic-portfolio/238567 "2007-09-12T17:57:28Z")

</div>

Hey guys, I'm looking for suggestions for creating an Electronic Portfolio using Flash. I have to use 6 buttons, and I don't have very many ideas. One person did an animation of a paint tube goes around, and squirts out …

---

## [Appending and XML file with PHP](https://forum.kirupa.com/t/appending-and-xml-file-with-php/238563)

<div class="topic-metadata">

**Author:** [@WearDark](https://forum.kirupa.com/u/WearDark)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 5:52pm UTC](https://forum.kirupa.com/t/appending-and-xml-file-with-php/238563 "2007-09-12T17:52:17Z")

</div>

I want to append an existing XML file with a new entry and if possible I dont want to open/parse/re-write the whole file. Does anyone have any idea how? I've tried using fgets() in a loop and evaluating the string it …

---

## [Something wicked in IE6 and IE7](https://forum.kirupa.com/t/something-wicked-in-ie6-and-ie7/238557)

<div class="topic-metadata">

**Author:** [@MTsoul](https://forum.kirupa.com/u/MTsoul)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 4:39pm UTC](https://forum.kirupa.com/t/something-wicked-in-ie6-and-ie7/238557 "2007-09-12T16:39:19Z")

</div>

I haven't checked my site in a long time, but today I checked it in IE6 and IE7 and it looks like a complete mess - http://mtsix.com/ The styles are http://mtsix.com/wp-content/themes/mt3/new\_ie.css and http://mtsix.co…

---

## [externalInterface + swfobject](https://forum.kirupa.com/t/externalinterface-swfobject/238550)

<div class="topic-metadata">

**Author:** [@jansensan](https://forum.kirupa.com/u/jansensan)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 3:17pm UTC](https://forum.kirupa.com/t/externalinterface-swfobject/238550 "2007-09-12T15:17:29Z")

</div>

hello all, i have been reading here and there, but i cant seem to understand what i have been doing wrong... im simply trying to implement an actionscript function that could be called by a link outside of the flash mo…

---

## [Rewrote it with a totalOfItems but now all placed on stage](https://forum.kirupa.com/t/rewrote-it-with-a-totalofitems-but-now-all-placed-on-stage/238548)

<div class="topic-metadata">

**Author:** [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 3:15pm UTC](https://forum.kirupa.com/t/rewrote-it-with-a-totalofitems-but-now-all-placed-on-stage/238548 "2007-09-12T15:15:39Z")

</div>

Okay so I have been working on this for like 5 days now and have a huge headache. I came to the conclusion last night while sleeping that I couldnt increment through set without having total number from XML. Soooo I woke…

---

## [A note to those using "Export Movie"](https://forum.kirupa.com/t/a-note-to-those-using-export-movie/238547)

<div class="topic-metadata">

**Author:** [@enriquepr](https://forum.kirupa.com/u/enriquepr)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 3:10pm UTC](https://forum.kirupa.com/t/a-note-to-those-using-export-movie/238547 "2007-09-12T15:10:12Z")

</div>

If anyone has ever ran into this problem, you will run into it no longer. The other day I attempted to export a flash animation to Quicktime using H.264 compression. Key word being "attempted". The progress bar for "Reco…

---

## [Free Shared Flash Chat](https://forum.kirupa.com/t/free-shared-flash-chat/238542)

<div class="topic-metadata">

**Author:** [@mjorge](https://forum.kirupa.com/u/mjorge)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 2:50pm UTC](https://forum.kirupa.com/t/free-shared-flash-chat/238542 "2007-09-12T14:50:23Z")

</div>

Chatopica has created a cool simple and light chat application that you can install for free at your own website. The advantage is that this application is shared with other user’s so you will always have people at the c…

---

## [Loaded image not showing on refresh, but resize](https://forum.kirupa.com/t/loaded-image-not-showing-on-refresh-but-resize/238541)

<div class="topic-metadata">

**Author:** [@christiang](https://forum.kirupa.com/u/christiang)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 2:43pm UTC](https://forum.kirupa.com/t/loaded-image-not-showing-on-refresh-but-resize/238541 "2007-09-12T14:43:41Z")

</div>

Hi, I have a project where I'm creating a flashbased gallery. The gallery images respectively fill the entire browser window as sort of a background. This gallery is completely written in actionscript 3 and all moviecl…

---

## [Strange Filesize Behavior](https://forum.kirupa.com/t/strange-filesize-behavior/238536)

<div class="topic-metadata">

**Author:** [@rahnefan](https://forum.kirupa.com/u/rahnefan)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 1:58pm UTC](https://forum.kirupa.com/t/strange-filesize-behavior/238536 "2007-09-12T13:58:01Z")

</div>

Until today I'd never noticed that as I save over an fla, it increases file size even if I've removed objects from the library, slimmed the code, and gutted it as much as possible. The only way around this seems to be gi…

---

## [So Close - Check Math Please](https://forum.kirupa.com/t/so-close-check-math-please/238535)

<div class="topic-metadata">

**Author:** [@rahnefan](https://forum.kirupa.com/u/rahnefan)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 1:52pm UTC](https://forum.kirupa.com/t/so-close-check-math-please/238535 "2007-09-12T13:52:48Z")

</div>

This map scales to 400% while panning to specified locations, and once there it scales back down to 100% wherever you click, but either I've fudged the math or should be using a different method, because it's jerky, and …

---

## [Need a little help with this script!](https://forum.kirupa.com/t/need-a-little-help-with-this-script/238531)

<div class="topic-metadata">

**Author:** [@Surekin](https://forum.kirupa.com/u/Surekin)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 1:00pm UTC](https://forum.kirupa.com/t/need-a-little-help-with-this-script/238531 "2007-09-12T13:00:38Z")

</div>

Hey there, i need a little help with this transition script below! It's a neat mask transition on mouse click! The Script works perfect as i want it to, BUT i need to resize the area where the user can click with the mou…

---

## [LoadVars + php = undefined](https://forum.kirupa.com/t/loadvars-php-undefined/238530)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 12:44pm UTC](https://forum.kirupa.com/t/loadvars-php-undefined/238530 "2007-09-12T12:44:32Z")

</div>

This should be a rather simple thing to do. Server is running, files are in my htdocs folder. but it just reports undefined. Any thoughts? var cat = new LoadVars function printOut(success){ frankencat.text = …

---

## [Photo Gallery Using XML and Flash resizing pics](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-resizing-pics/238529)

<div class="topic-metadata">

**Author:** [@reefonline](https://forum.kirupa.com/u/reefonline)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 12:25pm UTC](https://forum.kirupa.com/t/photo-gallery-using-xml-and-flash-resizing-pics/238529 "2007-09-12T12:25:50Z")

</div>

hi, one thing i would love to do is to have the gallery resize the pics without having to resize the original file. can this be done? and how about making it possible to play it as a slide show? thanx in advance

---

## [Rewind 5 frames button](https://forum.kirupa.com/t/rewind-5-frames-button/238528)

<div class="topic-metadata">

**Author:** [@esferaweb](https://forum.kirupa.com/u/esferaweb)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 12:01pm UTC](https://forum.kirupa.com/t/rewind-5-frames-button/238528 "2007-09-12T12:01:35Z")

</div>

Hi, how can i make a i rewind button and return just 5 frames? i try this: on(release){ \_root.gotoAndPlay(\_root.\_currentframe - 9); } but i try rewind animation, like prevFrame().

---

## [Background stretch?](https://forum.kirupa.com/t/background-stretch/238527)

<div class="topic-metadata">

**Author:** [@RichGags](https://forum.kirupa.com/u/RichGags)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 11:52am UTC](https://forum.kirupa.com/t/background-stretch/238527 "2007-09-12T11:52:41Z")

</div>

Hi, I noticed all the really nice sites now are doing this type of thing... http://74.ufc.com/ The background is stretched and the content adjusts depending on the size of your browser window. First, How do I set the…

---

## [Urgent, please help Moving x position in this code](https://forum.kirupa.com/t/urgent-please-help-moving-x-position-in-this-code/238521)

<div class="topic-metadata">

**Author:** [@anthonyp](https://forum.kirupa.com/u/anthonyp)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 8:57am UTC](https://forum.kirupa.com/t/urgent-please-help-moving-x-position-in-this-code/238521 "2007-09-12T08:57:58Z")

</div>

Hi people! I have this script, that zooms and fades the movieclip but i also need to shift the position slightly from the start state to the end state. For example var startX = 60 var endX = 70 so when the zoom star…

---

## [DIV/CSS/JAVASCRIPT what 2 use here?](https://forum.kirupa.com/t/div-css-javascript-what-2-use-here/238520)

<div class="topic-metadata">

**Author:** [@webmulgor](https://forum.kirupa.com/u/webmulgor)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 8:45am UTC](https://forum.kirupa.com/t/div-css-javascript-what-2-use-here/238520 "2007-09-12T08:45:54Z")

</div>

"When user/member visits the site and plans to put some message, for this he clicks the button (reply button), At this moment (..if session is not yet created) i want one Form to appear asking for userid & password (on s…

---

## [\[help\] $\_GET not working?](https://forum.kirupa.com/t/help--get-not-working/238519)

<div class="topic-metadata">

**Author:** [@Csj](https://forum.kirupa.com/u/Csj)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 8:44am UTC](https://forum.kirupa.com/t/help--get-not-working/238519 "2007-09-12T08:44:21Z")

</div>

Im busy creating an application in Flash and I need to load variables into textBoxes using a PHP script. My PHP script is as follows: $photos = "select \* from photos\_saved where username = '$…

---

## [Hyperlink to the loader component](https://forum.kirupa.com/t/hyperlink-to-the-loader-component/238515)

<div class="topic-metadata">

**Author:** [@tulsi\_shah](https://forum.kirupa.com/u/tulsi_shah)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 8:19am UTC](https://forum.kirupa.com/t/hyperlink-to-the-loader-component/238515 "2007-09-12T08:19:56Z")

</div>

hi In my site I have a flash file displaying thumbnail images of a video (latest uploaded) dynamically in the loader component by using php, i m able to load the images from the database into the loader. Please tell me h…

---

## [Loading FLV with no sound](https://forum.kirupa.com/t/loading-flv-with-no-sound/238510)

<div class="topic-metadata">

**Author:** [@absolutejw](https://forum.kirupa.com/u/absolutejw)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:40am UTC](https://forum.kirupa.com/t/loading-flv-with-no-sound/238510 "2007-09-12T06:40:49Z")

</div>

HI, I am streaming an flv through the following code: //load/play flv var connection\_nc:NetConnection = new NetConnection(); connection\_nc.connect(null); var stream\_ns:NetStream = new NetStream(connection\_nc); vidT…

---

## [How to reduce size of swf file](https://forum.kirupa.com/t/how-to-reduce-size-of-swf-file/238509)

<div class="topic-metadata">

**Author:** [@nnn123](https://forum.kirupa.com/u/nnn123)\
**Replies:** 0\
**Last updated:** [September 12, 2007, 6:20am UTC](https://forum.kirupa.com/t/how-to-reduce-size-of-swf-file/238509 "2007-09-12T06:20:59Z")

</div>

Hi, I am new to Flash Programming & developing simple game in Flash. My flash game size is increasing because of images and fonts I have embedded for dynamic text. Is there a better way to make it so that the file si…

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

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