# programming

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

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

**Page:** 1007

---

## [HTML in text box](https://forum.kirupa.com/t/html-in-text-box/276000)

<div class="topic-metadata">

**Author:** [@nxsd](https://forum.kirupa.com/u/nxsd)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 3:07am UTC](https://forum.kirupa.com/t/html-in-text-box/276000 "2008-11-21T03:07:23Z")

</div>

So I'm trying to put RSS data in a text box, with formatting to the titles and the like. I have a text box with the instance name of "aText", and I have the 'Render text as HTML' checked. aText.htmlText = ""; for…

---

## [Flash Quiz with Scorm Tracking](https://forum.kirupa.com/t/flash-quiz-with-scorm-tracking/275999)

<div class="topic-metadata">

**Author:** [@val\_ilonka](https://forum.kirupa.com/u/val_ilonka)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 2:51am UTC](https://forum.kirupa.com/t/flash-quiz-with-scorm-tracking/275999 "2008-11-21T02:51:49Z")

</div>

Hi, I have a problem to capture a value from flash. I am using scorm tracking 1.2 and i publish the flash with scorm tracking 1.2 into HTML. The problem is, how does the scorm read the value from my flash? I find no asso…

---

## [Still MovieClip Loader](https://forum.kirupa.com/t/still-movieclip-loader/275992)

<div class="topic-metadata">

**Author:** [@tolgainam](https://forum.kirupa.com/u/tolgainam)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 1:04am UTC](https://forum.kirupa.com/t/still-movieclip-loader/275992 "2008-11-21T01:04:29Z")

</div>

Hello, I am trying to make a movieclip loader that has the fallowing functions. Think that you loaded an image to an container, and you want to load another image. Normally when you click a button to load, the preloade…

---

## [AS2 Preview works, exported swf does not?!](https://forum.kirupa.com/t/as2-preview-works-exported-swf-does-not/275991)

<div class="topic-metadata">

**Author:** [@ci5ic](https://forum.kirupa.com/u/ci5ic)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 1:03am UTC](https://forum.kirupa.com/t/as2-preview-works-exported-swf-does-not/275991 "2008-11-21T01:03:11Z")

</div>

If it is relevant, I am using Flash CS3 Professional. I have been beating my head against the wall with this... basically, what happened is I developed an swf player that creates a playlist from a loaded XML file, load…

---

## [TypeError: Error #1009:](https://forum.kirupa.com/t/typeerror-error-1009/275989)

<div class="topic-metadata">

**Author:** [@whytefly](https://forum.kirupa.com/u/whytefly)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:55am UTC](https://forum.kirupa.com/t/typeerror-error-1009/275989 "2008-11-21T00:55:26Z")

</div>

TypeError: Error #1009: Cannot access a property or method of a null object reference. at test\_fla::MainTimeline/test\_fla::frame1() Everything was working fine until I added a new btn (btn\_4XPress) on the branding page…

---

## [Writing XML using AS3](https://forum.kirupa.com/t/writing-xml-using-as3/275987)

<div class="topic-metadata">

**Author:** [@Beaulne](https://forum.kirupa.com/u/Beaulne)\
**Replies:** 0\
**Last updated:** [November 21, 2008, 12:00am UTC](https://forum.kirupa.com/t/writing-xml-using-as3/275987 "2008-11-21T00:00:27Z")

</div>

Hello, I would like to know if there is a way to write to an xml file using Flash and Actionscript. What I want to do is write to an xml file and then access it later. Thanks!

---

## [Looking for some Direction](https://forum.kirupa.com/t/looking-for-some-direction/275986)

<div class="topic-metadata">

**Author:** [@ganessian](https://forum.kirupa.com/u/ganessian)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 11:47pm UTC](https://forum.kirupa.com/t/looking-for-some-direction/275986 "2008-11-20T23:47:49Z")

</div>

hello again! I am in the process of putting together an "eTeam" for a rap artist, and I would like to make sure I am headed in the right direction, as there will be a lot of learning involved - i am new to PHP and MySql. …

---

## [setInterval for a photo gallery](https://forum.kirupa.com/t/setinterval-for-a-photo-gallery/275985)

<div class="topic-metadata">

**Author:** [@VincenzoD](https://forum.kirupa.com/u/VincenzoD)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 11:09pm UTC](https://forum.kirupa.com/t/setinterval-for-a-photo-gallery/275985 "2008-11-20T23:09:22Z")

</div>

Hi ! I found a very good script : http://www.flash-game-design.com/flash-tutorials/triple-scroll-gallery.html with the actions script code here : http://www.flash-game-design.com/flash-tutorials/3scrollGallery-flash-tuto…

---

## [XML Namespace Problem](https://forum.kirupa.com/t/xml-namespace-problem/275983)

<div class="topic-metadata">

**Author:** [@YAUN](https://forum.kirupa.com/u/YAUN)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 11:01pm UTC](https://forum.kirupa.com/t/xml-namespace-problem/275983 "2008-11-20T23:01:26Z")

</div>

Hello, I've got a little WPF app working but only because I modify the xml supplied by the vendor. Here is what they provide: \<P2Main xmlns:si="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-Professional…

---

## [Problem (impossibile?) exporting mp3 data from flash 10 swf...?](https://forum.kirupa.com/t/problem-impossibile-exporting-mp3-data-from-flash-10-swf/275982)

<div class="topic-metadata">

**Author:** [@biznuge](https://forum.kirupa.com/u/biznuge)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 10:53pm UTC](https://forum.kirupa.com/t/problem-impossibile-exporting-mp3-data-from-flash-10-swf/275982 "2008-11-20T22:53:13Z")

</div>

Anyone know anything about how I might get mp3 data out of flash from an embedded wav file compressed in flash as a 16k mp3...? :insomniac: I already have a little php setup on my locahost to catch the required applica…

---

## [Forcing TD or TR to limit height](https://forum.kirupa.com/t/forcing-td-or-tr-to-limit-height/275981)

<div class="topic-metadata">

**Author:** [@BuG56](https://forum.kirupa.com/u/BuG56)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 10:40pm UTC](https://forum.kirupa.com/t/forcing-td-or-tr-to-limit-height/275981 "2008-11-20T22:40:17Z")

</div>

Hello all, I was just wondering if you could help me out with a little problem I seem to be having. You see, I have the following layout ( basically ) \<tr\> \<td\> \<div\> \<script\>Javascript that places a flash file here\</s…

---

## [Preloader to pass variable to loaded swf](https://forum.kirupa.com/t/preloader-to-pass-variable-to-loaded-swf/275979)

<div class="topic-metadata">

**Author:** [@xenos](https://forum.kirupa.com/u/xenos)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 10:01pm UTC](https://forum.kirupa.com/t/preloader-to-pass-variable-to-loaded-swf/275979 "2008-11-20T22:01:31Z")

</div>

I've been reading up on LocalConnection, LoaderInfo, and SharedObject but can't seem to get anything to work. There must be a simple way for a preloader to pass a variable to the swf it loads. I've got a preloader swf …

---

## [Dynamic button text at the hitstate](https://forum.kirupa.com/t/dynamic-button-text-at-the-hitstate/275975)

<div class="topic-metadata">

**Author:** [@nkamp](https://forum.kirupa.com/u/nkamp)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 9:13pm UTC](https://forum.kirupa.com/t/dynamic-button-text-at-the-hitstate/275975 "2008-11-20T21:13:16Z")

</div>

Hello, Last time I get a question "How dow I make button text dynamically". Alex Lexcux send me the answer: var t3:TextField = (btnFeest.overState as DisplayObjectContainer).getChildAt(1) as TextField; t3.text = 'An…

---

## [Move a Flex project from one folder to another](https://forum.kirupa.com/t/move-a-flex-project-from-one-folder-to-another/275972)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 8:48pm UTC](https://forum.kirupa.com/t/move-a-flex-project-from-one-folder-to-another/275972 "2008-11-20T20:48:57Z")

</div>

How can I relocate a Flex project on my system and reestablish the connection to in Flex Builder? I don't see an easy way to relink once I've moved it.

---

## [Loader not loading](https://forum.kirupa.com/t/loader-not-loading/275971)

<div class="topic-metadata">

**Author:** [@bpdp](https://forum.kirupa.com/u/bpdp)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 8:16pm UTC](https://forum.kirupa.com/t/loader-not-loading/275971 "2008-11-20T20:16:42Z")

</div>

Hi all, I'm sure this a real noob question but I can't seem to get this to work. I'm just trying to load an image I know that the variable img\_path is being set correctly because of the trace statements, and LittleSnitch…

---

## [Reverse lines in textfile](https://forum.kirupa.com/t/reverse-lines-in-textfile/275970)

<div class="topic-metadata">

**Author:** [@driz](https://forum.kirupa.com/u/driz)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 7:51pm UTC](https://forum.kirupa.com/t/reverse-lines-in-textfile/275970 "2008-11-20T19:51:07Z")

</div>

Hi, I'm trying to reverse the lines in my text file, here is my code: $filename = "comments.txt"; $date = date('jS F Y'); $time = date('h:i a'); $name = $\_POST\['name'\]; $email = $\_POST\['email'\]; $website = …

---

## [How to develop in Flash the RIGHT way?](https://forum.kirupa.com/t/how-to-develop-in-flash-the-right-way/275968)

<div class="topic-metadata">

**Author:** [@iFlashMuch](https://forum.kirupa.com/u/iFlashMuch)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 6:54pm UTC](https://forum.kirupa.com/t/how-to-develop-in-flash-the-right-way/275968 "2008-11-20T18:54:13Z")

</div>

\[COLOR=black\]\[FONT=Verdana\](note: I guess this is actually more like a general Flash question, but since I just upgraded to Flash CS4 and AS3, I thought this would be the best place)\[/FONT\]\[/COLOR\] \[COLOR=black\]\[FONT=Ver…

---

## [Text problems using Tweener](https://forum.kirupa.com/t/text-problems-using-tweener/275965)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 6:29pm UTC](https://forum.kirupa.com/t/text-problems-using-tweener/275965 "2008-11-20T18:29:23Z")

</div>

I'm using Tweener to fade movie clips in and out. The movie clips contain both graphics and static text. My problem is that some text strangely disappears from the movieclip. It appears that boldfaced text is more like…

---

## [Is there any way to re-execute code on \_currentframe?](https://forum.kirupa.com/t/is-there-any-way-to-re-execute-code-on--currentframe/275964)

<div class="topic-metadata">

**Author:** [@0L4F](https://forum.kirupa.com/u/0L4F)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 6:27pm UTC](https://forum.kirupa.com/t/is-there-any-way-to-re-execute-code-on--currentframe/275964 "2008-11-20T18:27:01Z")

</div>

Hello everyone, I'm working on a project for a major client, that really needs to be finished yesterday. I've run into a situation where it would be very handy to get Flash to re-execute the code on the \_currentframe. …

---

## [unloadandStop missing TriangleMesh3D](https://forum.kirupa.com/t/unloadandstop-missing-trianglemesh3d/275963)

<div class="topic-metadata">

**Author:** [@PV3DFlexer](https://forum.kirupa.com/u/PV3DFlexer)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 5:25pm UTC](https://forum.kirupa.com/t/unloadandstop-missing-trianglemesh3d/275963 "2008-11-20T17:25:20Z")

</div>

I am using Flex Builder Pro/Gumbo 4.0 SDK - Flex Project, targeting FP10. I am using a simple states based model (using enterstate and mouseclick events to execute the loading and unloading of swfs into my main applica…

---

## [Problem with event listeners](https://forum.kirupa.com/t/problem-with-event-listeners/275962)

<div class="topic-metadata">

**Author:** [@cerbellum](https://forum.kirupa.com/u/cerbellum)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 5:09pm UTC](https://forum.kirupa.com/t/problem-with-event-listeners/275962 "2008-11-20T17:09:18Z")

</div>

Hi there, I'm trying to create a dynamic xml based menu with my "limited" AS3 knowledge and ran into a problem. I managed to create the menu but I'm running into some problem with the event listeners. I'm adding an eve…

---

## [CopyPixel Particle Engine](https://forum.kirupa.com/t/copypixel-particle-engine/275961)

<div class="topic-metadata">

**Author:** [@sceneshift](https://forum.kirupa.com/u/sceneshift)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 5:07pm UTC](https://forum.kirupa.com/t/copypixel-particle-engine/275961 "2008-11-20T17:07:22Z")

</div>

I'm trying to create an a particle engine which is as extremely efficient. I was thinking about perhaps using copyPixels, and blitting each particle on screen based on a array of points. I'm not sure if this is the bes…

---

## [MouseCursor.HAND](https://forum.kirupa.com/t/mousecursor-hand/275954)

<div class="topic-metadata">

**Author:** [@jhoncybpr](https://forum.kirupa.com/u/jhoncybpr)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 4:12pm UTC](https://forum.kirupa.com/t/mousecursor-hand/275954 "2008-11-20T16:12:50Z")

</div>

Is possible in AS3 make a movie when the mouse is a open hand? I've foud this in Adobe MouseCursor.HAND = "hand" Any solution? THZ

---

## [How to format a number in actionscript3.0?](https://forum.kirupa.com/t/how-to-format-a-number-in-actionscript3-0/275953)

<div class="topic-metadata">

**Author:** [@doc047](https://forum.kirupa.com/u/doc047)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 3:53pm UTC](https://forum.kirupa.com/t/how-to-format-a-number-in-actionscript3-0/275953 "2008-11-20T15:53:06Z")

</div>

How to format a number in actionscript3.0? For formatting millions etc..

---

## [Drag'n'Drop behind looses target reference](https://forum.kirupa.com/t/dragndrop-behind-looses-target-reference/275952)

<div class="topic-metadata">

**Author:** [@happagirl](https://forum.kirupa.com/u/happagirl)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 3:24pm UTC](https://forum.kirupa.com/t/dragndrop-behind-looses-target-reference/275952 "2008-11-20T15:24:33Z")

</div>

Hi, ok, I'm building a decorate a snow globe ap. The user drags items from a menu and drops them onto the globe. Here's the issue: When the user drags the item and drops it on the globe, I want the glass reflections…

---

## [Tiles. Mapmaking problem](https://forum.kirupa.com/t/tiles-mapmaking-problem/275951)

<div class="topic-metadata">

**Author:** [@Elanz](https://forum.kirupa.com/u/Elanz)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 3:09pm UTC](https://forum.kirupa.com/t/tiles-mapmaking-problem/275951 "2008-11-20T15:09:46Z")

</div>

Hi! I have just built a mapmaker program for my tile game. But i have one problem. I have alot of different tiles. here it goes: i made buttons for each category tiles. Like beach \> basics and so on. if i go into the…

---

## [Movie Clip Communication](https://forum.kirupa.com/t/movie-clip-communication/275947)

<div class="topic-metadata">

**Author:** [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 2:34pm UTC](https://forum.kirupa.com/t/movie-clip-communication/275947 "2008-11-20T14:34:21Z")

</div>

I have a situation with movie clip communication. On the main timeline, I have a movie clip with an instance name of newsBG. Nested inside newsBG is another movie clip, which starts on frame 15 called newsDD. This neste…

---

## [Generating random landscape on runtime](https://forum.kirupa.com/t/generating-random-landscape-on-runtime/275946)

<div class="topic-metadata">

**Author:** [@grebs](https://forum.kirupa.com/u/grebs)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 1:51pm UTC](https://forum.kirupa.com/t/generating-random-landscape-on-runtime/275946 "2008-11-20T13:51:48Z")

</div>

I am trying to use Actionscript 3 to create a bitmap landscape that appears on the stage on runtime. Similar to the tilt control motorbike games. I want this landscape to be randomly generated so that a different landsca…

---

## [Loading MovieClip + Timeline](https://forum.kirupa.com/t/loading-movieclip-timeline/275944)

<div class="topic-metadata">

**Author:** [@OML](https://forum.kirupa.com/u/OML)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 1:35pm UTC](https://forum.kirupa.com/t/loading-movieclip-timeline/275944 "2008-11-20T13:35:39Z")

</div>

Hello, I'm trying to load a FLV file using the Video, NetStream & NetConnection objects. I do this in an actionscript 3.0 class that extends MovieClip. I'm using an event listener on the class object on the ENTER\_FRAM…

---

## [Mario Jump](https://forum.kirupa.com/t/mario-jump/275943)

<div class="topic-metadata">

**Author:** [@ricardo\_sdl](https://forum.kirupa.com/u/ricardo_sdl)\
**Replies:** 0\
**Last updated:** [November 20, 2008, 1:32pm UTC](https://forum.kirupa.com/t/mario-jump/275943 "2008-11-20T13:32:11Z")

</div>

Hello fellows! I would like to know if someone has some example code that implements the "Mario Jump", where you can jump(obviously), move the character in the air and fall, but the reaching of the jump is controlled by …

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

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