# programming

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

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

**Page:** 1603

---

## [Exit(?) a class](https://forum.kirupa.com/t/exit-a-class/234339)

<div class="topic-metadata">

**Author:** [@mmorosky](https://forum.kirupa.com/u/mmorosky)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:03pm UTC](https://forum.kirupa.com/t/exit-a-class/234339 "2007-08-01T14:03:47Z")

</div>

I've created a short game where the main class file, MainGame, creates an instance of the actual game, ActualGame. MainGame displays the start screen complete with a "Play game" button which creates an instance of Actual…

---

## [CDATA - still not formatting!](https://forum.kirupa.com/t/cdata-still-not-formatting/234334)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 1:36pm UTC](https://forum.kirupa.com/t/cdata-still-not-formatting/234334 "2007-08-01T13:36:46Z")

</div>

Ok. I have searched the forum up and down and read about 6 different ways to supposedly add formatting to text through XML but nothing is working. I have tried CDATA, I have tried URL encoding, and I have tried HTML en…

---

## [Loading text into Text Area](https://forum.kirupa.com/t/loading-text-into-text-area/234329)

<div class="topic-metadata">

**Author:** [@apolyak](https://forum.kirupa.com/u/apolyak)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 1:04pm UTC](https://forum.kirupa.com/t/loading-text-into-text-area/234329 "2007-08-01T13:04:05Z")

</div>

Hey, I'm trying to load a simple txt file into a Text Area. I have a code but for some reason it doesnt work. If you look at the file that is attached it does'nt even show the text area in when you actually test the mo…

---

## [Loading random SWF's and IE 7 issues](https://forum.kirupa.com/t/loading-random-swfs-and-ie-7-issues/234328)

<div class="topic-metadata">

**Author:** [@g\_rochford](https://forum.kirupa.com/u/g_rochford)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:56pm UTC](https://forum.kirupa.com/t/loading-random-swfs-and-ie-7-issues/234328 "2007-08-01T12:56:57Z")

</div>

Hi all I am using this code to load in a bunch of random swf files onto my stage to create a sort of star field effect, but with words instead of dots and it doesnt work in IE 7. Can anybody explain why, or recommend a…

---

## [Delay flash animation after mouseover](https://forum.kirupa.com/t/delay-flash-animation-after-mouseover/234326)

<div class="topic-metadata">

**Author:** [@kristjs](https://forum.kirupa.com/u/kristjs)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:48pm UTC](https://forum.kirupa.com/t/delay-flash-animation-after-mouseover/234326 "2007-08-01T12:48:06Z")

</div>

Hi, I have l logo animation but i don't want it to play every time a user runs over it with mouse. I'd like it to start playing after the user has stayed on the banner for 1 second (30 frames in my case). So if the use…

---

## [Correct path to movieclips](https://forum.kirupa.com/t/correct-path-to-movieclips/234325)

<div class="topic-metadata">

**Author:** [@Lionzion](https://forum.kirupa.com/u/Lionzion)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:29pm UTC](https://forum.kirupa.com/t/correct-path-to-movieclips/234325 "2007-08-01T12:29:08Z")

</div>

Hi I have a tutorial on how to preload external content by clicking a button. I manage to make it work, but only when it is in the main time line, once I put it into a movie clip I cant seem to get the referencing rig…

---

## [Timer/Listener I dont know help](https://forum.kirupa.com/t/timer-listener-i-dont-know-help/234323)

<div class="topic-metadata">

**Author:** [@rai\_kane3](https://forum.kirupa.com/u/rai_kane3)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:18pm UTC](https://forum.kirupa.com/t/timer-listener-i-dont-know-help/234323 "2007-08-01T12:18:07Z")

</div>

I have a series of movieclips on a timeline within each movieclip is an animation I am trying to get it so once the animation plays there is some actionscript telling it to pause for 6 seconds and then play the next movi…

---

## [Tweens don't happen after resizing a movie clip](https://forum.kirupa.com/t/tweens-dont-happen-after-resizing-a-movie-clip/234320)

<div class="topic-metadata">

**Author:** [@Nutty](https://forum.kirupa.com/u/Nutty)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 11:48am UTC](https://forum.kirupa.com/t/tweens-dont-happen-after-resizing-a-movie-clip/234320 "2007-08-01T11:48:08Z")

</div>

Hi all, please download the .fla \[COLOR=Gray\](file updated for flash8)\[/COLOR\] file, run it and you'll see the problem. when i do this: \_root.image.\_width=200; \_root.image.\_height=200; ist seems that the m…

---

## [Doesnt Scale9Grid work with bitmap?](https://forum.kirupa.com/t/doesnt-scale9grid-work-with-bitmap/234319)

<div class="topic-metadata">

**Author:** [@ven](https://forum.kirupa.com/u/ven)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 11:44am UTC](https://forum.kirupa.com/t/doesnt-scale9grid-work-with-bitmap/234319 "2007-08-01T11:44:00Z")

</div>

I have uploaded a test \*\*here \*\* a2.width = 300; a2.height = 300; b2.width = 300; b2.height = 300; Both clips in library have scale9grid enabled, but it just wont apply to the imported bitmap, just vector. If th…

---

## [Mac menu](https://forum.kirupa.com/t/mac-menu/234317)

<div class="topic-metadata">

**Author:** [@telit](https://forum.kirupa.com/u/telit)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 11:39am UTC](https://forum.kirupa.com/t/mac-menu/234317 "2007-08-01T11:39:38Z")

</div>

Please help me to make a menu like on MacOX.

---

## [Any Ideas on Bubbleshare.com?](https://forum.kirupa.com/t/any-ideas-on-bubbleshare-com/234314)

<div class="topic-metadata">

**Author:** [@hir0da](https://forum.kirupa.com/u/hir0da)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 11:31am UTC](https://forum.kirupa.com/t/any-ideas-on-bubbleshare-com/234314 "2007-08-01T11:31:17Z")

</div>

I'm looking to create something like http://www.bubbleshare.com. Do you have any ideas on how I should approach it, and guides to go along with it? Please do help, thanks, it will be greatly appreciated!

---

## [Calling a function when score hits 100?](https://forum.kirupa.com/t/calling-a-function-when-score-hits-100/234306)

<div class="topic-metadata">

**Author:** [@Head\_In\_A\_Pan](https://forum.kirupa.com/u/Head_In_A_Pan)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 9:02am UTC](https://forum.kirupa.com/t/calling-a-function-when-score-hits-100/234306 "2007-08-01T09:02:00Z")

</div>

Hey!! I'm new to the games thing - I've got a dynamic text box with the variable myScore It's counting up the numbers as I 'score'. How do I call a function when the score hits 100? I've tried if (myScore =…

---

## [Components compatible with flashplayer 9.0.16](https://forum.kirupa.com/t/components-compatible-with-flashplayer-9-0-16/234305)

<div class="topic-metadata">

**Author:** [@ven](https://forum.kirupa.com/u/ven)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 8:58am UTC](https://forum.kirupa.com/t/components-compatible-with-flashplayer-9-0-16/234305 "2007-08-01T08:58:49Z")

</div>

The CS3 components like the scrollpane requires the flashplayer version 9.0.45. The installbase for flash in my target audience is: 9.0.16: 65,21% 9.0.28: 8,22% 9.0.45: 5,15% This renders the CS3 components useles…

---

## [Need a timer to stop my movie..how?](https://forum.kirupa.com/t/need-a-timer-to-stop-my-movie-how/234304)

<div class="topic-metadata">

**Author:** [@oavs](https://forum.kirupa.com/u/oavs)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 7:46am UTC](https://forum.kirupa.com/t/need-a-timer-to-stop-my-movie-how/234304 "2007-08-01T07:46:44Z")

</div>

Hi I have a simple 30 frame animation which plays over and over. It plays during while the audio plays. I want to stop my animation when the audio stops. I know how long is the audio (30sec) so I just want a timer to s…

---

## [Does this break encapsulation?](https://forum.kirupa.com/t/does-this-break-encapsulation/234301)

<div class="topic-metadata">

**Author:** [@Flashthinker](https://forum.kirupa.com/u/Flashthinker)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 7:03am UTC](https://forum.kirupa.com/t/does-this-break-encapsulation/234301 "2007-08-01T07:03:15Z")

</div>

Hi, I've been thinking about something which I do all the time and I'm wondering if it breaks the rule of encapsulation... Very often, I like to initialize certain objects in classes which are higher in the hierarchy (cl…

---

## [What is this code doing?](https://forum.kirupa.com/t/what-is-this-code-doing/234300)

<div class="topic-metadata">

**Author:** [@rocky86](https://forum.kirupa.com/u/rocky86)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 6:09am UTC](https://forum.kirupa.com/t/what-is-this-code-doing/234300 "2007-08-01T06:09:06Z")

</div>

hey guy can someone explain to me what is this php code doing I find it hard to understand it thx! \<?php $sqlconnect=mysql\_connect("localhost","hyperian\_track","gsmtrack"); if(!$sqlconnect) die(mysql\_error()); mysql\_…

---

## [Garbled "From:" in a flash/php contact form](https://forum.kirupa.com/t/garbled-from-in-a-flash-php-contact-form/234295)

<div class="topic-metadata">

**Author:** [@ticl4](https://forum.kirupa.com/u/ticl4)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 4:27am UTC](https://forum.kirupa.com/t/garbled-from-in-a-flash-php-contact-form/234295 "2007-08-01T04:27:42Z")

</div>

I have a contact flash/php form set up on my website. All works great except the the From: header in the email I receive contains strings related to the web host and a buch a html type code: \<mailto:\<TEXTFORMAT LEFTMA…

---

## [AS3 - SharedObjects - clear when browser is closed](https://forum.kirupa.com/t/as3-sharedobjects-clear-when-browser-is-closed/234291)

<div class="topic-metadata">

**Author:** [@bzouchir](https://forum.kirupa.com/u/bzouchir)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 3:49am UTC](https://forum.kirupa.com/t/as3-sharedobjects-clear-when-browser-is-closed/234291 "2007-08-01T03:49:05Z")

</div>

Hi everyone, I've been truying to figure out the best way of tracking web sessions in flash. the main problem is having a flash animated that has two animations, one for the entry and one that loops. What I need is t…

---

## [Dynamically loading growing image slideshow](https://forum.kirupa.com/t/dynamically-loading-growing-image-slideshow/234289)

<div class="topic-metadata">

**Author:** [@flashnub](https://forum.kirupa.com/u/flashnub)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 3:44am UTC](https://forum.kirupa.com/t/dynamically-loading-growing-image-slideshow/234289 "2007-08-01T03:44:21Z")

</div>

Hi all. I am relatively new to flash and kirupa and i was wondering if i could get some advice from the community. I have made a website the requires images to load in dynamically and to expand or grow, then fade into …

---

## ["In(Object){...}" Function? Data types for Object Variables?](https://forum.kirupa.com/t/in-object-function-data-types-for-object-variables/234285)

<div class="topic-metadata">

**Author:** [@Aesir](https://forum.kirupa.com/u/Aesir)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:47am UTC](https://forum.kirupa.com/t/in-object-function-data-types-for-object-variables/234285 "2007-08-01T02:47:39Z")

</div>

I can create an object and use dot syntax to create, or reference, variables inside of it. But how can I specify the data types of these variables? Also, is there some way I can enter the namespace of the object over…

---

## [Datagrid \> XML connector \> Hyperlink - How to Hyperlink in XML?](https://forum.kirupa.com/t/datagrid-xml-connector-hyperlink-how-to-hyperlink-in-xml/234284)

<div class="topic-metadata">

**Author:** [@GoofyGoodwin](https://forum.kirupa.com/u/GoofyGoodwin)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:08am UTC](https://forum.kirupa.com/t/datagrid-xml-connector-hyperlink-how-to-hyperlink-in-xml/234284 "2007-08-01T02:08:13Z")

</div>

First off this is becoming a super headache and the next step is to start pulling out the hair... just kidding but really... And thank you to anybody who's taking the time to help! Ok, so in Flash 8 I'm using the datag…

---

## [Insert into 4 tables : help](https://forum.kirupa.com/t/insert-into-4-tables-help/234282)

<div class="topic-metadata">

**Author:** [@Utech22](https://forum.kirupa.com/u/Utech22)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 2:07am UTC](https://forum.kirupa.com/t/insert-into-4-tables-help/234282 "2007-08-01T02:07:24Z")

</div>

I want to know if one insert statement can insert data from a html form to 4 differrent tables in a mysql database, using php. What's the syntax? or give me a sample example.

---

## [Help - HTML from Textarea to MySQL?](https://forum.kirupa.com/t/help-html-from-textarea-to-mysql/234280)

<div class="topic-metadata">

**Author:** [@mar1b0r0man](https://forum.kirupa.com/u/mar1b0r0man)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 1:32am UTC](https://forum.kirupa.com/t/help-html-from-textarea-to-mysql/234280 "2007-08-01T01:32:56Z")

</div>

Hi all, I'm trying to post text from a textarea with html tags to mysql using php but the html tags keeps getting converted. How can prevent this? should I be using some combination of escaping the text, htmlspecialch…

---

## [\[F8\] Exiting a .swf](https://forum.kirupa.com/t/f8-exiting-a-swf/234279)

<div class="topic-metadata">

**Author:** [@WalshJ](https://forum.kirupa.com/u/WalshJ)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 1:18am UTC](https://forum.kirupa.com/t/f8-exiting-a-swf/234279 "2007-08-01T01:18:22Z")

</div>

I want to be able to exit a .swf without using the x in the top right hand corner or without using any number of keystrokes... it is my understanding that flash 8 also has support for java script, but is that in the spec…

---

## [Nice clean menu system that highlights the active page?](https://forum.kirupa.com/t/nice-clean-menu-system-that-highlights-the-active-page/234278)

<div class="topic-metadata">

**Author:** [@VonGizzle](https://forum.kirupa.com/u/VonGizzle)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:56am UTC](https://forum.kirupa.com/t/nice-clean-menu-system-that-highlights-the-active-page/234278 "2007-08-01T00:56:44Z")

</div>

Ok here's my riddle. I would usually use a simple include for the navigation element of my pages, but if I wanted to highlight the subsection on any navigation area the user was currently browsing, I would then have to…

---

## [Html Tables in Flash](https://forum.kirupa.com/t/html-tables-in-flash/234277)

<div class="topic-metadata">

**Author:** [@evrenosogullari](https://forum.kirupa.com/u/evrenosogullari)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:51am UTC](https://forum.kirupa.com/t/html-tables-in-flash/234277 "2007-08-01T00:51:33Z")

</div>

How does one go about putting a table into a flash document, that is controlled by an html page on the server? I've searched everywhere but I've only found a few that charge for the service. I know there must be a simple…

---

## [Draw dashed line](https://forum.kirupa.com/t/draw-dashed-line/234275)

<div class="topic-metadata">

**Author:** [@Natan](https://forum.kirupa.com/u/Natan)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:32am UTC](https://forum.kirupa.com/t/draw-dashed-line/234275 "2007-08-01T00:32:48Z")

</div>

Hello. Can i Draw a dashed line using the ActionScript 3? I just have success draw a normal line but not a dashed line. Thanks

---

## [Flash CS3 error:](https://forum.kirupa.com/t/flash-cs3-error/234273)

<div class="topic-metadata">

**Author:** [@var734](https://forum.kirupa.com/u/var734)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:23am UTC](https://forum.kirupa.com/t/flash-cs3-error/234273 "2007-08-01T00:23:07Z")

</div>

I am new to AS 3 programming. I have written simple program in "sample.as" file and also saved "sample.fla" with a text box in it. I tried to test the movie, it displays nothing. I tried all possibilities to find the ans…

---

## [Should we split the forums? AS3/Flex and AS3/CS3 Confusion](https://forum.kirupa.com/t/should-we-split-the-forums-as3-flex-and-as3-cs3-confusion/234272)

<div class="topic-metadata">

**Author:** [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Replies:** 0\
**Last updated:** [August 1, 2007, 12:20am UTC](https://forum.kirupa.com/t/should-we-split-the-forums-as3-flex-and-as3-cs3-confusion/234272 "2007-08-01T00:20:30Z")

</div>

I keep getting frustrated by the forum arrangements. In the Flash CS3 forum, there is subjects ranging from AS1 to AS3. In the AS3 Forum, there is Flex AS3 threads mixed with Flash AS3 threads. It is starting to get to…

---

## [Flash Mx 2004 Accordion Menu](https://forum.kirupa.com/t/flash-mx-2004-accordion-menu/234271)

<div class="topic-metadata">

**Author:** [@stangrin](https://forum.kirupa.com/u/stangrin)\
**Replies:** 0\
**Last updated:** [July 31, 2007, 11:57pm UTC](https://forum.kirupa.com/t/flash-mx-2004-accordion-menu/234271 "2007-07-31T23:57:16Z")

</div>

Hi All, I found a great Flash 2004 Accordion Menu, it is easy to skin, and the transition is really smooth. One problem though I can't figure out how to make it Load external swf's it was designed for jumping to links …

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

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