# programming

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

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

**Page:** 407

---

## [fscommand2 in Flash Lite 4 (AS3)](https://forum.kirupa.com/t/fscommand2-in-flash-lite-4-as3/314550)

<div class="topic-metadata">

**Author:** [@backinaflash](https://forum.kirupa.com/u/backinaflash)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 2:53pm UTC](https://forum.kirupa.com/t/fscommand2-in-flash-lite-4-as3/314550 "2010-10-01T14:53:53Z")

</div>

Hi! I've got a question about fscommand2 in Flash Lite 4. As far as I know it isn't supported by AS3, but does anyone know of any AS3 alternatives to fscommands like ("GetBatteryLevel"), ("GetSignalLevel"), etc (system…

---

## [String - Replace characters that aren't in the alphabet](https://forum.kirupa.com/t/string-replace-characters-that-arent-in-the-alphabet/314548)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 1:03pm UTC](https://forum.kirupa.com/t/string-replace-characters-that-arent-in-the-alphabet/314548 "2010-10-01T13:03:11Z")

</div>

Hello, I need to be able to 'clean' dynamic string from all symbols (all characters that are not a letter or number..) and replace them with "-" i.e. A Fine "Painting" Number 1 - would equal - a-fine-painting-numb…

---

## [Tower Defence Tutorial](https://forum.kirupa.com/t/tower-defence-tutorial/314538)

<div class="topic-metadata">

**Author:** [@Jovia](https://forum.kirupa.com/u/Jovia)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 8:55am UTC](https://forum.kirupa.com/t/tower-defence-tutorial/314538 "2010-10-01T08:55:54Z")

</div>

Hi everyone! I just created a tutorial on how to create a tower defence game here. http://makeflashgames.com/tutorialsplus/tut\_towerDefence.php Not using any pre-existing framework, I'll be doing everything from scra…

---

## [CS3 AS2 image gallery doesn't go away](https://forum.kirupa.com/t/cs3-as2-image-gallery-doesnt-go-away/314537)

<div class="topic-metadata">

**Author:** [@creamdot777](https://forum.kirupa.com/u/creamdot777)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 8:43am UTC](https://forum.kirupa.com/t/cs3-as2-image-gallery-doesnt-go-away/314537 "2010-10-01T08:43:37Z")

</div>

Hi all, Im a new member to kirupa and have very basic knowledge of flash, so any help would be great. Using Flash CS3, AS2 I followed this great tutorial teaching how to create an image gallery in flash. I have crea…

---

## [Detect HTMLLoader Error](https://forum.kirupa.com/t/detect-htmlloader-error/314534)

<div class="topic-metadata">

**Author:** [@flashisland](https://forum.kirupa.com/u/flashisland)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 1:17am UTC](https://forum.kirupa.com/t/detect-htmlloader-error/314534 "2010-10-01T01:17:03Z")

</div>

Is there any way to detect a failed load operation when using the HTMLLoader in Air? I'm working on a browser-type application and I need to know when the user has lost internet connection so an error can be displayed. R…

---

## [Questions about preloading and library items](https://forum.kirupa.com/t/questions-about-preloading-and-library-items/314533)

<div class="topic-metadata">

**Author:** [@rohan](https://forum.kirupa.com/u/rohan)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 1:02am UTC](https://forum.kirupa.com/t/questions-about-preloading-and-library-items/314533 "2010-10-01T01:02:07Z")

</div>

Hi all, so I have a few questions about preloading and specifically preloading in relation to items within the library which get added to the stage through AS3. The main thing I don't understand is, what is the libr…

---

## [RSS XML PHP why wouldn't this work?](https://forum.kirupa.com/t/rss-xml-php-why-wouldnt-this-work/314531)

<div class="topic-metadata">

**Author:** [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 12:31am UTC](https://forum.kirupa.com/t/rss-xml-php-why-wouldnt-this-work/314531 "2010-10-01T00:31:15Z")

</div>

I'm trying to use an API that gives me an RSS feed in XML\_Unserializer data structure (whatever that means). The XML is stored in $event, and I have this code as the foreach() foreach($event-\>item as $items){ …

---

## [Projector customization?](https://forum.kirupa.com/t/projector-customization/314530)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 12:24am UTC](https://forum.kirupa.com/t/projector-customization/314530 "2010-10-01T00:24:23Z")

</div>

Not sure whether this is the correct place to ask this question. When I run my program/movie in a projector such as Flash Player 8, in the top right-hand corner of the window frame of the player are 3 buttons: o mini…

---

## [Flashvars works in swf not html](https://forum.kirupa.com/t/flashvars-works-in-swf-not-html/314529)

<div class="topic-metadata">

**Author:** [@phlegma](https://forum.kirupa.com/u/phlegma)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 12:13am UTC](https://forum.kirupa.com/t/flashvars-works-in-swf-not-html/314529 "2010-10-01T00:13:32Z")

</div>

Hey guys, I can load up my .swf in Firefox and using the flashvars url: test.swf?movie=2 works fine when i try to use: test.html?movie=2 it does not do my requested action. what tag do i need in the html t…

---

## [Learning GOOD game development](https://forum.kirupa.com/t/learning-good-game-development/314528)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 1, 2010, 12:00am UTC](https://forum.kirupa.com/t/learning-good-game-development/314528 "2010-10-01T00:00:19Z")

</div>

Monologue text (feel free to skip down to the good part) Last week I was asked to create a simple game in AS3 to show my skills and general coding style. It was then I realized that creating games is a whole lot differen…

---

## [I could use some AS3 assistance. Please and Thanks!](https://forum.kirupa.com/t/i-could-use-some-as3-assistance-please-and-thanks/314525)

<div class="topic-metadata">

**Author:** [@sirding](https://forum.kirupa.com/u/sirding)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 10:07pm UTC](https://forum.kirupa.com/t/i-could-use-some-as3-assistance-please-and-thanks/314525 "2010-09-30T22:07:05Z")

</div>

I had a developer who created a flash slideshow which utilized xml to load the image and attach a url to it. The project works as it should except for the urls...which seems to be set to the first one you click on. I …

---

## [Flash CS5 - Air 2 - local file access](https://forum.kirupa.com/t/flash-cs5-air-2-local-file-access/314524)

<div class="topic-metadata">

**Author:** [@lackmaster](https://forum.kirupa.com/u/lackmaster)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 9:49pm UTC](https://forum.kirupa.com/t/flash-cs5-air-2-local-file-access/314524 "2010-09-30T21:49:53Z")

</div>

I'm sorry if this is addressed somewhere, but I did try to find it. I have a Flash project that plays FLVs from (http://) sources and it works fine when I publish it as AIR 2. I want to save and access my FLVs locally, …

---

## [Help on action script...should be simple I guess](https://forum.kirupa.com/t/help-on-action-script-should-be-simple-i-guess/314523)

<div class="topic-metadata">

**Author:** [@robertooo](https://forum.kirupa.com/u/robertooo)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 9:20pm UTC](https://forum.kirupa.com/t/help-on-action-script-should-be-simple-i-guess/314523 "2010-09-30T21:20:43Z")

</div>

Hi, I found this apple menu dock style which I wanna use for my personal project. http://jrgraphix.net/research/flash-dock-mx-2004.php The problem is I can't load the .swf file into the main .swf with the loadMovie f…

---

## [Event from an Instance](https://forum.kirupa.com/t/event-from-an-instance/314520)

<div class="topic-metadata">

**Author:** [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 8:20pm UTC](https://forum.kirupa.com/t/event-from-an-instance/314520 "2010-09-30T20:20:00Z")

</div>

I have a button which is an instance of a "button1" class. The button is instantiated by an instance of the"introScreen" class which is instantiated by the "screenHandler"class. I'm not sure how to attack getting an in…

---

## [OSMF audio loading and playing problems in Chrome and Safari](https://forum.kirupa.com/t/osmf-audio-loading-and-playing-problems-in-chrome-and-safari/314517)

<div class="topic-metadata">

**Author:** [@Aduen](https://forum.kirupa.com/u/Aduen)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 6:19pm UTC](https://forum.kirupa.com/t/osmf-audio-loading-and-playing-problems-in-chrome-and-safari/314517 "2010-09-30T18:19:18Z")

</div>

If been trying to refurbish my website using solely OSMF but, the sound part gives problems in various browsers. It works in IE6 and FireFox but, it doesnt in Chrome and Safari. Does anyone know what is happening and wha…

---

## [Need Random order for movieclips presentation](https://forum.kirupa.com/t/need-random-order-for-movieclips-presentation/314513)

<div class="topic-metadata">

**Author:** [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 4:22pm UTC](https://forum.kirupa.com/t/need-random-order-for-movieclips-presentation/314513 "2010-09-30T16:22:43Z")

</div>

Hi guys, I am working on a website and I have to make a flash banner under the header. In this flash banner, I have 9 different movie clips. Each clip is in fact a picture and a text animated going with it. But everyti…

---

## [Render bitmap: What's wrong with this code?](https://forum.kirupa.com/t/render-bitmap-whats-wrong-with-this-code/314512)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 4:11pm UTC](https://forum.kirupa.com/t/render-bitmap-whats-wrong-with-this-code/314512 "2010-09-30T16:11:54Z")

</div>

I want to render a movieclip into a bitmap, and then chop the bitmap up into pieces (a grid). Ultimately I want this to result in an explosion but right now I'm working through the code that creates the grid of bitmaps. …

---

## [Image SlideShow with image number buttons to go back to desired image](https://forum.kirupa.com/t/image-slideshow-with-image-number-buttons-to-go-back-to-desired-image/314511)

<div class="topic-metadata">

**Author:** [@su2](https://forum.kirupa.com/u/su2)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 4:08pm UTC](https://forum.kirupa.com/t/image-slideshow-with-image-number-buttons-to-go-back-to-desired-image/314511 "2010-09-30T16:08:07Z")

</div>

Hi Guys, I am very new to flash. I am trying to create a image slideshow where it has numbers in the slideshow and user can click on any number to go to that particular image. This is similar to target's homepage ban…

---

## [Anothe drag and drop question](https://forum.kirupa.com/t/anothe-drag-and-drop-question/314508)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 3:13pm UTC](https://forum.kirupa.com/t/anothe-drag-and-drop-question/314508 "2010-09-30T15:13:28Z")

</div>

OK. So, I am trying to populate 2 dictionary instances in 2 for-loops. Then later I am trying to reference the objects that are stored in the dictionaries as the objects are dragged and dropped. I am having a problem wit…

---

## [高效节能热泵热水器](https://forum.kirupa.com/t/topic/314506)

<div class="topic-metadata">

**Author:** [@fxtsd34z](https://forum.kirupa.com/u/fxtsd34z)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 2:21pm UTC](https://forum.kirupa.com/t/topic/314506 "2010-09-30T14:21:18Z")

</div>

\[color=#0066ff\] 热泵热水器高效\[节能热泵\[url=http://www.wwxx2008.com/index.htm\]热水器、\[url=http://www.wwxx2008.com/index.htm\]空气源热泵热水器、\[url=http://www.wwxx2008.com/water.htm\]水源热泵\[url=http://www.wwxx2008.com/index.htm\]热水器、地…

---

## [Sound and MVC](https://forum.kirupa.com/t/sound-and-mvc/314505)

<div class="topic-metadata">

**Author:** [@sabird](https://forum.kirupa.com/u/sabird)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 2:08pm UTC](https://forum.kirupa.com/t/sound-and-mvc/314505 "2010-09-30T14:08:32Z")

</div>

I was wondering if it could be accurately said that the relationship between the Sound, SoundChannel, and SoundTransform classes is a Model-View-Controller pattern? I'm guessing the answer is "no, at least not exactly." …

---

## [Table in a div, can't kill weird spacing?](https://forum.kirupa.com/t/table-in-a-div-cant-kill-weird-spacing/314504)

<div class="topic-metadata">

**Author:** [@theSchtickler](https://forum.kirupa.com/u/theSchtickler)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 12:49pm UTC](https://forum.kirupa.com/t/table-in-a-div-cant-kill-weird-spacing/314504 "2010-09-30T12:49:57Z")

</div>

Hey there, Anyone know how to tackle this one? When I place the table inside the div, there is a few pixel gap on the left side of the table I cant seem to kill. Is this a bug? \<html\> \<head\> \<style type="text/css"\> …

---

## [Sun Shou Shan investment talent from overseas to a](https://forum.kirupa.com/t/sun-shou-shan-investment-talent-from-overseas-to-a/314503)

<div class="topic-metadata">

**Author:** [@a3s11y04d](https://forum.kirupa.com/u/a3s11y04d)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 12:34pm UTC](https://forum.kirupa.com/t/sun-shou-shan-investment-talent-from-overseas-to-a/314503 "2010-09-30T12:34:20Z")

</div>

,webspace Source: China Press reported (This article Source: General Administration of Press and Publication)

---

## [Scroller Text](https://forum.kirupa.com/t/scroller-text/314500)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 11:35am UTC](https://forum.kirupa.com/t/scroller-text/314500 "2010-09-30T11:35:45Z")

</div>

Hello Gurus I have three movie clips on the stage. When I clicked the “but\_one” movie clip a scroller come down with a text in it. Is it possible to load different text from three different text file ( so that it …

---

## [XML Parsing using PHP](https://forum.kirupa.com/t/xml-parsing-using-php/314499)

<div class="topic-metadata">

**Author:** [@NewbAppDev](https://forum.kirupa.com/u/NewbAppDev)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 11:29am UTC](https://forum.kirupa.com/t/xml-parsing-using-php/314499 "2010-09-30T11:29:49Z")

</div>

I'm working on a project that requires an XML file to be parsed and saved to an xls file. The problem I'm having is that I can't get the data from the XML file into the xls file. I was able to create the xls file using t…

---

## [SWF behaviour changes for no apparent reason](https://forum.kirupa.com/t/swf-behaviour-changes-for-no-apparent-reason/314498)

<div class="topic-metadata">

**Author:** [@andalusite](https://forum.kirupa.com/u/andalusite)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 10:44am UTC](https://forum.kirupa.com/t/swf-behaviour-changes-for-no-apparent-reason/314498 "2010-09-30T10:44:04Z")

</div>

Apologies if this is the wrong board... I have several two-sided ecards made with Papervision and TweenLite to flip them over. A couple of days ago the "flip" animation changed behaviour. This is in ecards I made several…

---

## [Conditional tylesheet for IE7 not loading](https://forum.kirupa.com/t/conditional-tylesheet-for-ie7-not-loading/314497)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 9:20am UTC](https://forum.kirupa.com/t/conditional-tylesheet-for-ie7-not-loading/314497 "2010-09-30T09:20:13Z")

</div>

Hi guys! I've created a site for a client which works fine in Firefox, and surprisingly, almost does in IE. The logo is slightly out of line in IE7 and earlier. I've edited the CSS using the IE Dev Toolbar and upload…

---

## [How to put the content below images on the home page?](https://forum.kirupa.com/t/how-to-put-the-content-below-images-on-the-home-page/314492)

<div class="topic-metadata">

**Author:** [@ashadweb](https://forum.kirupa.com/u/ashadweb)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 8:04am UTC](https://forum.kirupa.com/t/how-to-put-the-content-below-images-on-the-home-page/314492 "2010-09-30T08:04:46Z")

</div>

Hi, I'm trying to edit a template in zencart and customizing it. But dont know how to put the content below images on the home page? http://www.corsetsnbasques.co.uk Any Ideas? Thanks

---

## [Need HELP clearing values](https://forum.kirupa.com/t/need-help-clearing-values/314488)

<div class="topic-metadata">

**Author:** [@vylan](https://forum.kirupa.com/u/vylan)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 5:50am UTC](https://forum.kirupa.com/t/need-help-clearing-values/314488 "2010-09-30T05:50:03Z")

</div>

I stumbled across the sliding menu tutorial. I'm wondering how I can reset the menu back to the beginning if I use additional sliders. I have the slider working to flip from one page to the next (left/right). The page th…

---

## [Purging browser cache?](https://forum.kirupa.com/t/purging-browser-cache/314485)

<div class="topic-metadata">

**Author:** [@KateH](https://forum.kirupa.com/u/KateH)\
**Replies:** 0\
**Last updated:** [September 30, 2010, 12:05am UTC](https://forum.kirupa.com/t/purging-browser-cache/314485 "2010-09-30T00:05:12Z")

</div>

Hello, I was wondering if there is an Action that will force empty the viewers browser cache? Thanks, Kate

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

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