# programming

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

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

**Page:** 1781

---

## [\[HELP\] RPG formulas](https://forum.kirupa.com/t/help-rpg-formulas/221607)

<div class="topic-metadata">

**Author:** [@Neverbirth](https://forum.kirupa.com/u/Neverbirth)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 4:20pm UTC](https://forum.kirupa.com/t/help-rpg-formulas/221607 "2007-04-05T16:20:25Z")

</div>

Hi everyone, I'm currently working on a turn-based RPG. This is not only my first serious game, but it's my first RPG game as well (no, this is not the typical situation of the newbie programmer dream heh, and every pers…

---

## [Need help using \_level script for pages](https://forum.kirupa.com/t/need-help-using--level-script-for-pages/221604)

<div class="topic-metadata">

**Author:** [@designursite](https://forum.kirupa.com/u/designursite)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 3:52pm UTC](https://forum.kirupa.com/t/need-help-using--level-script-for-pages/221604 "2007-04-05T15:52:15Z")

</div>

Hi, I have attached a zip file which has a main.fla and a folder pages which contains 2 fla's p1.fla and p2.fla The main page loads the first page which is p1 and as the main page has 2 buttons i am using \_level scri…

---

## [ASP.NET page shows source code in browser instead of GUI](https://forum.kirupa.com/t/asp-net-page-shows-source-code-in-browser-instead-of-gui/221600)

<div class="topic-metadata">

**Author:** [@Toiletfreak](https://forum.kirupa.com/u/Toiletfreak)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 3:23pm UTC](https://forum.kirupa.com/t/asp-net-page-shows-source-code-in-browser-instead-of-gui/221600 "2007-04-05T15:23:50Z")

</div>

hi, Noob to ASP.NET here... Why does my browser show the source code for the webpage instead of the page itself? Does this mean that my host does not support asp.net? Help appreciated! =) p.s. the URL is http://www…

---

## [Fighting Game:Character change](https://forum.kirupa.com/t/fighting-game-character-change/221596)

<div class="topic-metadata">

**Author:** [@drew2516](https://forum.kirupa.com/u/drew2516)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 2:53pm UTC](https://forum.kirupa.com/t/fighting-game-character-change/221596 "2007-04-05T14:53:21Z")

</div>

HI i have recently been working on a 2 player fighting game but have encountered a problem. I want to make it so that there are two characters to choose from but i dont know how to do that without making the fight over …

---

## [Css image rollover, NO LINE BREAK PLEASE?](https://forum.kirupa.com/t/css-image-rollover-no-line-break-please/221589)

<div class="topic-metadata">

**Author:** [@Luggruff](https://forum.kirupa.com/u/Luggruff)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 2:06pm UTC](https://forum.kirupa.com/t/css-image-rollover-no-line-break-please/221589 "2007-04-05T14:06:26Z")

</div>

The tutorial: http://www.kirupa.com/css/css\_rollovers.htm The issue: Display:Block ..I know display block creates a linebreak before and after the image, I tried the \*inline \*propertyp, only when I do that, the image…

---

## [\[AS3\] Styling htmlText in TextArea](https://forum.kirupa.com/t/as3-styling-htmltext-in-textarea/221586)

<div class="topic-metadata">

**Author:** [@pete\_zahut](https://forum.kirupa.com/u/pete_zahut)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 1:20pm UTC](https://forum.kirupa.com/t/as3-styling-htmltext-in-textarea/221586 "2007-04-05T13:20:45Z")

</div>

Hi, How can I style my html content of a TextArea? I tried it like this but it keeps throwing errors: var h1:Object = new Object(); h1.fontFamily = "DistrictThin"; h1.color = "#FFCC00"; h1.fontSize = 30; h1.leading …

---

## [Removing click to activate?!?!](https://forum.kirupa.com/t/removing-click-to-activate/221583)

<div class="topic-metadata">

**Author:** [@akphotography](https://forum.kirupa.com/u/akphotography)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 1:08pm UTC](https://forum.kirupa.com/t/removing-click-to-activate/221583 "2007-04-05T13:08:49Z")

</div>

how do i remove the click to activate feature in IE??

---

## [Preloader for This Kirupa File](https://forum.kirupa.com/t/preloader-for-this-kirupa-file/221582)

<div class="topic-metadata">

**Author:** [@FastFlasher2007](https://forum.kirupa.com/u/FastFlasher2007)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 1:02pm UTC](https://forum.kirupa.com/t/preloader-for-this-kirupa-file/221582 "2007-04-05T13:02:53Z")

</div>

I'm trying to get the preloader to work with this file I downloadd from Kirupa.com ...it's the transition effect for swf files. i need a prelloader .. an assitance around? Thanks. Here's the files I need the preloader f…

---

## [\[AS3\] dragging and getting roll over events](https://forum.kirupa.com/t/as3-dragging-and-getting-roll-over-events/221595)

<div class="topic-metadata">

**Author:** [@amitm](https://forum.kirupa.com/u/amitm)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 12:53pm UTC](https://forum.kirupa.com/t/as3-dragging-and-getting-roll-over-events/221595 "2007-04-05T12:53:54Z")

</div>

Hi Senocular, I am into similar type of problem. I need to drag one movieclip which is in centre of the mouse pointer. Hence none of my stage elements are getting rollover or roll out events. I have declared this.ad…

---

## [Exporting/Importing .mov files](https://forum.kirupa.com/t/exporting-importing-mov-files/221579)

<div class="topic-metadata">

**Author:** [@jensendesigned](https://forum.kirupa.com/u/jensendesigned)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 12:31pm UTC](https://forum.kirupa.com/t/exporting-importing-mov-files/221579 "2007-04-05T12:31:59Z")

</div>

Hey, I'm trying to Export to an .mov file from flash 8, so that I can Import it and "progressively download it from a web server" to make the file play better (and the same) on each computer. When I play it straight f…

---

## [CSS Expandable area pushing the footer down](https://forum.kirupa.com/t/css-expandable-area-pushing-the-footer-down/221577)

<div class="topic-metadata">

**Author:** [@bernardocw](https://forum.kirupa.com/u/bernardocw)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 11:55am UTC](https://forum.kirupa.com/t/css-expandable-area-pushing-the-footer-down/221577 "2007-04-05T11:55:41Z")

</div>

hi all, I am using the fpllowing simple CSS code for an expandable text area: http://www.dynamicdrive.com/dynamicindex1/navigate1.htm Problem is, all the text in each expandable area is pushing my page Footer down, …

---

## [Vertical scrolling menu](https://forum.kirupa.com/t/vertical-scrolling-menu/221575)

<div class="topic-metadata">

**Author:** [@rajeshambady](https://forum.kirupa.com/u/rajeshambady)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 10:44am UTC](https://forum.kirupa.com/t/vertical-scrolling-menu/221575 "2007-04-05T10:44:35Z")

</div>

Hi, I got this scrolling menu from flash kit. I want to modify it. Now in this movie the scrolling is working when the mouse is on any position on the stage. I need the scrolling only when the mouse is over the menu…

---

## [Calculate an Expiry Date in PHP](https://forum.kirupa.com/t/calculate-an-expiry-date-in-php/221574)

<div class="topic-metadata">

**Author:** [@onemhunki](https://forum.kirupa.com/u/onemhunki)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 10:43am UTC](https://forum.kirupa.com/t/calculate-an-expiry-date-in-php/221574 "2007-04-05T10:43:48Z")

</div>

Hi folks, have the following in a script if(eregi('3', $member\_level)) { $months = 3; }elseif(eregi('6', $member\_level)) { $months = 6; }elseif(eregi('12', $member\_level)) { $months = 12; } $date\_joined = $row\['date\_j…

---

## [mp3 player mobile](https://forum.kirupa.com/t/mp3-player-mobile/221573)

<div class="topic-metadata">

**Author:** [@nomans](https://forum.kirupa.com/u/nomans)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 10:39am UTC](https://forum.kirupa.com/t/mp3-player-mobile/221573 "2007-04-05T10:39:46Z")

</div>

Is it possible to make a usable mp3 player for flash 4 or 5? it should have a editable playlist and regular buttons stop,play... This is just an idea not sure if it actually can work on a symbian or uiq based phones us…

---

## [Tile system, bmp?](https://forum.kirupa.com/t/tile-system-bmp/221567)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 9:31am UTC](https://forum.kirupa.com/t/tile-system-bmp/221567 "2007-04-05T09:31:01Z")

</div>

In moste case, you use a movieclip to put tiles in - for a tile based game. I have too much tiles, so it would be a hard work splitting them all from the gif and put them in a frame. So, could I use bitmapdata or somethi…

---

## [\[as3\] Event Propagation Issue on Stage](https://forum.kirupa.com/t/as3-event-propagation-issue-on-stage/221562)

<div class="topic-metadata">

**Author:** [@rjewson](https://forum.kirupa.com/u/rjewson)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 8:15am UTC](https://forum.kirupa.com/t/as3-event-propagation-issue-on-stage/221562 "2007-04-05T08:15:52Z")

</div>

Lets say I have two sprites on the stage added with: DisplayObjectContainer( root ).addChild( sprite1 ); DisplayObjectContainer( root ).addChild( sprite2 ); If I dispatch an event within sprite1, sprite2 doesn't rece…

---

## [Conditional operators "? :"](https://forum.kirupa.com/t/conditional-operators/221560)

<div class="topic-metadata">

**Author:** [@Flashkiddy](https://forum.kirupa.com/u/Flashkiddy)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 7:40am UTC](https://forum.kirupa.com/t/conditional-operators/221560 "2007-04-05T07:40:41Z")

</div>

Hi there! I just ran into this little problem which is pretty superficial, but i simply dont know the answer to it. I want to replace several simple 'if' statements with conditional operators (? : ), but there is no ELSE…

---

## [copyPixel text printer](https://forum.kirupa.com/t/copypixel-text-printer/221559)

<div class="topic-metadata">

**Author:** [@musashi9](https://forum.kirupa.com/u/musashi9)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 7:37am UTC](https://forum.kirupa.com/t/copypixel-text-printer/221559 "2007-04-05T07:37:00Z")

</div>

I was wondering if it would be possible to use copyPixel to create a simple text printer for example you have a font as an image like this http://www.mn001c7645.pwp.blueyonder.co.uk/knight6.gif then have some code that…

---

## [DisplayObject -\> byteArray](https://forum.kirupa.com/t/displayobject-bytearray/221557)

<div class="topic-metadata">

**Author:** [@mooska](https://forum.kirupa.com/u/mooska)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 7:12am UTC](https://forum.kirupa.com/t/displayobject-bytearray/221557 "2007-04-05T07:12:21Z")

</div>

Is there any way to convert any displayObject to ByteArray ? I can of course iterate through pixels, but thats not what i was thinking about, I would like to write ie MovieClip into ByteArray, and then read it back as i…

---

## [Loading a sound externally](https://forum.kirupa.com/t/loading-a-sound-externally/221548)

<div class="topic-metadata">

**Author:** [@dr\_dave](https://forum.kirupa.com/u/dr_dave)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 2:00am UTC](https://forum.kirupa.com/t/loading-a-sound-externally/221548 "2007-04-05T02:00:58Z")

</div>

Hello I have a sound that I am using with Flash 8 which plays fine using my play/stop button but I will like to know how to load the sound externally instead. Any help appreciated. Thanks Dave

---

## [Resources](https://forum.kirupa.com/t/resources/221547)

<div class="topic-metadata">

**Author:** [@killabill4364](https://forum.kirupa.com/u/killabill4364)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 1:49am UTC](https://forum.kirupa.com/t/resources/221547 "2007-04-05T01:49:16Z")

</div>

\[FONT=Arial\]Where can I get some resources?? As in, for example, say, people; people that I can use to make a little animated movie with. I am very poor at drawing in Flash, and Fireworks too for that matter, but I feel…

---

## [AS2 creating objects in a for loop](https://forum.kirupa.com/t/as2-creating-objects-in-a-for-loop/221543)

<div class="topic-metadata">

**Author:** [@ajcates](https://forum.kirupa.com/u/ajcates)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 1:21am UTC](https://forum.kirupa.com/t/as2-creating-objects-in-a-for-loop/221543 "2007-04-05T01:21:45Z")

</div>

This piece of code gives me an error because i have an equation on the left side of the equal sign, logically it makes sense, but flash doesn't like the code how would i do some thing like this? for (i=1; i\<=10; i++) …

---

## [Using loadMovie()](https://forum.kirupa.com/t/using-loadmovie/221542)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 12:23am UTC](https://forum.kirupa.com/t/using-loadmovie/221542 "2007-04-05T00:23:42Z")

</div>

I'm trying to dynamically add thumbnails to my image gallery from an xml file. I'm trying to use loadMovie() to do it since none of these images are in my library. The problem is that when I load the image into my empt…

---

## [Xpath.class.php (help on php XPATH)](https://forum.kirupa.com/t/xpath-class-php-help-on-php-xpath/221540)

<div class="topic-metadata">

**Author:** [@joran420](https://forum.kirupa.com/u/joran420)\
**Replies:** 0\
**Last updated:** [April 5, 2007, 12:04am UTC](https://forum.kirupa.com/t/xpath-class-php-help-on-php-xpath/221540 "2007-04-05T00:04:58Z")

</div>

im using the XPath.class.php Xpath class for php If figured out how to select a single data item...but how do i select multiple nodes \<xml\> \<news\> \<headline\>headline1\</headline\> \<content\>this is …

---

## [Loading multiple movies with keystrokes](https://forum.kirupa.com/t/loading-multiple-movies-with-keystrokes/221532)

<div class="topic-metadata">

**Author:** [@mpr](https://forum.kirupa.com/u/mpr)\
**Replies:** 0\
**Last updated:** [April 4, 2007, 11:11pm UTC](https://forum.kirupa.com/t/loading-multiple-movies-with-keystrokes/221532 "2007-04-04T23:11:16Z")

</div>

I have a movie with a blank mc on the stage. I have it set up so that when you press the RIGHT keyboard key it loads another movie in that mc. Here's the code for that: stop(); this.onKeyDown = function() { if (K…

---

## [Controlling the order of loading objects](https://forum.kirupa.com/t/controlling-the-order-of-loading-objects/221529)

<div class="topic-metadata">

**Author:** [@steresa](https://forum.kirupa.com/u/steresa)\
**Replies:** 0\
**Last updated:** [April 4, 2007, 10:37pm UTC](https://forum.kirupa.com/t/controlling-the-order-of-loading-objects/221529 "2007-04-04T22:37:30Z")

</div>

I created a simple HTML pg that has some text on it and two swf files embeded into the pg. The first swf file is a very short animation of my logo and the other swf file contains a video in it. The problem that I am havi…

---

## [Help Needed with List component Please](https://forum.kirupa.com/t/help-needed-with-list-component-please/221528)

<div class="topic-metadata">

**Author:** [@PrinceTaj](https://forum.kirupa.com/u/PrinceTaj)\
**Replies:** 0\
**Last updated:** [April 4, 2007, 10:20pm UTC](https://forum.kirupa.com/t/help-needed-with-list-component-please/221528 "2007-04-04T22:20:30Z")

</div>

Hi Guys I am fairly new to Flash/Actionscript and would like some help with the list component. What I would like to do, is populate the component with small movie clips that represent icons. Then I would like to make …

---

## [Scrolling external SWF without ScrollPane](https://forum.kirupa.com/t/scrolling-external-swf-without-scrollpane/221527)

<div class="topic-metadata">

**Author:** [@vanitygeek](https://forum.kirupa.com/u/vanitygeek)\
**Replies:** 0\
**Last updated:** [April 4, 2007, 10:19pm UTC](https://forum.kirupa.com/t/scrolling-external-swf-without-scrollpane/221527 "2007-04-04T22:19:16Z")

</div>

hello. i am creating a flash website. the content will be created in 10 external SWF files per section, and these external SWF files will be loaded into the index movie. i was able to use the tutorials on this site to…

---

## [Advanced Tweening Effects](https://forum.kirupa.com/t/advanced-tweening-effects/221525)

<div class="topic-metadata">

**Author:** [@Coolidge](https://forum.kirupa.com/u/Coolidge)\
**Replies:** 0\
**Last updated:** [April 4, 2007, 10:16pm UTC](https://forum.kirupa.com/t/advanced-tweening-effects/221525 "2007-04-04T22:16:36Z")

</div>

First look at this link, watch the images of the people on the right. http://www.evoke.la/portfolio/something/sn-main.html Is this simply done with the advanced dialog and tweeking the settings? I've done effects clo…

---

## [Loading Flash Movie, but not Random?](https://forum.kirupa.com/t/loading-flash-movie-but-not-random/221524)

<div class="topic-metadata">

**Author:** [@sosADAMsos](https://forum.kirupa.com/u/sosADAMsos)\
**Replies:** 0\
**Last updated:** [April 4, 2007, 10:04pm UTC](https://forum.kirupa.com/t/loading-flash-movie-but-not-random/221524 "2007-04-04T22:04:42Z")

</div>

I built a flash movie to randomly rotate between flash movies using the kirupa tutorial: http://www.kirupa.com/developer/actionscript/loading\_random\_movie2.htm But now the client is telling me he would like the movie t…

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

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