# programming

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

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

**Page:** 884

---

## [Basic AS 2.0 to 3.0 Variable help needed!](https://forum.kirupa.com/t/basic-as-2-0-to-3-0-variable-help-needed/284086)

<div class="topic-metadata">

**Author:** [@Frey](https://forum.kirupa.com/u/Frey)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 11:01pm UTC](https://forum.kirupa.com/t/basic-as-2-0-to-3-0-variable-help-needed/284086 "2009-03-14T23:01:54Z")

</div>

Hi guys \[smiley\] Basically I've been following this tutorial, here, which is for AS2, but I've been altering it to make it all 3.0, but around the 10/12min mark doing what is done in the video just brings a bunch of (1…

---

## [RSS feed in a flash site](https://forum.kirupa.com/t/rss-feed-in-a-flash-site/284084)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 9:19pm UTC](https://forum.kirupa.com/t/rss-feed-in-a-flash-site/284084 "2009-03-14T21:19:49Z")

</div>

Hi there I am thinking about SEO. Today I have a thought and i would like some comments to it. I think that if I use RSS format in my site newsticker google can see the news. Unfortunately I don't knoe how to do tha…

---

## [What is the reason this is done?](https://forum.kirupa.com/t/what-is-the-reason-this-is-done/284083)

<div class="topic-metadata">

**Author:** [@Tsukiyomi](https://forum.kirupa.com/u/Tsukiyomi)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 9:15pm UTC](https://forum.kirupa.com/t/what-is-the-reason-this-is-done/284083 "2009-03-14T21:15:03Z")

</div>

I've seen something in a few custom classes, tutorials and articles I've read as to how people handle their class variables. Sometimes I see it set up like this: private var container:Sprite; private var box:TextF…

---

## [Code Problem. I'm stumped!](https://forum.kirupa.com/t/code-problem-im-stumped/284082)

<div class="topic-metadata">

**Author:** [@Woogs](https://forum.kirupa.com/u/Woogs)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 9:13pm UTC](https://forum.kirupa.com/t/code-problem-im-stumped/284082 "2009-03-14T21:13:17Z")

</div>

Hello all. I've run into an Actionscript 3.0 problem recently that I can't seem to figure out. The code is pretty simple. Where is this '000000000001' comming from? :stare: Thanks. trace(array\[0\]); // 58.24 trace(arra…

---

## [(Need Help!) Enemy AI and Screen](https://forum.kirupa.com/t/need-help-enemy-ai-and-screen/284080)

<div class="topic-metadata">

**Author:** [@Saiya\_Uchima](https://forum.kirupa.com/u/Saiya_Uchima)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 8:47pm UTC](https://forum.kirupa.com/t/need-help-enemy-ai-and-screen/284080 "2009-03-14T20:47:45Z")

</div>

My Situation: I guess in a sense, I'm trying to create a game with similar game play to \*Legend of Zelda: A Link to The Past. \*Except, with much more advanced AI. First of all, I don't want to make it a tile-based game…

---

## [Flash Website + Not recognizing frame labels/stop action - plays thru timeline](https://forum.kirupa.com/t/flash-website-not-recognizing-frame-labels-stop-action-plays-thru-timeline/284079)

<div class="topic-metadata">

**Author:** [@lisahagun](https://forum.kirupa.com/u/lisahagun)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 8:06pm UTC](https://forum.kirupa.com/t/flash-website-not-recognizing-frame-labels-stop-action-plays-thru-timeline/284079 "2009-03-14T20:06:26Z")

</div>

Hi, I have built a couple of sites in Flash, however, I have a problem with a current site I'm working on. My client wants various photos to fade out in a "checkerboard" fashion, which I am doing via its own movie clip a…

---

## [Stand alone video](https://forum.kirupa.com/t/stand-alone-video/284078)

<div class="topic-metadata">

**Author:** [@WmLambert](https://forum.kirupa.com/u/WmLambert)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 6:54pm UTC](https://forum.kirupa.com/t/stand-alone-video/284078 "2009-03-14T18:54:11Z")

</div>

Hello. Making animated movies from .eps elements created in Illustrator is easy. My lack of knowledge comes from understanding the transport process. Generally, I can build a video, save and compress it, and export as…

---

## [Tween into position when a movie clip is automaticcally centered to stage](https://forum.kirupa.com/t/tween-into-position-when-a-movie-clip-is-automaticcally-centered-to-stage/284077)

<div class="topic-metadata">

**Author:** [@jeros10](https://forum.kirupa.com/u/jeros10)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 5:53pm UTC](https://forum.kirupa.com/t/tween-into-position-when-a-movie-clip-is-automaticcally-centered-to-stage/284077 "2009-03-14T17:53:48Z")

</div>

I hav movieclips in a flash document that i have autocenter when the stage is scaled code is something like this: clients\_mc.y = Math.round((stage.stageHeight/2)-15); stage.addEventListener(Event.RESIZE, resizeClient…

---

## [Mouse Click Passthrough?](https://forum.kirupa.com/t/mouse-click-passthrough/284075)

<div class="topic-metadata">

**Author:** [@almo](https://forum.kirupa.com/u/almo)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 5:39pm UTC](https://forum.kirupa.com/t/mouse-click-passthrough/284075 "2009-03-14T17:39:41Z")

</div>

Hi! I have a movie clip, and I would like it to stop blocking mouse clicks from getting to deeper items on the stage. I haven't added any eventlisteners to the offending clip, but when it is overlapping other clips t…

---

## [Disabling FlVplayback](https://forum.kirupa.com/t/disabling-flvplayback/284073)

<div class="topic-metadata">

**Author:** [@jeros10](https://forum.kirupa.com/u/jeros10)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 4:49pm UTC](https://forum.kirupa.com/t/disabling-flvplayback/284073 "2009-03-14T16:49:16Z")

</div>

I have a flash document that has FLVplayback components in it. the flash file itself can go full screen, but i dont want the FLVplayback fullscreen to take over when i get to that section. any thoughts?

---

## [No WMV support in CS4?](https://forum.kirupa.com/t/no-wmv-support-in-cs4/284071)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 4:35pm UTC](https://forum.kirupa.com/t/no-wmv-support-in-cs4/284071 "2009-03-14T16:35:36Z")

</div>

I have the CS4 trial and can't encode WMV - I've tried through the Flash Studio and the Media Encoder. Any ideas why? I could on Flash 8, which was the version I used to have. I have bought the full version of Design Pr…

---

## [Security violation when loading from youtube](https://forum.kirupa.com/t/security-violation-when-loading-from-youtube/284070)

<div class="topic-metadata">

**Author:** [@Johnsson](https://forum.kirupa.com/u/Johnsson)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 4:18pm UTC](https://forum.kirupa.com/t/security-violation-when-loading-from-youtube/284070 "2009-03-14T16:18:08Z")

</div>

Hi!! I'm trying to play youtube videos on my webpage..... It's worked before, but now there seem to be some sort of security violation... I've tried with this inside of flash: Security.allowDomain("www.youtube.co…

---

## [Create preview/play button like youtube?](https://forum.kirupa.com/t/create-preview-play-button-like-youtube/284068)

<div class="topic-metadata">

**Author:** [@animatrix](https://forum.kirupa.com/u/animatrix)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:42pm UTC](https://forum.kirupa.com/t/create-preview-play-button-like-youtube/284068 "2009-03-14T15:42:44Z")

</div>

I saw this tutorial and it works great in actionscript 3.0 on its own - http://www.monkeyflash.com/flash/pos...r\_flash\_video/ But does anyone know to make something like this in actionscript 2.0? The reason being is m…

---

## [Writing a class to use with a MovieClip that's on stage](https://forum.kirupa.com/t/writing-a-class-to-use-with-a-movieclip-thats-on-stage/284067)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:42pm UTC](https://forum.kirupa.com/t/writing-a-class-to-use-with-a-movieclip-thats-on-stage/284067 "2009-03-14T15:42:07Z")

</div>

Sorry I'm new to this so forgive me if I explain it wrong. If you put a moviecilp on the stage and then write a class that extends movieclip, is it possible to make it so that this references inside your class refer to…

---

## [External .as files without classes](https://forum.kirupa.com/t/external-as-files-without-classes/284064)

<div class="topic-metadata">

**Author:** [@DrQuincy](https://forum.kirupa.com/u/DrQuincy)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:12pm UTC](https://forum.kirupa.com/t/external-as-files-without-classes/284064 "2009-03-14T15:12:49Z")

</div>

Hi Let's say you have a ton of code in your timeline but none of it is classes. Is it possible to put these into several external .as files? If so, how do you include them? Thanks.

---

## [onRelease disable menu button](https://forum.kirupa.com/t/onrelease-disable-menu-button/284061)

<div class="topic-metadata">

**Author:** [@jamesrobins](https://forum.kirupa.com/u/jamesrobins)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 2:22pm UTC](https://forum.kirupa.com/t/onrelease-disable-menu-button/284061 "2009-03-14T14:22:12Z")

</div>

Hi guys, I was hoping someone could help me - the attached menu has functions for onRollover, and onRollout, however I was wondering if it was possible to create a function for onRelease that would mean that once the m…

---

## [A few Class questions](https://forum.kirupa.com/t/a-few-class-questions/284059)

<div class="topic-metadata">

**Author:** [@Dhryn](https://forum.kirupa.com/u/Dhryn)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 2:02pm UTC](https://forum.kirupa.com/t/a-few-class-questions/284059 "2009-03-14T14:02:31Z")

</div>

I have recently moved from AS2 to AS3 and I am finding the transition fairly easy, however I do have a few questions, some of which may not have been possible with AS2 but I would like to achieve them in AS3 Is it pos…

---

## [Editing a already up and running web site](https://forum.kirupa.com/t/editing-a-already-up-and-running-web-site/284057)

<div class="topic-metadata">

**Author:** [@Longjohnsilver](https://forum.kirupa.com/u/Longjohnsilver)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 1:34pm UTC](https://forum.kirupa.com/t/editing-a-already-up-and-running-web-site/284057 "2009-03-14T13:34:34Z")

</div>

Hi i am desperate for some help on editing my website a friend bult for me in flash..i have flash cs4 when i import to library all i seem to get are lots of symbols a few gifs and my video file , and the main swf ...trou…

---

## [\[Flash8\] Need help with XML photogallery tutorial](https://forum.kirupa.com/t/flash8-need-help-with-xml-photogallery-tutorial/284056)

<div class="topic-metadata">

**Author:** [@Remii](https://forum.kirupa.com/u/Remii)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 12:06pm UTC](https://forum.kirupa.com/t/flash8-need-help-with-xml-photogallery-tutorial/284056 "2009-03-14T12:06:01Z")

</div>

Hi, As part of my course at college I am designing a digital CV and I have got to the stage of presenting my work within the flash document. The XML with thumbnail photogallery tutorial on Kirupa was brilliantly writte…

---

## [Problem in creating Sprite array of objects](https://forum.kirupa.com/t/problem-in-creating-sprite-array-of-objects/284054)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 11:28am UTC](https://forum.kirupa.com/t/problem-in-creating-sprite-array-of-objects/284054 "2009-03-14T11:28:42Z")

</div>

Hi all, I am new to Flash and AS3. I need AS3 code to create an array of Sprite type of objects. But, How can i do it? Reply me. It's urgent... Thanks in advance.... Srihari.Ch

---

## [Enable .htaccess on localhost](https://forum.kirupa.com/t/enable-htaccess-on-localhost/284052)

<div class="topic-metadata">

**Author:** [@g\_necionis](https://forum.kirupa.com/u/g_necionis)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 9:10am UTC](https://forum.kirupa.com/t/enable-htaccess-on-localhost/284052 "2009-03-14T09:10:24Z")

</div>

Hello Everybody, I think this problem was solved many times but I still want to ask Your help. I installed Apache on my WinXP and PHP (5 version) using this tutorial.:m: Enabled AllowOverride mode to All and I was trying…

---

## [Creating a scrolling marquee in AS3](https://forum.kirupa.com/t/creating-a-scrolling-marquee-in-as3/284049)

<div class="topic-metadata">

**Author:** [@southpaw](https://forum.kirupa.com/u/southpaw)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 7:47am UTC](https://forum.kirupa.com/t/creating-a-scrolling-marquee-in-as3/284049 "2009-03-14T07:47:36Z")

</div>

We've seen it on many websites before, where there is a row of buttons on the page and when you position the mouse on that row, the buttons either scroll up or down depending on the position of the mouse. There are tuts …

---

## [Resizing flash movie to different size broswers](https://forum.kirupa.com/t/resizing-flash-movie-to-different-size-broswers/284046)

<div class="topic-metadata">

**Author:** [@cookingkym](https://forum.kirupa.com/u/cookingkym)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 4:57am UTC](https://forum.kirupa.com/t/resizing-flash-movie-to-different-size-broswers/284046 "2009-03-14T04:57:26Z")

</div>

Hi guys. okay I'm using Flash CS4 and dreamweaver CS4 and AS2. Because i design on a new mac book pro, my resolutions is very high and the flash movie fits perfect in my screen, just the way i want it to sit in every…

---

## [How to split string into array of words](https://forum.kirupa.com/t/how-to-split-string-into-array-of-words/284044)

<div class="topic-metadata">

**Author:** [@fak](https://forum.kirupa.com/u/fak)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:38am UTC](https://forum.kirupa.com/t/how-to-split-string-into-array-of-words/284044 "2009-03-14T03:38:00Z")

</div>

Is it possible to split a string like "Lorem ispum dolor, sit amet. Howdy doody." into an array of words without commas and periods, in one operation? I've tried words:Array = startString.split(String.fromCharCode(32,4…

---

## [Restricting multiple texts to a specific area when the mouse is moved](https://forum.kirupa.com/t/restricting-multiple-texts-to-a-specific-area-when-the-mouse-is-moved/284043)

<div class="topic-metadata">

**Author:** [@small\_guy](https://forum.kirupa.com/u/small_guy)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:34am UTC](https://forum.kirupa.com/t/restricting-multiple-texts-to-a-specific-area-when-the-mouse-is-moved/284043 "2009-03-14T03:34:07Z")

</div>

var myObj:Object = new Object(); Mouse.addListener(myObj); function nameMove() { for (var i:Number = 0; i\<5; i++) { var wordContact:MovieClip = attachMovie("wordContact", "wordContact"+i, i); wordCont…

---

## [Writing Words](https://forum.kirupa.com/t/writing-words/284042)

<div class="topic-metadata">

**Author:** [@mrdamon](https://forum.kirupa.com/u/mrdamon)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:19am UTC](https://forum.kirupa.com/t/writing-words/284042 "2009-03-14T03:19:43Z")

</div>

\[COLOR=black\]\[FONT=Verdana\]I saw a cool animation of a flash site where it appears that the letters of a word are being written stroke by stroke (and of course I can't recall the name of the site, sorry). If anyone know…

---

## [Flash Chat Client with datagrid populated by database](https://forum.kirupa.com/t/flash-chat-client-with-datagrid-populated-by-database/284041)

<div class="topic-metadata">

**Author:** [@mauprice](https://forum.kirupa.com/u/mauprice)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 3:10am UTC](https://forum.kirupa.com/t/flash-chat-client-with-datagrid-populated-by-database/284041 "2009-03-14T03:10:50Z")

</div>

I found this tutorial, it uses the Flash Datagrid and Text Area components. The chat client uses PHP and MySQL as well. It's a great example of using the flash datagrid. The demo thats up there shows you can type a messa…

---

## [Div border line needs to be variable](https://forum.kirupa.com/t/div-border-line-needs-to-be-variable/284038)

<div class="topic-metadata">

**Author:** [@celicasaur](https://forum.kirupa.com/u/celicasaur)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 1:22am UTC](https://forum.kirupa.com/t/div-border-line-needs-to-be-variable/284038 "2009-03-14T01:22:04Z")

</div>

I have a main container div layer that houses all of my page content. Now, I have a vertical border line on either side of the container, but the problem is that I have to set a static height from the css page. For ex…

---

## [Dynamic text box eating too much memory?](https://forum.kirupa.com/t/dynamic-text-box-eating-too-much-memory/284037)

<div class="topic-metadata">

**Author:** [@djskimo](https://forum.kirupa.com/u/djskimo)\
**Replies:** 0\
**Last updated:** [March 14, 2009, 12:10am UTC](https://forum.kirupa.com/t/dynamic-text-box-eating-too-much-memory/284037 "2009-03-14T00:10:05Z")

</div>

Hi, I have developed an online chat application based in AS3. Users report the chat gets really sluggish after sometime. Days of debug point to the flash movie growing in memory! The only thing I can think of is the …

---

## [Preload my home page with .SWF & .PNG Files](https://forum.kirupa.com/t/preload-my-home-page-with-swf-png-files/284029)

<div class="topic-metadata">

**Author:** [@jcody777](https://forum.kirupa.com/u/jcody777)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 10:23pm UTC](https://forum.kirupa.com/t/preload-my-home-page-with-swf-png-files/284029 "2009-03-13T22:23:05Z")

</div>

I am having trouble preloading my .swf files. Can anyone tell me how to create a "index" Page that says page loading while all of my .swf & .png files upload? Thank you for any help! Jessica

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

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