# programming

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

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

**Page:** 1705

---

## [Using php generated dyanmic xml in Flash](https://forum.kirupa.com/t/using-php-generated-dyanmic-xml-in-flash/226926)

<div class="topic-metadata">

**Author:** [@mightypopo](https://forum.kirupa.com/u/mightypopo)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 3:51am UTC](https://forum.kirupa.com/t/using-php-generated-dyanmic-xml-in-flash/226926 "2007-05-25T03:51:29Z")

</div>

Hi Everyone, Does anyone here know if it is possible to use PHP dynamically generated xml files in flash? I want to use a combination of php & mysql functions within an xml file and parse it in Flash with actionscript.…

---

## [Grid thumbnails XML - rollover mod?](https://forum.kirupa.com/t/grid-thumbnails-xml-rollover-mod/226925)

<div class="topic-metadata">

**Author:** [@visitor13](https://forum.kirupa.com/u/visitor13)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 3:50am UTC](https://forum.kirupa.com/t/grid-thumbnails-xml-rollover-mod/226925 "2007-05-25T03:50:23Z")

</div>

I used the code from this thread to build a slideshow with two rows of thumbs. However I'd like to change the rollover style. Right now these two pieces of code: \[AS\] this.createEmptyMovieClip("kk",1029); kk.\_x = 20; kk.…

---

## [Can't load external .swf which us a DocumentClass?](https://forum.kirupa.com/t/cant-load-external-swf-which-us-a-documentclass/226922)

<div class="topic-metadata">

**Author:** [@tseears](https://forum.kirupa.com/u/tseears)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 2:41am UTC](https://forum.kirupa.com/t/cant-load-external-swf-which-us-a-documentclass/226922 "2007-05-25T02:41:43Z")

</div>

Hi, I’m an experienced programmer but new to Flash 9 and ActionScript 3.0 - hope this isn’t a stupid question, but I’ve searched and searched and can’t find a solution :h: … I created what I think is a fairly typical fu…

---

## [Using one method to fade in multiple movieclips simultaneously?](https://forum.kirupa.com/t/using-one-method-to-fade-in-multiple-movieclips-simultaneously/226916)

<div class="topic-metadata">

**Author:** [@Vexir](https://forum.kirupa.com/u/Vexir)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 1:23am UTC](https://forum.kirupa.com/t/using-one-method-to-fade-in-multiple-movieclips-simultaneously/226916 "2007-05-25T01:23:07Z")

</div>

why is it that when i use the MovieClipLoader class to load multiple objects simulataneously, i cannot fade them in using a method (which i call fadeIn which basically invokes an onEnterFrame method)? like, when they're …

---

## [\[php / mysql\] cannot retrieve table entry](https://forum.kirupa.com/t/php-mysql-cannot-retrieve-table-entry/226914)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:50am UTC](https://forum.kirupa.com/t/php-mysql-cannot-retrieve-table-entry/226914 "2007-05-25T00:50:44Z")

</div>

I’m making a login page. It will save the the user’s name and encrypted password with session variables. For some reason I can’t retrieve anything in the $row variable. As you can see $num is 1, meaning that at least one…

---

## [Grabbing correct Array and placing adding to String](https://forum.kirupa.com/t/grabbing-correct-array-and-placing-adding-to-string/226913)

<div class="topic-metadata">

**Author:** [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:50am UTC](https://forum.kirupa.com/t/grabbing-correct-array-and-placing-adding-to-string/226913 "2007-05-25T00:50:17Z")

</div>

Hey yall I am trying to grab a movie clip instance which is amongst an array and attach it to a string. I am trying this: stateArray = new Array(AL,AK,AZ, ect....);//names of mc instances for (var i = 0; i\<stateArra…

---

## [Create random neg/pos numbers?](https://forum.kirupa.com/t/create-random-neg-pos-numbers/226912)

<div class="topic-metadata">

**Author:** [@boomtish](https://forum.kirupa.com/u/boomtish)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:43am UTC](https://forum.kirupa.com/t/create-random-neg-pos-numbers/226912 "2007-05-25T00:43:27Z")

</div>

Hi I need some actionscript that will give me a random number between -50 and 50. Been looking at it for a while now. Anyone got any ideas/solutions? The main thing is, I need to create a random value which could be …

---

## [Change XML Variables on fly](https://forum.kirupa.com/t/change-xml-variables-on-fly/226911)

<div class="topic-metadata">

**Author:** [@deltajam](https://forum.kirupa.com/u/deltajam)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:43am UTC](https://forum.kirupa.com/t/change-xml-variables-on-fly/226911 "2007-05-25T00:43:26Z")

</div>

Ok. I want to re-use this XML object, but replace some of the variables inside it. Is there an easy way to do this? var c\_bg\_xml:XML = \<Motion duration="" xmlns="fl.motion.\*" xmlns:geom="flash.geom.\*" xm…

---

## [Loading SWFs pauses code execution?](https://forum.kirupa.com/t/loading-swfs-pauses-code-execution/226909)

<div class="topic-metadata">

**Author:** [@Ozymandias](https://forum.kirupa.com/u/Ozymandias)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:17am UTC](https://forum.kirupa.com/t/loading-swfs-pauses-code-execution/226909 "2007-05-25T00:17:12Z")

</div>

I'm having trouble with a movie I'm making. It's a loader movie clip that loads 3 seperate SWFs. The problem I'm having is that if I do: mainLoader.addListener(mainListener); mainLoader.loadClip(mainPath, main\_mc); m…

---

## [\[PHP\] isset()](https://forum.kirupa.com/t/php-isset/226908)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:13am UTC](https://forum.kirupa.com/t/php-isset/226908 "2007-05-25T00:13:49Z")

</div>

I don't understand what's the difference between: if($var) echo ('hello'); and if(isset($var)) echo ('hello');

---

## [Page Resize](https://forum.kirupa.com/t/page-resize/226907)

<div class="topic-metadata">

**Author:** [@Derlei](https://forum.kirupa.com/u/Derlei)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:08am UTC](https://forum.kirupa.com/t/page-resize/226907 "2007-05-25T00:08:50Z")

</div>

http://www.triworks.net Can someone explain me how can i create that kind of page resize when you enter in the full flash page.

---

## [String to Object](https://forum.kirupa.com/t/string-to-object/226906)

<div class="topic-metadata">

**Author:** [@Corvus](https://forum.kirupa.com/u/Corvus)\
**Replies:** 0\
**Last updated:** [May 25, 2007, 12:05am UTC](https://forum.kirupa.com/t/string-to-object/226906 "2007-05-25T00:05:19Z")

</div>

I have this function that receives a string which has the name of the movieClip I am attaching: function contentsFadesin\*\*(movieFadesin:String)\*\*:Void { attachMovie(movieFadesin, movieFadesin,1); lastSelectedMo…

---

## [Is Flash Detection not for Newbies?](https://forum.kirupa.com/t/is-flash-detection-not-for-newbies/226902)

<div class="topic-metadata">

**Author:** [@imagebender2007](https://forum.kirupa.com/u/imagebender2007)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 11:27pm UTC](https://forum.kirupa.com/t/is-flash-detection-not-for-newbies/226902 "2007-05-24T23:27:22Z")

</div>

I'm using DreamweaverMX ver 6.1 to build a modest web site containing Flash animations. I'd like to use some type of Flash Detection script on my index.html page to help those users who still don't have Flash installed o…

---

## [Image Gallery Question](https://forum.kirupa.com/t/image-gallery-question/226901)

<div class="topic-metadata">

**Author:** [@artistwantab](https://forum.kirupa.com/u/artistwantab)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 11:25pm UTC](https://forum.kirupa.com/t/image-gallery-question/226901 "2007-05-24T23:25:35Z")

</div>

Is xml the best way to go to allow quick and easy updates of an image gallery?

---

## [CuePoint function problem](https://forum.kirupa.com/t/cuepoint-function-problem/226894)

<div class="topic-metadata">

**Author:** [@friggingmick](https://forum.kirupa.com/u/friggingmick)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 10:25pm UTC](https://forum.kirupa.com/t/cuepoint-function-problem/226894 "2007-05-24T22:25:34Z")

</div>

I'm using Flash 8 (in case you need know what version I'm using). There's three flvs I have assigned a cuepoint, "complete". The goal is to make a graphic visible when "complete" cuepoint is detected, but this function…

---

## [Does bravenet soport php?](https://forum.kirupa.com/t/does-bravenet-soport-php/226886)

<div class="topic-metadata">

**Author:** [@jeffonfire](https://forum.kirupa.com/u/jeffonfire)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 9:26pm UTC](https://forum.kirupa.com/t/does-bravenet-soport-php/226886 "2007-05-24T21:26:11Z")

</div>

Does bravenet work with php?

---

## [onMouseMove slowdown](https://forum.kirupa.com/t/onmousemove-slowdown/226885)

<div class="topic-metadata">

**Author:** [@ThePuzzleMaster](https://forum.kirupa.com/u/ThePuzzleMaster)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 9:05pm UTC](https://forum.kirupa.com/t/onmousemove-slowdown/226885 "2007-05-24T21:05:30Z")

</div>

Hi all. Here's my issue. I have a page that contains a few different elements. One object in particular (It is translucent) is causing tremendous slowdown for an onMouseMove function. To do some testing I removed all oth…

---

## [XML Filter](https://forum.kirupa.com/t/xml-filter/226883)

<div class="topic-metadata">

**Author:** [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 8:33pm UTC](https://forum.kirupa.com/t/xml-filter/226883 "2007-05-24T20:33:22Z")

</div>

I have a photogallery that initially loads all of my images with thumbnails. What I want is to have a checkbox next to my thumbnails that filter out certain images as well as their thumbnails. I'm not sure how to do th…

---

## [Countdown Forum](https://forum.kirupa.com/t/countdown-forum/226881)

<div class="topic-metadata">

**Author:** [@mossawi](https://forum.kirupa.com/u/mossawi)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 8:07pm UTC](https://forum.kirupa.com/t/countdown-forum/226881 "2007-05-24T20:07:19Z")

</div>

Hi, I had a question regarding this tutorial: http://www.kirupa.com/developer/mx/countdown.htm My questions is, is it possible that I make the counter by days only, no hours, mins, seconds or mili secs. and how c…

---

## [Show/Hide Layers AND Scrollbars in Macintosh FF](https://forum.kirupa.com/t/show-hide-layers-and-scrollbars-in-macintosh-ff/226880)

<div class="topic-metadata">

**Author:** [@GAP](https://forum.kirupa.com/u/GAP)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 8:04pm UTC](https://forum.kirupa.com/t/show-hide-layers-and-scrollbars-in-macintosh-ff/226880 "2007-05-24T20:04:21Z")

</div>

New member, first time submission. Need to be able to show and hide fixed size layers containing text that overflows (hence, need scrollbars when text is shown). Code below works in PC browsers IE 7.0, Netscape 8.1, Op…

---

## [Multidimensional Array , Slice and Sort](https://forum.kirupa.com/t/multidimensional-array-slice-and-sort/226877)

<div class="topic-metadata">

**Author:** [@epasi](https://forum.kirupa.com/u/epasi)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 7:43pm UTC](https://forum.kirupa.com/t/multidimensional-array-slice-and-sort/226877 "2007-05-24T19:43:55Z")

</div>

how can I slice and sort an array like this : var Table:Array = new Array(); Table\[0\]=\[3\]; Table\[0\]\[0\]="01/01/2007 0:00"; Table\[0\]\[1\]=100; Table\[0\]\[2\]=500; Table\[1\]=\[3\]; Table\[1\]\[0\]="01/01/2007 0:15"; Table\[1\]\[1\]=15…

---

## [Resize dynamic jpg from xml, in max size](https://forum.kirupa.com/t/resize-dynamic-jpg-from-xml-in-max-size/226874)

<div class="topic-metadata">

**Author:** [@satiss](https://forum.kirupa.com/u/satiss)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 7:24pm UTC](https://forum.kirupa.com/t/resize-dynamic-jpg-from-xml-in-max-size/226874 "2007-05-24T19:24:16Z")

</div>

What I want to do is load external jpgs and display them within a predifined box. I use the Kirupa's code for the image loading part ( http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm ) But the…

---

## [Help, please!](https://forum.kirupa.com/t/help-please/226871)

<div class="topic-metadata">

**Author:** [@te4o](https://forum.kirupa.com/u/te4o)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 7:00pm UTC](https://forum.kirupa.com/t/help-please/226871 "2007-05-24T19:00:54Z")

</div>

Hi guys, I have this script for the buttons on my site: stop(); this.onEnterFrame = function(){ if(rewind == true){ prevFrame(); } } this.onRollOver = function(){ rewind = false; p…

---

## [Showing an Image in Movie clip... XML](https://forum.kirupa.com/t/showing-an-image-in-movie-clip-xml/226869)

<div class="topic-metadata">

**Author:** [@mrmike](https://forum.kirupa.com/u/mrmike)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 6:50pm UTC](https://forum.kirupa.com/t/showing-an-image-in-movie-clip-xml/226869 "2007-05-24T18:50:13Z")

</div>

Hi I'm trying to display an image in a movie clip where the location of the image is derived from an xml document. I'm creating a menu from XML nodes and when the user selects that menu item a separate movie clip is up…

---

## [No sound output with .swf](https://forum.kirupa.com/t/no-sound-output-with-swf/226867)

<div class="topic-metadata">

**Author:** [@fearless](https://forum.kirupa.com/u/fearless)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 6:33pm UTC](https://forum.kirupa.com/t/no-sound-output-with-swf/226867 "2007-05-24T18:33:02Z")

</div>

I'm importing a .mov file into Flash MX 2004, editing it with the wizard as I have no other means of editing (where it still sounds fine) and then eventually exporting it as a .swf for web use, but I get the message that…

---

## [Full Browser Preloader](https://forum.kirupa.com/t/full-browser-preloader/226866)

<div class="topic-metadata">

**Author:** [@Crasher](https://forum.kirupa.com/u/Crasher)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 6:30pm UTC](https://forum.kirupa.com/t/full-browser-preloader/226866 "2007-05-24T18:30:46Z")

</div>

I found this thread about full browser images, which I really like. Now I was wondering how to make a full Browser preloader. The bar should be the same height as the Browser window and should load for the whole width. …

---

## [Question about setting colors for radio buttons, plz help](https://forum.kirupa.com/t/question-about-setting-colors-for-radio-buttons-plz-help/226865)

<div class="topic-metadata">

**Author:** [@Bluebomber357](https://forum.kirupa.com/u/Bluebomber357)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 6:18pm UTC](https://forum.kirupa.com/t/question-about-setting-colors-for-radio-buttons-plz-help/226865 "2007-05-24T18:18:46Z")

</div>

Here is my code: var curr:MovieClip = attachMovie("RadioButton","mapRB",\_global.depth++); curr.addEventListener("click",this); curr.label = " Map"; curr.groupName = "MapOrList"; I saw on google for Flash 6 there was…

---

## [Help with Text Class please](https://forum.kirupa.com/t/help-with-text-class-please/226863)

<div class="topic-metadata">

**Author:** [@T12B86](https://forum.kirupa.com/u/T12B86)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 5:32pm UTC](https://forum.kirupa.com/t/help-with-text-class-please/226863 "2007-05-24T17:32:19Z")

</div>

Hi, I found this awesome text effect class. Can anyone give me any ideas on how I would go about making this work multi-line? I'd also like it to reverse and erase itself on call. Any tips? class com.texts.effects.Tex…

---

## [Random Organic Motion](https://forum.kirupa.com/t/random-organic-motion/226862)

<div class="topic-metadata">

**Author:** [@dollyk](https://forum.kirupa.com/u/dollyk)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 5:00pm UTC](https://forum.kirupa.com/t/random-organic-motion/226862 "2007-05-24T17:00:16Z")

</div>

hello, i'm hoping someone can help - i've searched everywhere. I'd like to find/create some AS code that i can use and reuse that will create subtle, random, organic motion based on a set of defined parameters. for ins…

---

## [\[MX 04\] Movie Clip Menu Problem](https://forum.kirupa.com/t/mx-04-movie-clip-menu-problem/226860)

<div class="topic-metadata">

**Author:** [@Brian\_S1](https://forum.kirupa.com/u/Brian_S1)\
**Replies:** 0\
**Last updated:** [May 24, 2007, 4:35pm UTC](https://forum.kirupa.com/t/mx-04-movie-clip-menu-problem/226860 "2007-05-24T16:35:38Z")

</div>

Hello everyone, I followed a tutorial to have a movie clip work as an animated menu for a website. One of the functions is set up as follows: function do\_this() { this.gotoAndPlay("frame label"); gotoAndPlay("frame lab…

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

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