# programming

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

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

**Page:** 1414

---

## [Destroying instances](https://forum.kirupa.com/t/destroying-instances/248174)

<div class="topic-metadata">

**Author:** [@Miguelele](https://forum.kirupa.com/u/Miguelele)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 4:30pm UTC](https://forum.kirupa.com/t/destroying-instances/248174 "2008-01-04T16:30:44Z")

</div>

I have a class that displays a picture in a popup style. var popPicture:PopPicture = new PopPicture To remove it I use removeChild and to remove completely the instance I pass popPicture=null But doi…

---

## [Button URL problem](https://forum.kirupa.com/t/button-url-problem/248171)

<div class="topic-metadata">

**Author:** [@timinator](https://forum.kirupa.com/u/timinator)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 4:06pm UTC](https://forum.kirupa.com/t/button-url-problem/248171 "2008-01-04T16:06:39Z")

</div>

Hi, I have a small movie with several animated buttons. I had to change the url's in the buttons. I made the changes, saved the fla and exported the movie, and published to web, but the the links insist on going to the …

---

## [Array query](https://forum.kirupa.com/t/array-query/248167)

<div class="topic-metadata">

**Author:** [@Signy](https://forum.kirupa.com/u/Signy)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 3:22pm UTC](https://forum.kirupa.com/t/array-query/248167 "2008-01-04T15:22:17Z")

</div>

Hiya all, I'm currently making a game in which the main objective is to catch falling ingredients from the sky in order to create a meal. I have the falling catching and moving mechanics finished and I'm now working on…

---

## [Button advice](https://forum.kirupa.com/t/button-advice/248164)

<div class="topic-metadata">

**Author:** [@geminione](https://forum.kirupa.com/u/geminione)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 3:15pm UTC](https://forum.kirupa.com/t/button-advice/248164 "2008-01-04T15:15:35Z")

</div>

I'm jumping into AS3 and I am lost yet again. So you no longer can tag actions onto an object??? Anyways. I'm setting up a navigation structure and popup menu. I'd like the buttons to share the same function. I hope this…

---

## [Working with a Designers FLA, converting to AS3](https://forum.kirupa.com/t/working-with-a-designers-fla-converting-to-as3/248163)

<div class="topic-metadata">

**Author:** [@1Riptide](https://forum.kirupa.com/u/1Riptide)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 2:53pm UTC](https://forum.kirupa.com/t/working-with-a-designers-fla-converting-to-as3/248163 "2008-01-04T14:53:17Z")

</div>

\[COLOR=black\]\[FONT=Arial\]Hi all..\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Arial\] \[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Arial\]I am converting a simple WhiteBoard (drawing) application from AS2/1 to AS3, and cannot find an easy way…

---

## [Convert movieclip scroller to dynamic text scroller](https://forum.kirupa.com/t/convert-movieclip-scroller-to-dynamic-text-scroller/248162)

<div class="topic-metadata">

**Author:** [@Dpots](https://forum.kirupa.com/u/Dpots)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 2:48pm UTC](https://forum.kirupa.com/t/convert-movieclip-scroller-to-dynamic-text-scroller/248162 "2008-01-04T14:48:08Z")

</div>

I have code I borrowed that is set up to scroll a movie clip image. However, it doesn't work well if I replace the graphics with a text box as the scrolling becomes "jerky" as I think there is too much information for i…

---

## [Rogue checkbox appearing!](https://forum.kirupa.com/t/rogue-checkbox-appearing/248161)

<div class="topic-metadata">

**Author:** [@onemhunki](https://forum.kirupa.com/u/onemhunki)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 2:40pm UTC](https://forum.kirupa.com/t/rogue-checkbox-appearing/248161 "2008-01-04T14:40:43Z")

</div>

folks. Code below gives me an odd checkbox with no value at the end. Any idea how I trim this off? $arr = split(" ", $row\['properties'\]); foreach($arr as $key =\> $value){ echo "\<input name='properties\[\]' type='ch…

---

## [HELP Snow flakes](https://forum.kirupa.com/t/help-snow-flakes/248159)

<div class="topic-metadata">

**Author:** [@baeconknuten](https://forum.kirupa.com/u/baeconknuten)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 2:31pm UTC](https://forum.kirupa.com/t/help-snow-flakes/248159 "2008-01-04T14:31:28Z")

</div>

Hi, need some help here. I'm using the code from a tutorial on this site but instead of snowflakes it's raining blood. Th thing is that i want it only to rain in frame one, but it's continues to the next scene even:( Can…

---

## [Interesting chase/follow command](https://forum.kirupa.com/t/interesting-chase-follow-command/248158)

<div class="topic-metadata">

**Author:** [@leejay](https://forum.kirupa.com/u/leejay)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 2:14pm UTC](https://forum.kirupa.com/t/interesting-chase-follow-command/248158 "2008-01-04T14:14:22Z")

</div>

Hey there, I am in the process of creating a kind of cat and mouse style game but the player controls a car and a police car chases and you are timed to see how long you last before your car loses its life from too …

---

## [MovieClip(root)](https://forum.kirupa.com/t/movieclip-root/248156)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 2:00pm UTC](https://forum.kirupa.com/t/movieclip-root/248156 "2008-01-04T14:00:29Z")

</div>

Hey guys, The framework for my current structure has a base class thats instantiates a bunch of other classes, for example: public var tween:tweenClass = new tweenClass; // handles tween events Say later, from w…

---

## [attachMovie init Functions](https://forum.kirupa.com/t/attachmovie-init-functions/248151)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 12:52pm UTC](https://forum.kirupa.com/t/attachmovie-init-functions/248151 "2008-01-04T12:52:16Z")

</div>

hello, I would like to know if it is possible to initialise a movie attachment with a function ... Thus: function myFunction(){ this.\_alpha = 0; } this.attachMovie("new","new\_mc",1,{myFunction}); I know that …

---

## [Help Regarding XML](https://forum.kirupa.com/t/help-regarding-xml/248149)

<div class="topic-metadata">

**Author:** [@sylar](https://forum.kirupa.com/u/sylar)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 12:12pm UTC](https://forum.kirupa.com/t/help-regarding-xml/248149 "2008-01-04T12:12:11Z")

</div>

I have to insert some xml entry into existing xml . I am including the code used var myXml:XML = \<playerr\> \<playlist\> \<name\>Playlist 1\</name\> \<image\>http://images.com/playlist1.jpg\</image\> \<video\> \<name\>Item …

---

## [Flash-Based Email Using PHP](https://forum.kirupa.com/t/flash-based-email-using-php/248148)

<div class="topic-metadata">

**Author:** [@Yacoob](https://forum.kirupa.com/u/Yacoob)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 10:49am UTC](https://forum.kirupa.com/t/flash-based-email-using-php/248148 "2008-01-04T10:49:41Z")

</div>

Hi, I have an application created with VB.net and I have a button that people click if the app doesn't work. This button loads a swf that will send me an email. Now, I don't know how to send myself an email. I read this …

---

## [Flash XHTML Rich Text Editor](https://forum.kirupa.com/t/flash-xhtml-rich-text-editor/248147)

<div class="topic-metadata">

**Author:** [@Shard](https://forum.kirupa.com/u/Shard)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 10:28am UTC](https://forum.kirupa.com/t/flash-xhtml-rich-text-editor/248147 "2008-01-04T10:28:44Z")

</div>

Hi all, I have just about finished writing my RTE (didn't like the ones already out there) and I've come across a snag. If people type too fast (which we all do - lol) the caret position gets moved forward before the pre…

---

## [Local XML Database](https://forum.kirupa.com/t/local-xml-database/248146)

<div class="topic-metadata">

**Author:** [@system](https://forum.kirupa.com/u/system)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 10:28am UTC](https://forum.kirupa.com/t/local-xml-database/248146 "2008-01-04T10:28:08Z")

</div>

I want to make an offline desktop app. that stores my company's customers and their data in an XML file, just like a database. so that I'm able to load, edit (create new customers, add to their data) and save it into the…

---

## [Can a swf know its position in a web page/on screen?](https://forum.kirupa.com/t/can-a-swf-know-its-position-in-a-web-page-on-screen/248143)

<div class="topic-metadata">

**Author:** [@schmichael](https://forum.kirupa.com/u/schmichael)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 9:35am UTC](https://forum.kirupa.com/t/can-a-swf-know-its-position-in-a-web-page-on-screen/248143 "2008-01-04T09:35:33Z")

</div>

Hiya, I would like to find out if a swf can know where it is positioned within an html page or on a user's screen. I would like to know this as I am creating some banners that use local connection to communicate but th…

---

## [RegExp Substitution](https://forum.kirupa.com/t/regexp-substitution/248140)

<div class="topic-metadata">

**Author:** [@kmintmier](https://forum.kirupa.com/u/kmintmier)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 9:05am UTC](https://forum.kirupa.com/t/regexp-substitution/248140 "2008-01-04T09:05:49Z")

</div>

Without resorting to the use of String.toUpperCase(), is there a good way to accomplish the following with an AS3 RegExp? tr/\[a-z\]/\[A-Z\]/ I've tried (and failed so far) using a RegExp in conjunction with String.repla…

---

## [hitTesting mcs inside mcs](https://forum.kirupa.com/t/hittesting-mcs-inside-mcs/248139)

<div class="topic-metadata">

**Author:** [@leonthelion](https://forum.kirupa.com/u/leonthelion)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 8:55am UTC](https://forum.kirupa.com/t/hittesting-mcs-inside-mcs/248139 "2008-01-04T08:55:50Z")

</div>

How can you do that? I have an mc and inside the first frame of that I have another mc, which contains the circles attacks. I'm really bad at explaining this so heres my file D: Thanks So heres what im doing: 1.check i…

---

## [Using Type Input in Conditional Statement](https://forum.kirupa.com/t/using-type-input-in-conditional-statement/248138)

<div class="topic-metadata">

**Author:** [@affirmallchance](https://forum.kirupa.com/u/affirmallchance)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 8:29am UTC](https://forum.kirupa.com/t/using-type-input-in-conditional-statement/248138 "2008-01-04T08:29:13Z")

</div>

If the user types "ball" in the input textfield, instance name: name\_txt, I want to move to the next frame and stop. Can somebody tell me, what I am doing wrong here? Thank you! submit\_btn.addEventListener(MouseEvent.C…

---

## [Handling .zip file in vb.net](https://forum.kirupa.com/t/handling-zip-file-in-vb-net/248135)

<div class="topic-metadata">

**Author:** [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 6:58am UTC](https://forum.kirupa.com/t/handling-zip-file-in-vb-net/248135 "2008-01-04T06:58:16Z")

</div>

Right now im using a class #ZipLib, I'm just wondering if there is a better solution or if any of the recent updates to the .net framework add anything for zipping files or unzipping. What I really need is a way to ope…

---

## [Request Cookie problem in classic asp](https://forum.kirupa.com/t/request-cookie-problem-in-classic-asp/248132)

<div class="topic-metadata">

**Author:** [@limcurry87](https://forum.kirupa.com/u/limcurry87)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 5:10am UTC](https://forum.kirupa.com/t/request-cookie-problem-in-classic-asp/248132 "2008-01-04T05:10:56Z")

</div>

Hi everybody, I've a problem here. Seems like i can only request cookie using request.cookie("...") within the \<body\> tag of my asp page. The result in the cookie request can only be directly execute and use in the b…

---

## [Importing Illustrator images and text](https://forum.kirupa.com/t/importing-illustrator-images-and-text/248130)

<div class="topic-metadata">

**Author:** [@sargeonline](https://forum.kirupa.com/u/sargeonline)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 5:07am UTC](https://forum.kirupa.com/t/importing-illustrator-images-and-text/248130 "2008-01-04T05:07:33Z")

</div>

I was just wondering what's the best way to import images and text from illustrator so you preserve the quality of the images and text when imported to flash. I'm doing a lot of work in illustrator and just importing t…

---

## [Navigation Script](https://forum.kirupa.com/t/navigation-script/248129)

<div class="topic-metadata">

**Author:** [@kdawg](https://forum.kirupa.com/u/kdawg)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 5:07am UTC](https://forum.kirupa.com/t/navigation-script/248129 "2008-01-04T05:07:13Z")

</div>

I'm trying to streamline a script I wrote to navigate a small website. I used an array to assign button functions but I feel like the rest of the functionality could be more efficient as well. Anyone? sectionFocus = "…

---

## [Tonypa's AS3 Tutorial help](https://forum.kirupa.com/t/tonypas-as3-tutorial-help/248122)

<div class="topic-metadata">

**Author:** [@gregmax](https://forum.kirupa.com/u/gregmax)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 2:45am UTC](https://forum.kirupa.com/t/tonypas-as3-tutorial-help/248122 "2008-01-04T02:45:26Z")

</div>

I just finished the animated sprites tutorial from Tonypa's latest tutorial on AS3 Tile base d games, and am thrilled to be learning it. AS3 is a though, challenging, learning curve from the other Actionscripts - for me …

---

## [Dynamic Flash Movie Sizing Using JavaScript?](https://forum.kirupa.com/t/dynamic-flash-movie-sizing-using-javascript/248116)

<div class="topic-metadata">

**Author:** [@bmorrise](https://forum.kirupa.com/u/bmorrise)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 12:30am UTC](https://forum.kirupa.com/t/dynamic-flash-movie-sizing-using-javascript/248116 "2008-01-04T00:30:39Z")

</div>

I'm working on a project where they want to have a mouse-over that allows a Flash movie to become bigger. Now I've seen this on websites that have Flash ads that you can mouse over and it causes the Flash ad to enlarge. …

---

## [Hoover Captations Flash code with xml?](https://forum.kirupa.com/t/hoover-captations-flash-code-with-xml/248115)

<div class="topic-metadata">

**Author:** [@hrbi](https://forum.kirupa.com/u/hrbi)\
**Replies:** 0\
**Last updated:** [January 4, 2008, 12:02am UTC](https://forum.kirupa.com/t/hoover-captations-flash-code-with-xml/248115 "2008-01-04T00:02:19Z")

</div>

Hi Folks.. I got real hard one for a newbi like me and i dont even know if it is possible. I hope so. Here goes. I saw this awesome hoover captaions tutorial here in kirup, here is the llink: http://www.kirupa.com…

---

## [.width causing mc to disappear](https://forum.kirupa.com/t/width-causing-mc-to-disappear/248114)

<div class="topic-metadata">

**Author:** [@jbailey](https://forum.kirupa.com/u/jbailey)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 11:40pm UTC](https://forum.kirupa.com/t/width-causing-mc-to-disappear/248114 "2008-01-03T23:40:16Z")

</div>

When I use the following class in loading an image, I cannot use .width property CLASS package{ import flash.display.\*; import flash.events.\*; import flash.net.URLRequest; public class loadImg exten…

---

## [onRelease Does not Work When Loading External JPEG?](https://forum.kirupa.com/t/onrelease-does-not-work-when-loading-external-jpeg/248112)

<div class="topic-metadata">

**Author:** [@zimick](https://forum.kirupa.com/u/zimick)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 11:18pm UTC](https://forum.kirupa.com/t/onrelease-does-not-work-when-loading-external-jpeg/248112 "2008-01-03T23:18:46Z")

</div>

I want to display several thumbnails, each loaded as an external jpeg. When clicked, I want the thumbnail to launch into a video. I am running into a problem after loading the thumbnail images. The onRelease method no …

---

## [Help about sound problem](https://forum.kirupa.com/t/help-about-sound-problem/248109)

<div class="topic-metadata">

**Author:** [@heeromai](https://forum.kirupa.com/u/heeromai)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 11:00pm UTC](https://forum.kirupa.com/t/help-about-sound-problem/248109 "2008-01-03T23:00:40Z")

</div>

now i have a \[COLOR=blue\]\[COLOR=blue ! important\]\[FONT=verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif\]\[COLOR=blue ! important\]\[FONT=verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif\]flash…

---

## [Fullscreen swf in FS template?](https://forum.kirupa.com/t/fullscreen-swf-in-fs-template/248108)

<div class="topic-metadata">

**Author:** [@hrbi](https://forum.kirupa.com/u/hrbi)\
**Replies:** 0\
**Last updated:** [January 3, 2008, 10:47pm UTC](https://forum.kirupa.com/t/fullscreen-swf-in-fs-template/248108 "2008-01-03T22:47:00Z")

</div>

Hi.. I want to know if it is possible to make ONLY the videoplayer go fullscreen( i use videoMaru )from a flash template, which allready have the abbility to go fullscreen?? I have a videoplayer which is a part of a …

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

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