# programming

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

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

**Page:** 1693

---

## [If/Then Actionscript for Butons - Help!](https://forum.kirupa.com/t/if-then-actionscript-for-butons-help/227764)

<div class="topic-metadata">

**Author:** [@jluck](https://forum.kirupa.com/u/jluck)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 9:55pm UTC](https://forum.kirupa.com/t/if-then-actionscript-for-butons-help/227764 "2007-06-01T21:55:30Z")

</div>

Hello everyone, I'm fairly new to Actionscript, and I've been wracking my brains over this while going through the Actionscript help files. I would like to make smooth transitions between movie objects using if/then st…

---

## [Search xml](https://forum.kirupa.com/t/search-xml/227762)

<div class="topic-metadata">

**Author:** [@rawnewdlz](https://forum.kirupa.com/u/rawnewdlz)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 9:35pm UTC](https://forum.kirupa.com/t/search-xml/227762 "2007-06-01T21:35:08Z")

</div>

Hi. I'm trying to figure out how to get this started. I'd like to type a word in a textfield and have it search for a match through a list of words in xml. There would be 26 xml files containing a list of words startin…

---

## [Creating an instance of what a variable evaluates as?](https://forum.kirupa.com/t/creating-an-instance-of-what-a-variable-evaluates-as/227760)

<div class="topic-metadata">

**Author:** [@Blommestein](https://forum.kirupa.com/u/Blommestein)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 8:52pm UTC](https://forum.kirupa.com/t/creating-an-instance-of-what-a-variable-evaluates-as/227760 "2007-06-01T20:52:36Z")

</div>

trace(t\[i\*3\]); //Prints 'a1' (without quotes) var d = new a1(); //Works fine, creates a new instance of class a1 var d = new ti\*3; // Does not work But how could I make that work? Thanks in advance. \[smile\]

---

## [Problems importing fl.\*](https://forum.kirupa.com/t/problems-importing-fl/227759)

<div class="topic-metadata">

**Author:** [@himmy32](https://forum.kirupa.com/u/himmy32)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 8:40pm UTC](https://forum.kirupa.com/t/problems-importing-fl/227759 "2007-06-01T20:40:07Z")

</div>

\*edit I solved my problem. Thanks anyways.

---

## [Anybody using Adobe Flash CS3?](https://forum.kirupa.com/t/anybody-using-adobe-flash-cs3/227758)

<div class="topic-metadata">

**Author:** [@pingnak](https://forum.kirupa.com/u/pingnak)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 8:16pm UTC](https://forum.kirupa.com/t/anybody-using-adobe-flash-cs3/227758 "2007-06-01T20:16:56Z")

</div>

Got a short review of it? Sucks? Rocks? Somewhere in between? I tried the 'Flash 9 Beta', but it was a bit crippled with the help missing, and messed up file associations for Flash 8 'for me', and has the Flash 8 UI,…

---

## [For..In Different in AS3, why?](https://forum.kirupa.com/t/for-in-different-in-as3-why/227757)

<div class="topic-metadata">

**Author:** [@Blommestein](https://forum.kirupa.com/u/Blommestein)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 8:01pm UTC](https://forum.kirupa.com/t/for-in-different-in-as3-why/227757 "2007-06-01T20:01:02Z")

</div>

Open a new AS2 document and add this on frame 1: var ar:Array =\[3,2,4,5\] for (var mop in ar) { trace(ar\[mop\]); } //ar.push(3); If you wanted to make ar different. for (var mop in ar) { trace(ar\[mop\]); } Works…

---

## [Overriding Non-AS3 Namespace Accessor Methods Using Class Prototypes](https://forum.kirupa.com/t/overriding-non-as3-namespace-accessor-methods-using-class-prototypes/227756)

<div class="topic-metadata">

**Author:** [@krilnon](https://forum.kirupa.com/u/krilnon)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 7:52pm UTC](https://forum.kirupa.com/t/overriding-non-as3-namespace-accessor-methods-using-class-prototypes/227756 "2007-06-01T19:52:45Z")

</div>

If you do not use the AS3 namespace, an instance of a core class inherits the properties and methods defined on the core class’s prototype object. Is it possible to redefine the accessor methods for a property of a cor…

---

## [PHP: preg\_match? search highlighting](https://forum.kirupa.com/t/php-preg-match-search-highlighting/227754)

<div class="topic-metadata">

**Author:** [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 7:48pm UTC](https://forum.kirupa.com/t/php-preg-match-search-highlighting/227754 "2007-06-01T19:48:16Z")

</div>

So i'm writing this search feature, that searches out of a database; and it searches fine. Now what I wanted to do is make it highlight the text, like this: http://search.atomz.com/search/?sp-q=popular&x=0&y=0&sp-a=sp…

---

## [HELP with onEnterFrame & springing](https://forum.kirupa.com/t/help-with-onenterframe-springing/227751)

<div class="topic-metadata">

**Author:** [@tckober](https://forum.kirupa.com/u/tckober)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 6:54pm UTC](https://forum.kirupa.com/t/help-with-onenterframe-springing/227751 "2007-06-01T18:54:23Z")

</div>

I am trying to apply a springing formula (AS2) to 3 objects on the stage. The function works, if i only apply it to one object on the first frame, but it "stutters" if i apply the same function to the other 2 objects as …

---

## [Banner rotation (timed event)](https://forum.kirupa.com/t/banner-rotation-timed-event/227748)

<div class="topic-metadata">

**Author:** [@pokermagic](https://forum.kirupa.com/u/pokermagic)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 6:23pm UTC](https://forum.kirupa.com/t/banner-rotation-timed-event/227748 "2007-06-01T18:23:58Z")

</div>

I'm trying to do a simple banner section which will change every 10 seconds. I created a blank scene in which has and empty movie clip and then the actions below should rotate the loaded swf's. But for some reason it …

---

## [Nesting Sprite Objects](https://forum.kirupa.com/t/nesting-sprite-objects/227747)

<div class="topic-metadata">

**Author:** [@douglaae](https://forum.kirupa.com/u/douglaae)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 6:23pm UTC](https://forum.kirupa.com/t/nesting-sprite-objects/227747 "2007-06-01T18:23:51Z")

</div>

How do you nest Sprite objects inside parent Sprite objects? From a previous post that Senocular answered, I found that the way to nest MovieClip objects inside one another is: var parentClip:MovieClip = new MovieCli…

---

## [Page turn problem](https://forum.kirupa.com/t/page-turn-problem/227744)

<div class="topic-metadata">

**Author:** [@bm\_ben](https://forum.kirupa.com/u/bm_ben)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 6:05pm UTC](https://forum.kirupa.com/t/page-turn-problem/227744 "2007-06-01T18:05:32Z")

</div>

Hi All! I have just started getting back into flash after a long break becoming a master of css. My problem seems to have stumped many so far so here goes see if you can get ya heads round this. I am creating a page turn…

---

## [Flash CS3 migration: Still use AS2 publish settings bad?](https://forum.kirupa.com/t/flash-cs3-migration-still-use-as2-publish-settings-bad/227743)

<div class="topic-metadata">

**Author:** [@slopps](https://forum.kirupa.com/u/slopps)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 6:00pm UTC](https://forum.kirupa.com/t/flash-cs3-migration-still-use-as2-publish-settings-bad/227743 "2007-06-01T18:00:01Z")

</div>

\[similar post in Flash CS3 forum but I thought the AS3 community might have some input\] Hey all, My company is switching to Flash CS3. We do pretty basic interactivity...nothing ever requiring external classes. The d…

---

## [ScrollPane Focus](https://forum.kirupa.com/t/scrollpane-focus/227742)

<div class="topic-metadata">

**Author:** [@thecptn](https://forum.kirupa.com/u/thecptn)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 5:52pm UTC](https://forum.kirupa.com/t/scrollpane-focus/227742 "2007-06-01T17:52:48Z")

</div>

Hey all I'm using a scroll pane as a way to have a pan-able map window. I have all the scroll bars turned off and I have scrollDrag set to true. As a result I can't have any other mouse events for anything loaded into…

---

## [Call ASP/ASPX without opening window?](https://forum.kirupa.com/t/call-asp-aspx-without-opening-window/227741)

<div class="topic-metadata">

**Author:** [@calvintage](https://forum.kirupa.com/u/calvintage)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 5:47pm UTC](https://forum.kirupa.com/t/call-asp-aspx-without-opening-window/227741 "2007-06-01T17:47:43Z")

</div>

Is it possible to call an asp or aspx without opening a new window? aspx file is set up to accept data through HTTP query string (example.asp?data=1) and I don't want a window to open. Please help!!

---

## [Js help](https://forum.kirupa.com/t/js-help/227738)

<div class="topic-metadata">

**Author:** [@wo1olf](https://forum.kirupa.com/u/wo1olf)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 5:21pm UTC](https://forum.kirupa.com/t/js-help/227738 "2007-06-01T17:21:03Z")

</div>

how can i get (not set) the width or height or a \<div\> element in a document, i tried everthing i know but it was useless. the div has an id ("subCat") and when i used document.getElementByID("subCat").style.height, i ge…

---

## [SWF To Video Conversion Program](https://forum.kirupa.com/t/swf-to-video-conversion-program/227737)

<div class="topic-metadata">

**Author:** [@Darren\_E](https://forum.kirupa.com/u/Darren_E)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 5:00pm UTC](https://forum.kirupa.com/t/swf-to-video-conversion-program/227737 "2007-06-01T17:00:38Z")

</div>

I wasted quite a bit of money recently trying out various products to convert several flash cartoons I made to video only to get crappy results that did not work well for me and one was not even compatible with my audio …

---

## [Somewhat Advanced Javascrip and Jquery](https://forum.kirupa.com/t/somewhat-advanced-javascrip-and-jquery/227736)

<div class="topic-metadata">

**Author:** [@rschoenbach](https://forum.kirupa.com/u/rschoenbach)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 4:33pm UTC](https://forum.kirupa.com/t/somewhat-advanced-javascrip-and-jquery/227736 "2007-06-01T16:33:43Z")

</div>

\<div id="container"\> \<div id="border"\> \<div id="contents"\> \<div id="menu"\> \<ul\> \<li\>\<a href="#"\>Company Profile\</a\>\</li\> \<li\>\<a href="#"\>Servi…

---

## [V3 Gallery](https://forum.kirupa.com/t/v3-gallery/227734)

<div class="topic-metadata">

**Author:** [@Jozarte](https://forum.kirupa.com/u/Jozarte)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 4:01pm UTC](https://forum.kirupa.com/t/v3-gallery/227734 "2007-06-01T16:01:32Z")

</div>

Need Help ...on this V3 Gallery! in link path! Thank YOU! \[stuck\_out\_tongue\]

---

## [Large-ish Project (Coder needed)](https://forum.kirupa.com/t/large-ish-project-coder-needed/227733)

<div class="topic-metadata">

**Author:** [@zuriki](https://forum.kirupa.com/u/zuriki)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 3:51pm UTC](https://forum.kirupa.com/t/large-ish-project-coder-needed/227733 "2007-06-01T15:51:07Z")

</div>

Summary I am looking for a prominent ActionScript Coder to help me make an RPG/Adventure game. Also if anyone is good a pixel art feel free to add me to talk to me here or MSN / Email me (found below). Information (Lit…

---

## [Problem with fr-ode's fullsize images](https://forum.kirupa.com/t/problem-with-fr-odes-fullsize-images/227728)

<div class="topic-metadata">

**Author:** [@o111](https://forum.kirupa.com/u/o111)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 3:40pm UTC](https://forum.kirupa.com/t/problem-with-fr-odes-fullsize-images/227728 "2007-06-01T15:40:21Z")

</div>

Here’s the experiment by fr-ode: \[whisper\]good job btw\[/whisper\] This thing works perfectly when I try the .swf out, but I want this to work with an .html as well. Cause when I publish - scale.no.work. How can I fix …

---

## [Download to desktop](https://forum.kirupa.com/t/download-to-desktop/227725)

<div class="topic-metadata">

**Author:** [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 3:12pm UTC](https://forum.kirupa.com/t/download-to-desktop/227725 "2007-06-01T15:12:10Z")

</div>

I'm constructing an enhanced CD menu in Flash. I'm going to be including some desktop backgrounds that I would like people to be able to click on and then save the file from the CD to a location of their choice. Is the…

---

## [MySQL - Get position of sorted rows?](https://forum.kirupa.com/t/mysql-get-position-of-sorted-rows/227723)

<div class="topic-metadata">

**Author:** [@duncanhall](https://forum.kirupa.com/u/duncanhall)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 2:55pm UTC](https://forum.kirupa.com/t/mysql-get-position-of-sorted-rows/227723 "2007-06-01T14:55:41Z")

</div>

I have a table which stores high-scores, along with player ids. I want to be able to extract a record by a players id, and then get the rank, or position of their score in the table. "SELECT \* FROM high\_scores ORDER B…

---

## [\[Flash8\]Help needed! multi random load](https://forum.kirupa.com/t/flash8-help-needed-multi-random-load/227722)

<div class="topic-metadata">

**Author:** [@rormac](https://forum.kirupa.com/u/rormac)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 2:37pm UTC](https://forum.kirupa.com/t/flash8-help-needed-multi-random-load/227722 "2007-06-01T14:37:06Z")

</div>

Can anyone please help .. I have created a flash movie which has four windows which I want to display randomly loaded swf's at the same time .. that part I have managed to patch together my problem is as each mc ran…

---

## [Video Buttons Not Working](https://forum.kirupa.com/t/video-buttons-not-working/227718)

<div class="topic-metadata">

**Author:** [@Money4Shop](https://forum.kirupa.com/u/Money4Shop)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 2:17pm UTC](https://forum.kirupa.com/t/video-buttons-not-working/227718 "2007-06-01T14:17:30Z")

</div>

Hi, I have a Flash file here that plays an FLV movie but the buttons on it will not work and I can't figure out why. You can get the files at www.money4shop.com/app/flash.zip When you run it, an introduction screen …

---

## [createEmptyMovieClip and onRollOver](https://forum.kirupa.com/t/createemptymovieclip-and-onrollover/227717)

<div class="topic-metadata">

**Author:** [@jamiller](https://forum.kirupa.com/u/jamiller)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 2:13pm UTC](https://forum.kirupa.com/t/createemptymovieclip-and-onrollover/227717 "2007-06-01T14:13:57Z")

</div>

I've seen some posts from people with similar problems but I cannot seem to get this to work so I decided to post my own thread. I'm dynamically creating movieclips and using loadMovie to load jpg images from an xml fi…

---

## [How do I get rid of green glow from list?](https://forum.kirupa.com/t/how-do-i-get-rid-of-green-glow-from-list/227716)

<div class="topic-metadata">

**Author:** [@schmichael](https://forum.kirupa.com/u/schmichael)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 2:13pm UTC](https://forum.kirupa.com/t/how-do-i-get-rid-of-green-glow-from-list/227716 "2007-06-01T14:13:21Z")

</div>

Hey there, I am trying to get rid of the green glow from the list component when it is selected but can't find the property in the adobe doc- http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=…

---

## [Drawing api tutorial](https://forum.kirupa.com/t/drawing-api-tutorial/227715)

<div class="topic-metadata">

**Author:** [@FlashFish](https://forum.kirupa.com/u/FlashFish)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 2:03pm UTC](https://forum.kirupa.com/t/drawing-api-tutorial/227715 "2007-06-01T14:03:37Z")

</div>

Yo. I'm using some code from this tutorial on a project http://www.kirupa.com/developer/actionscript/drawingboard.htm and I need to modify it so that you can only draw on certain areas of the screen. I chucked in an …

---

## [How do I incorporate aspx pages with Dreamweaver?](https://forum.kirupa.com/t/how-do-i-incorporate-aspx-pages-with-dreamweaver/227712)

<div class="topic-metadata">

**Author:** [@verdell35](https://forum.kirupa.com/u/verdell35)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 1:23pm UTC](https://forum.kirupa.com/t/how-do-i-incorporate-aspx-pages-with-dreamweaver/227712 "2007-06-01T13:23:17Z")

</div>

I created my web page with Dreamweaver CS3; and this week I set up a login page, registration page, etc. I did the second part with Visual Studio 2005 web application and ASP.NET . So that is done. Now my question is h…

---

## [Attaching Movies](https://forum.kirupa.com/t/attaching-movies/227711)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [June 1, 2007, 1:06pm UTC](https://forum.kirupa.com/t/attaching-movies/227711 "2007-06-01T13:06:41Z")

</div>

I am having problems accessing a button after I have attached it to the stage from the library... My code is as such: map\_mc.onRelease = function(){ empty\_mc.attachMovie("map\_functions","map\_close",this.getNextHi…

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

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