# programming

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

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

**Page:** 897

---

## [Best way to output array?](https://forum.kirupa.com/t/best-way-to-output-array/283328)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 11:31pm UTC](https://forum.kirupa.com/t/best-way-to-output-array/283328 "2009-03-04T23:31:19Z")

</div>

What would be the best way to output a multidimensional array so that later on I could input it (through user input) and it won't be to hard to read it?

---

## [Problem with opening HTML in frame](https://forum.kirupa.com/t/problem-with-opening-html-in-frame/283325)

<div class="topic-metadata">

**Author:** [@rlbaris](https://forum.kirupa.com/u/rlbaris)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 10:34pm UTC](https://forum.kirupa.com/t/problem-with-opening-html-in-frame/283325 "2009-03-04T22:34:02Z")

</div>

Hi, I made a navigation movie clip with buttons, whom I want to be set in one frame- so the navigation MC will stand still while the contents body will change in another frame. In AS 2 it's easy- just add the frame n…

---

## [Losing first item in msql array](https://forum.kirupa.com/t/losing-first-item-in-msql-array/283324)

<div class="topic-metadata">

**Author:** [@madfatter](https://forum.kirupa.com/u/madfatter)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 10:32pm UTC](https://forum.kirupa.com/t/losing-first-item-in-msql-array/283324 "2009-03-04T22:32:13Z")

</div>

I'm trying to write xml to a page to be read by flash from a mysql database. Everything worked fine until I added an if statement to print something different if there was no data from the query. If I apply the test o…

---

## [Sending data to Database on form submit Issue](https://forum.kirupa.com/t/sending-data-to-database-on-form-submit-issue/283322)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 10:18pm UTC](https://forum.kirupa.com/t/sending-data-to-database-on-form-submit-issue/283322 "2009-03-04T22:18:32Z")

</div>

Hey All, I have a Flash form that when submitted, the data goes to my email address. That's working fine, however, I'm trying to send the data to my database as well. It appears that I'm missing something, here is w…

---

## [XML text to dynamic MC](https://forum.kirupa.com/t/xml-text-to-dynamic-mc/283321)

<div class="topic-metadata">

**Author:** [@trick](https://forum.kirupa.com/u/trick)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 10:15pm UTC](https://forum.kirupa.com/t/xml-text-to-dynamic-mc/283321 "2009-03-04T22:15:29Z")

</div>

Hi! I've searched and was unable to find a solution to this (probably very simple) problem I'm having. I'm loading an XML file and looping through it to generate movie clips for each of the main nodes. Each node has s…

---

## [Bitmaps & Event Listeners?](https://forum.kirupa.com/t/bitmaps-event-listeners/283320)

<div class="topic-metadata">

**Author:** [@michdd](https://forum.kirupa.com/u/michdd)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 10:06pm UTC](https://forum.kirupa.com/t/bitmaps-event-listeners/283320 "2009-03-04T22:06:54Z")

</div>

Can you put event listeners on bitmaps? Because the current project that I'm working on requires a lot of separate objects which are currently MovieClips, and because there can be several hundred, it causes the app to la…

---

## [SEO - Deeplinking](https://forum.kirupa.com/t/seo-deeplinking/283318)

<div class="topic-metadata">

**Author:** [@wheatleyweb](https://forum.kirupa.com/u/wheatleyweb)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 9:26pm UTC](https://forum.kirupa.com/t/seo-deeplinking/283318 "2009-03-04T21:26:03Z")

</div>

Hello all, OK. I'm one of those archaic designers still using MX2004. Its the only copy I have and I find that I don't do enough Flash work anymore to justify buying a newer version. So a problem has arisen that is …

---

## [2 Rollovers on top of each other](https://forum.kirupa.com/t/2-rollovers-on-top-of-each-other/283317)

<div class="topic-metadata">

**Author:** [@briand5](https://forum.kirupa.com/u/briand5)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 9:07pm UTC](https://forum.kirupa.com/t/2-rollovers-on-top-of-each-other/283317 "2009-03-04T21:07:07Z")

</div>

Hi, I have a bbq grill animated in flash that opens and closes on rollover and rollout. When the grill opens there are hamburgers and hotdogs. When you rollover the hamburgers and hotdogs a hover menu opens but this caus…

---

## [MC button inside MC not responding?!](https://forum.kirupa.com/t/mc-button-inside-mc-not-responding/283315)

<div class="topic-metadata">

**Author:** [@oh\_elle](https://forum.kirupa.com/u/oh_elle)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 9:02pm UTC](https://forum.kirupa.com/t/mc-button-inside-mc-not-responding/283315 "2009-03-04T21:02:32Z")

</div>

Hi guys, I know a few people have had problems with this but none of them seem to be in the same situation as me. I have a navigation bar that slides out when it is rolled over, therefore it is a MOVIE CLIP (instance n…

---

## [CSS top horizontal banner](https://forum.kirupa.com/t/css-top-horizontal-banner/283314)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 9:01pm UTC](https://forum.kirupa.com/t/css-top-horizontal-banner/283314 "2009-03-04T21:01:13Z")

</div>

I suck at CSS. I've been trying to place a top horizontal banner on one of my Websites: www.tutorialremix.com but every time I try it. div's mess up. the name of the site goes down, or the links at the right move. i j…

---

## [Combining script source calls](https://forum.kirupa.com/t/combining-script-source-calls/283313)

<div class="topic-metadata">

**Author:** [@ganessian](https://forum.kirupa.com/u/ganessian)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 8:53pm UTC](https://forum.kirupa.com/t/combining-script-source-calls/283313 "2009-03-04T20:53:50Z")

</div>

got it handled \[smile\]

---

## [removeChild() before addChild()?](https://forum.kirupa.com/t/removechild-before-addchild/283312)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 8:49pm UTC](https://forum.kirupa.com/t/removechild-before-addchild/283312 "2009-03-04T20:49:57Z")

</div>

Hi all. I have a flash movie where I'm trying to load movies to the stage from it's library. I've been able to successfully do this, but how can I test if the movie is already on the stage? Right now, I click a button…

---

## [Changing a movie clip's local variables](https://forum.kirupa.com/t/changing-a-movie-clips-local-variables/283311)

<div class="topic-metadata">

**Author:** [@amandaC](https://forum.kirupa.com/u/amandaC)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 8:30pm UTC](https://forum.kirupa.com/t/changing-a-movie-clips-local-variables/283311 "2009-03-04T20:30:22Z")

</div>

Hi all, I'm working on a particle system, where each single particle is represented by a movie clip and has it's own behaviors, defined in the movie clip's code in a separate layer from the image. The particle creates…

---

## [Tween "blinking"](https://forum.kirupa.com/t/tween-blinking/283308)

<div class="topic-metadata">

**Author:** [@Black\_Drazon](https://forum.kirupa.com/u/Black_Drazon)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 7:08pm UTC](https://forum.kirupa.com/t/tween-blinking/283308 "2009-03-04T19:08:35Z")

</div>

This is driving me absolutely batty. The idea is that when the user clicks on a certain MovieClip, the object (let's call it "Person") should tween to a specific point (to the left of the movie clip, to be specific). B…

---

## [Compiling AS3 code to an an exe in Flash](https://forum.kirupa.com/t/compiling-as3-code-to-an-an-exe-in-flash/283307)

<div class="topic-metadata">

**Author:** [@keithsink](https://forum.kirupa.com/u/keithsink)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 6:41pm UTC](https://forum.kirupa.com/t/compiling-as3-code-to-an-an-exe-in-flash/283307 "2009-03-04T18:41:34Z")

</div>

Hi all, I appologize in advance if this is an easy question, but I can't find the information I need. I'm a new Actionscript user. I'm writing an AS3 game in Flash Developer and I have Flash CS4 as well. I like the e…

---

## [CSS book recommendations?](https://forum.kirupa.com/t/css-book-recommendations/283306)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 6:20pm UTC](https://forum.kirupa.com/t/css-book-recommendations/283306 "2009-03-04T18:20:27Z")

</div>

I'm soooo sick and tired of tweaking and playing with CSS to acomodate all browsers. When I learned CSS i just went through some online tutorials and learned what does what. But when I try sometimes something like marg…

---

## [Navigating from MC back to Scene 1](https://forum.kirupa.com/t/navigating-from-mc-back-to-scene-1/283301)

<div class="topic-metadata">

**Author:** [@txnyriny](https://forum.kirupa.com/u/txnyriny)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 5:43pm UTC](https://forum.kirupa.com/t/navigating-from-mc-back-to-scene-1/283301 "2009-03-04T17:43:19Z")

</div>

Hi All: This has got to be really simple. I've got a scrolldown menu and want a button w/in that MC to point back to a frame in Scene 1 on the main timeline. How would I do that? I tried the following code but it do…

---

## [What would you suggest for this idea and is it easy to do?](https://forum.kirupa.com/t/what-would-you-suggest-for-this-idea-and-is-it-easy-to-do/283300)

<div class="topic-metadata">

**Author:** [@Frey](https://forum.kirupa.com/u/Frey)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 5:30pm UTC](https://forum.kirupa.com/t/what-would-you-suggest-for-this-idea-and-is-it-easy-to-do/283300 "2009-03-04T17:30:36Z")

</div>

Basically is it easy in AS3.0 to make a tool that does this. It would be in a minisite: I want it so users can input string data (as in sentences, messages kinda thing - I guess here I'd user dynamic text boxes ) and a…

---

## [AS3 Movieclip always on top!](https://forum.kirupa.com/t/as3-movieclip-always-on-top/283299)

<div class="topic-metadata">

**Author:** [@artheus](https://forum.kirupa.com/u/artheus)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 5:21pm UTC](https://forum.kirupa.com/t/as3-movieclip-always-on-top/283299 "2009-03-04T17:21:23Z")

</div>

Hey! I've been trying a while now making a cursor in AS3 that stays on top all the time.. But it's hard.. cursor = the cursor MovieClip. Mouse.hide(); cursor.addEventListener(Event.ENTER\_FRAME, cursorEvent); fun…

---

## [What Server Technology?](https://forum.kirupa.com/t/what-server-technology/283298)

<div class="topic-metadata">

**Author:** [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 5:21pm UTC](https://forum.kirupa.com/t/what-server-technology/283298 "2009-03-04T17:21:00Z")

</div>

Hi all, I recently decided i am ok at Actionscript 3, well good enough to move on with some other stuff. I am looking for a role as an Actionscript Developer so its time for me to hit some applications using the Serv…

---

## [Adding numbers to a total](https://forum.kirupa.com/t/adding-numbers-to-a-total/283296)

<div class="topic-metadata">

**Author:** [@annonse](https://forum.kirupa.com/u/annonse)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 4:07pm UTC](https://forum.kirupa.com/t/adding-numbers-to-a-total/283296 "2009-03-04T16:07:33Z")

</div>

Hello Kirupa! For a long time I've used the free tutorials on this website; thanks alot for sharing top notch tuts to us deadly! \[smile\] Disclaimer: I'm a total newbie when it comes to the actionscript-skills needed to…

---

## [I've Joined the Fun!](https://forum.kirupa.com/t/ive-joined-the-fun/283295)

<div class="topic-metadata">

**Author:** [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 3:57pm UTC](https://forum.kirupa.com/t/ive-joined-the-fun/283295 "2009-03-04T15:57:09Z")

</div>

I finally made the plunge and bought CS4. This time, I got all the After Effects/Video Production stuff as well. Seems like video is getting bigger and bigger on the web every day. Anyone see any cool things that wer…

---

## [Linking to a certain frame when loading a swf](https://forum.kirupa.com/t/linking-to-a-certain-frame-when-loading-a-swf/283293)

<div class="topic-metadata">

**Author:** [@Vanilla](https://forum.kirupa.com/u/Vanilla)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 3:53pm UTC](https://forum.kirupa.com/t/linking-to-a-certain-frame-when-loading-a-swf/283293 "2009-03-04T15:53:04Z")

</div>

\[FONT=Arial\] I need some urgent help with linking in Flash. I have a main movie in which all my buttons are, this movie loads the other swfs in a contentHolder movie clip. Now the problem is that I need to link to a c…

---

## [Jquery tabs](https://forum.kirupa.com/t/jquery-tabs/283292)

<div class="topic-metadata">

**Author:** [@dharten](https://forum.kirupa.com/u/dharten)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 3:47pm UTC](https://forum.kirupa.com/t/jquery-tabs/283292 "2009-03-04T15:47:27Z")

</div>

Hi I have tabs and the contents are in divs which work fine but I want the content in the div to be scrollable. So I set all the divs to \<div id=#tabs-1" style="height:200px; overflow:scroll"\> and it works when the page…

---

## [Button in a Movie Clip - Maintaining the rollover state](https://forum.kirupa.com/t/button-in-a-movie-clip-maintaining-the-rollover-state/283290)

<div class="topic-metadata">

**Author:** [@jdamon78](https://forum.kirupa.com/u/jdamon78)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 3:28pm UTC](https://forum.kirupa.com/t/button-in-a-movie-clip-maintaining-the-rollover-state/283290 "2009-03-04T15:28:54Z")

</div>

I'm trying to highlight the current 'page' / movieclip by showing the onrollover state in navigation display/button. So the colour remains the onrollover state (in this case blue) while the particular movie clip/'page…

---

## [New To AS3 - I might be dense](https://forum.kirupa.com/t/new-to-as3-i-might-be-dense/283289)

<div class="topic-metadata">

**Author:** [@HalfDog](https://forum.kirupa.com/u/HalfDog)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 3:21pm UTC](https://forum.kirupa.com/t/new-to-as3-i-might-be-dense/283289 "2009-03-04T15:21:19Z")

</div>

Ok so I have bought books and watched hours of tutorials and its painfully obvious that I am not picking AS3 (or any scripting) up very well. I am creating a Flash Portfolio site and I am curious about the correct arc…

---

## [Quiz problem/question](https://forum.kirupa.com/t/quiz-problem-question/283286)

<div class="topic-metadata">

**Author:** [@tic](https://forum.kirupa.com/u/tic)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 3:03pm UTC](https://forum.kirupa.com/t/quiz-problem-question/283286 "2009-03-04T15:03:09Z")

</div>

Hi, I'm making a quiz. But i'm having a bit of a problem. I want the answers to go to a random position. It works for a 2 answers. But now i want to make it have 4 answers. package { import flash.display.Sprite; …

---

## [AS2 \_root XML load problem](https://forum.kirupa.com/t/as2--root-xml-load-problem/283283)

<div class="topic-metadata">

**Author:** [@lisa\_k](https://forum.kirupa.com/u/lisa_k)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 2:20pm UTC](https://forum.kirupa.com/t/as2--root-xml-load-problem/283283 "2009-03-04T14:20:20Z")

</div>

Hello everyone, I have a problem with a news component that loads data from an XML file and it works perfectly well on its own, but when I use it in my existing project (insert it in the main movie clip), text doesn’t sh…

---

## [AS2: randomizing location of movieclips](https://forum.kirupa.com/t/as2-randomizing-location-of-movieclips/283282)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 2:17pm UTC](https://forum.kirupa.com/t/as2-randomizing-location-of-movieclips/283282 "2009-03-04T14:17:46Z")

</div>

I have 7 movieclips that form a line down the stage like so: Movieclip 1 Movieclip 2 Movieclip 3 I need it so that when a button is pressed is randomizes the order in which they are shown for example it could be: M…

---

## [Convert DOC and XLS to PDF](https://forum.kirupa.com/t/convert-doc-and-xls-to-pdf/283281)

<div class="topic-metadata">

**Author:** [@corr](https://forum.kirupa.com/u/corr)\
**Replies:** 0\
**Last updated:** [March 4, 2009, 1:31pm UTC](https://forum.kirupa.com/t/convert-doc-and-xls-to-pdf/283281 "2009-03-04T13:31:59Z")

</div>

My team came across a new solution which allow conversion of ms office formats, especially doc and xls to pdf. Solution is provided by this guy on this page: DOC to PDF with Java How it works: \*\*\[COLOR=#eb2e32\]Java C…

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

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