# programming

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

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

**Page:** 1417

---

## [AC\_FL\_RunContent breaks IE 6](https://forum.kirupa.com/t/ac-fl-runcontent-breaks-ie-6/247948)

<div class="topic-metadata">

**Author:** [@kriszti](https://forum.kirupa.com/u/kriszti)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 4:16am UTC](https://forum.kirupa.com/t/ac-fl-runcontent-breaks-ie-6/247948 "2008-01-02T04:16:47Z")

</div>

I've been trying to debug my Flash CS3 app on IE6 all day. My app loads fine if On IE, in Internet Options, under 'Settings', I selected Check for newer versions of stored pages "Every time I visit' -OR- I had to dele…

---

## [Multidimensional arrays?](https://forum.kirupa.com/t/multidimensional-arrays/247947)

<div class="topic-metadata">

**Author:** [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 4:02am UTC](https://forum.kirupa.com/t/multidimensional-arrays/247947 "2008-01-02T04:02:35Z")

</div>

Is it possible to create and sort multidimensional arrays in flash like in PHP? Eg, psedocode... array\[0\] -\> apple, 1.50 array\[1\] -\> orange, 1.80 Then be able to re-sort it by cost or name... Eg, re-sort by cost de…

---

## [Javascript: Applying Style to a Menu Link](https://forum.kirupa.com/t/javascript-applying-style-to-a-menu-link/247943)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 3:44am UTC](https://forum.kirupa.com/t/javascript-applying-style-to-a-menu-link/247943 "2008-01-02T03:44:51Z")

</div>

I'm noticing that if I use Javascript to apply a color to a text link element, all the CSS styles for that text element disappear (hover, visited, etc.). (See the function below for an example). Reapplying the stylesheet…

---

## [Unload clip with a button in the loaded clip](https://forum.kirupa.com/t/unload-clip-with-a-button-in-the-loaded-clip/247942)

<div class="topic-metadata">

**Author:** [@Andreas\_E](https://forum.kirupa.com/u/Andreas_E)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 3:29am UTC](https://forum.kirupa.com/t/unload-clip-with-a-button-in-the-loaded-clip/247942 "2008-01-02T03:29:27Z")

</div>

Hi and thanks everybody for a great forum!:disco: So I want to Unload a clip with a button placed in the loaded clip. First I have this code for my preloader and movieclip loader: var mcl:MovieClipLoader = new Movi…

---

## [Using null in case statements](https://forum.kirupa.com/t/using-null-in-case-statements/247941)

<div class="topic-metadata">

**Author:** [@anon4341189](https://forum.kirupa.com/u/anon4341189)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 3:10am UTC](https://forum.kirupa.com/t/using-null-in-case-statements/247941 "2008-01-02T03:10:51Z")

</div>

Hello all, I currently have the following piece of code: switch (myArray\[0\]){ case null: trace("null case detected"); //does not trace break; case "test": trace("test case detected"); b…

---

## [Using Alpha](https://forum.kirupa.com/t/using-alpha/247939)

<div class="topic-metadata">

**Author:** [@Shadoninja](https://forum.kirupa.com/u/Shadoninja)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 2:26am UTC](https://forum.kirupa.com/t/using-alpha/247939 "2008-01-02T02:26:38Z")

</div>

How do I use alpha controls to make my movie clip fade from 100% opacity to 0% at the end of a shape tween?

---

## [How to prevent caching of swf files?](https://forum.kirupa.com/t/how-to-prevent-caching-of-swf-files/247938)

<div class="topic-metadata">

**Author:** [@adchica](https://forum.kirupa.com/u/adchica)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 2:24am UTC](https://forum.kirupa.com/t/how-to-prevent-caching-of-swf-files/247938 "2008-01-02T02:24:26Z")

</div>

I've searched everywhere for a way to prevent the caching of my swf files. The last thing I tried using is the 'Expires' header and the Pragma no-cache header suggested by Adobe (http://kb.adobe.com/selfservice/viewConte…

---

## [Any Similar Tutorial Like This?](https://forum.kirupa.com/t/any-similar-tutorial-like-this/247937)

<div class="topic-metadata">

**Author:** [@girlgogo](https://forum.kirupa.com/u/girlgogo)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 2:22am UTC](https://forum.kirupa.com/t/any-similar-tutorial-like-this/247937 "2008-01-02T02:22:21Z")

</div>

Hi, I really like this : http://www.procreo.jp/labo/flower\_garden.swf when you click on the screen, the flower will keep come out, and each time differently, is very cute and nice. and i would like to do something …

---

## [\[php\] Could not set cookie in IE7](https://forum.kirupa.com/t/php-could-not-set-cookie-in-ie7/247934)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [January 2, 2008, 12:58am UTC](https://forum.kirupa.com/t/php-could-not-set-cookie-in-ie7/247934 "2008-01-02T00:58:24Z")

</div>

http://levichi.com/v2/ I am using PHP to store cookies which will remember the user's language. Users are also allowed to change their language by clicking their country's flag (circled in pink), and the change will be…

---

## [Simple html xml flash about line break Q](https://forum.kirupa.com/t/simple-html-xml-flash-about-line-break-q/247932)

<div class="topic-metadata">

**Author:** [@function4](https://forum.kirupa.com/u/function4)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 10:35pm UTC](https://forum.kirupa.com/t/simple-html-xml-flash-about-line-break-q/247932 "2008-01-01T22:35:37Z")

</div>

Ok its a longer chain but I'm sure the answer is still very simple. text is entered via php -\> mysql -\> then the database is used to create an xml doc -\> which is then routed to flash... Now, flash reads the html within …

---

## [Flash export to animated gif](https://forum.kirupa.com/t/flash-export-to-animated-gif/247929)

<div class="topic-metadata">

**Author:** [@kevin416](https://forum.kirupa.com/u/kevin416)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 9:37pm UTC](https://forum.kirupa.com/t/flash-export-to-animated-gif/247929 "2008-01-01T21:37:58Z")

</div>

I have made a relatively short movie ( 90 frames ) and am trying to make it an animated gif so that I can attach it to emails. When export it everything looks crisp and smooth except the text looks awful - all pixelated.…

---

## [Moving IDs in SQL](https://forum.kirupa.com/t/moving-ids-in-sql/247928)

<div class="topic-metadata">

**Author:** [@whoist0m](https://forum.kirupa.com/u/whoist0m)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 9:34pm UTC](https://forum.kirupa.com/t/moving-ids-in-sql/247928 "2008-01-01T21:34:05Z")

</div>

After searching google and forums I cant find this solution. I want to insert an Id where one exists but instead of swapping its going to have to ++ to the rest of the ids in front of it? I'm assuming this will be don…

---

## [Problem with addChild in CS3](https://forum.kirupa.com/t/problem-with-addchild-in-cs3/247924)

<div class="topic-metadata">

**Author:** [@MJMason](https://forum.kirupa.com/u/MJMason)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 8:28pm UTC](https://forum.kirupa.com/t/problem-with-addchild-in-cs3/247924 "2008-01-01T20:28:23Z")

</div>

I've just started using AS3 after knowing a tiny bit of AS2, so sorry if this is a noobish question, anyway... Basically when using a foreach loop on an XML document (from the kirupa example) I cannot use addChild when…

---

## [Random Unique](https://forum.kirupa.com/t/random-unique/247922)

<div class="topic-metadata">

**Author:** [@bern494](https://forum.kirupa.com/u/bern494)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 8:22pm UTC](https://forum.kirupa.com/t/random-unique/247922 "2008-01-01T20:22:30Z")

</div>

Hi I am looking for help in develping my new project which involves selecting numbers, both randomly and uniqely. I have on stage 128 dynamic text boxes named myTextField1, myTextField2 etc etc up to 128, and I want to f…

---

## [Flash Gallery with XML trouble](https://forum.kirupa.com/t/flash-gallery-with-xml-trouble/247919)

<div class="topic-metadata">

**Author:** [@welchyboy](https://forum.kirupa.com/u/welchyboy)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 7:11pm UTC](https://forum.kirupa.com/t/flash-gallery-with-xml-trouble/247919 "2008-01-01T19:11:39Z")

</div>

I am making a site with a scrolling photo gallery. The site is located at www.finstofurstaxidermy.com/taxidermy.html I have a scrolling thumbnail gallery that is perfect for me. I am happy with it with one exception. I u…

---

## [Dodgy IE6 Rendering, on browser resize... HALP!](https://forum.kirupa.com/t/dodgy-ie6-rendering-on-browser-resize-halp/247917)

<div class="topic-metadata">

**Author:** [@biznuge](https://forum.kirupa.com/u/biznuge)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 6:50pm UTC](https://forum.kirupa.com/t/dodgy-ie6-rendering-on-browser-resize-halp/247917 "2008-01-01T18:50:32Z")

</div>

™

---

## [Default videoplayer, cant stop autoplay](https://forum.kirupa.com/t/default-videoplayer-cant-stop-autoplay/247914)

<div class="topic-metadata">

**Author:** [@hrbi](https://forum.kirupa.com/u/hrbi)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 4:37pm UTC](https://forum.kirupa.com/t/default-videoplayer-cant-stop-autoplay/247914 "2008-01-01T16:37:45Z")

</div>

Hi folks.. I bought a videoplayer from zebra. I have noticed him regarding my problem, but since he is in the army now, I dont know when i will be hearing from him. So I relay on you guys \[image\] hehe.. My problem is, th…

---

## [Storing items in an inventory](https://forum.kirupa.com/t/storing-items-in-an-inventory/247912)

<div class="topic-metadata">

**Author:** [@yahoom](https://forum.kirupa.com/u/yahoom)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 3:41pm UTC](https://forum.kirupa.com/t/storing-items-in-an-inventory/247912 "2008-01-01T15:41:37Z")

</div>

Hi and happy new year, I'm trying to create an inventory for a point and click style game. I want to click and drag an object into a inventory box to be stored until it's required (however the object is also bigger than …

---

## [Access to parent swf functions](https://forum.kirupa.com/t/access-to-parent-swf-functions/247910)

<div class="topic-metadata">

**Author:** [@Ryebred](https://forum.kirupa.com/u/Ryebred)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 2:30pm UTC](https://forum.kirupa.com/t/access-to-parent-swf-functions/247910 "2008-01-01T14:30:24Z")

</div>

Hello, I was wondering if there was a way to reference methods in the parent movie from the child. The following is a snippet of what i am currently doing Parent AS DocumentClass: Security.allowDomain(domain+"\*")…

---

## [Help with nuke defense game... \[AS2\]](https://forum.kirupa.com/t/help-with-nuke-defense-game-as2/247909)

<div class="topic-metadata">

**Author:** [@fatrabbit](https://forum.kirupa.com/u/fatrabbit)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 1:02pm UTC](https://forum.kirupa.com/t/help-with-nuke-defense-game-as2/247909 "2008-01-01T13:02:22Z")

</div>

Hey, I'm creating a game whereby the user has to defend the USA from nuke attack. What they have to do is use either the UP, DOWN, LEFT, RIGHT arrow keys at the right time (when prompted) to destroy the incoming nuke. …

---

## [Disjointed Rollover in Flash - Newbie](https://forum.kirupa.com/t/disjointed-rollover-in-flash-newbie/247908)

<div class="topic-metadata">

**Author:** [@nige1980](https://forum.kirupa.com/u/nige1980)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 1:01pm UTC](https://forum.kirupa.com/t/disjointed-rollover-in-flash-newbie/247908 "2008-01-01T13:01:51Z")

</div>

Just started trying to learn flash and I've been asked by a friend to do some work on his website. The site can be seen here http://www.bandits-rugby.co.uk/fitness\_lounge/index.html The 6 images in the header are an …

---

## [\[F8\]-Problem in Selection.setFocus('inputtextName') when return from Fullscreen mode](https://forum.kirupa.com/t/f8-problem-in-selection-setfocus-inputtextname-when-return-from-fullscreen-mode/247907)

<div class="topic-metadata">

**Author:** [@vikasr](https://forum.kirupa.com/u/vikasr)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 10:18am UTC](https://forum.kirupa.com/t/f8-problem-in-selection-setfocus-inputtextname-when-return-from-fullscreen-mode/247907 "2008-01-01T10:18:59Z")

</div>

Hi all, I am bit confused with Selection.setFocus('inputtextName') method. It works fine when the movie is in normal mode (it selects the text in the textfield if any, and put keyboard focus to that text field so that …

---

## [JavaScript 'SuperMenu'?](https://forum.kirupa.com/t/javascript-supermenu/247906)

<div class="topic-metadata">

**Author:** [@aiyou](https://forum.kirupa.com/u/aiyou)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 7:26am UTC](https://forum.kirupa.com/t/javascript-supermenu/247906 "2008-01-01T07:26:38Z")

</div>

Hello. Please forgive me - I'm really new to PHP, and even newer still to JavaScript. I've done some looking around this forum, but have been unable to find something to address my needs - perhaps not using the correct…

---

## [Custom Context Menus in nested movieclips](https://forum.kirupa.com/t/custom-context-menus-in-nested-movieclips/247902)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 1:50am UTC](https://forum.kirupa.com/t/custom-context-menus-in-nested-movieclips/247902 "2008-01-01T01:50:10Z")

</div>

The ability to add custom context menus to nested movieclip has supposedly been fixed in Flash 8, but for some reason it just isn't working for me. Is there something that I am missing here: for(var i=0; i\<100; i++){ …

---

## [.php Used On Unix Server?](https://forum.kirupa.com/t/php-used-on-unix-server/247901)

<div class="topic-metadata">

**Author:** [@fudgealtoid](https://forum.kirupa.com/u/fudgealtoid)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 1:02am UTC](https://forum.kirupa.com/t/php-used-on-unix-server/247901 "2008-01-01T01:02:45Z")

</div>

I have a flash form collecting data and sends variables in form movieclip (the textfields) to email PHP page which will send the mail on UNIX server. No content email is received at mailto address? Do .php and UNIX not…

---

## [Help with a movieclip loading to wide please](https://forum.kirupa.com/t/help-with-a-movieclip-loading-to-wide-please/247900)

<div class="topic-metadata">

**Author:** [@matt\_nz](https://forum.kirupa.com/u/matt_nz)\
**Replies:** 0\
**Last updated:** [January 1, 2008, 12:58am UTC](https://forum.kirupa.com/t/help-with-a-movieclip-loading-to-wide-please/247900 "2008-01-01T00:58:21Z")

</div>

Hi I have a container\_ mc that is 560x320wide. I have a "About Us" button beside it with this code in my actionscript file: root.aboutbtn.onRelease = function() { root.loadermc.\_visi…

---

## [How would i do this...? \[php\]/\[mysql\]](https://forum.kirupa.com/t/how-would-i-do-this-php-mysql/247898)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [December 31, 2007, 11:49pm UTC](https://forum.kirupa.com/t/how-would-i-do-this-php-mysql/247898 "2007-12-31T23:49:40Z")

</div>

Ok, im trying to make my footer use a mysql database instead of a text file... but im having some problems... I am using the code to get the mysql data: $dbhost = 'localhost'; $dbuser = 'designs1'; $dbpass = '\*\*\*\*\*…

---

## [Splitting a string with regex](https://forum.kirupa.com/t/splitting-a-string-with-regex/247897)

<div class="topic-metadata">

**Author:** [@anon4341189](https://forum.kirupa.com/u/anon4341189)\
**Replies:** 0\
**Last updated:** [December 31, 2007, 11:48pm UTC](https://forum.kirupa.com/t/splitting-a-string-with-regex/247897 "2007-12-31T23:48:37Z")

</div>

Hi all, I have the following string: /string1/string2/string3/ I'd like to explode the string into the array stringArray like so: stringArray\[0\] = string1 stringArray\[1\] = string2 stringArray\[2\] = string3 C…

---

## [Dynamic Moviclip event Handlers](https://forum.kirupa.com/t/dynamic-moviclip-event-handlers/247896)

<div class="topic-metadata">

**Author:** [@joefloggs](https://forum.kirupa.com/u/joefloggs)\
**Replies:** 0\
**Last updated:** [December 31, 2007, 11:33pm UTC](https://forum.kirupa.com/t/dynamic-moviclip-event-handlers/247896 "2007-12-31T23:33:48Z")

</div>

Apologies if this has been covered, in truth i have no idea what I would even search to find the answer. Many thanks in advance. Oh and I realise its new years eve, just keeping busy lol! My question is this. I'm de…

---

## [Movie Clip Preloader](https://forum.kirupa.com/t/movie-clip-preloader/247893)

<div class="topic-metadata">

**Author:** [@Arkman](https://forum.kirupa.com/u/Arkman)\
**Replies:** 0\
**Last updated:** [December 31, 2007, 9:49pm UTC](https://forum.kirupa.com/t/movie-clip-preloader/247893 "2007-12-31T21:49:49Z")

</div>

I am working on making a preloader that plays a movie clip as it loads. Its basically a movie of an old school elevator that has the pointer going down as the elevator goes down. I want to use that as my preloader, but…

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

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