# programming

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

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

**Page:** 1382

---

## [Looking for a tutorial on creating an oop website?](https://forum.kirupa.com/t/looking-for-a-tutorial-on-creating-an-oop-website/250388)

<div class="topic-metadata">

**Author:** [@cbandco](https://forum.kirupa.com/u/cbandco)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 6:00am UTC](https://forum.kirupa.com/t/looking-for-a-tutorial-on-creating-an-oop-website/250388 "2008-01-29T06:00:32Z")

</div>

I was just wondering if anyone knew of a tutorial about creating a website in OOP. I'm familiar with creating flash sites and pretty familiar with OOP, but as far as creating my own OOP to accomplish the tasks of a simpl…

---

## [RPG shooting](https://forum.kirupa.com/t/rpg-shooting/250384)

<div class="topic-metadata">

**Author:** [@Darth\_Turtle](https://forum.kirupa.com/u/Darth_Turtle)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 4:59am UTC](https://forum.kirupa.com/t/rpg-shooting/250384 "2008-01-29T04:59:20Z")

</div>

I am trying to make an rpg game but i am having trouble figuring out what the code would be to shoot. because lots of tutorials that i've tried have the bullets shoot in one direction and i want the bullet to shoot from …

---

## [Flash file hosting server?](https://forum.kirupa.com/t/flash-file-hosting-server/250383)

<div class="topic-metadata">

**Author:** [@MaxGhost](https://forum.kirupa.com/u/MaxGhost)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 4:34am UTC](https://forum.kirupa.com/t/flash-file-hosting-server/250383 "2008-01-29T04:34:14Z")

</div>

I don't know if this is the right category to ask this in, but I think I need help to find a good file hosting server/website to save my swiff's in to show examples in a freewebs... Reason is I made stuff in Flash 8 bu…

---

## [Need help with color transform call](https://forum.kirupa.com/t/need-help-with-color-transform-call/250380)

<div class="topic-metadata">

**Author:** [@lkingman](https://forum.kirupa.com/u/lkingman)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 3:17am UTC](https://forum.kirupa.com/t/need-help-with-color-transform-call/250380 "2008-01-29T03:17:09Z")

</div>

This works, but only with the last image. Why? I broke apart a kitchen photo into five .png files so I could click on cabinets or floor, etc. to change color. Using separate functions like "colorCabinets()", "colorFl…

---

## [\[FMX04\]Random Quiz Sound Effects Actionscript](https://forum.kirupa.com/t/fmx04-random-quiz-sound-effects-actionscript/250377)

<div class="topic-metadata">

**Author:** [@Zizi](https://forum.kirupa.com/u/Zizi)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 2:55am UTC](https://forum.kirupa.com/t/fmx04-random-quiz-sound-effects-actionscript/250377 "2008-01-29T02:55:55Z")

</div>

I’m trying to figure how you add correct & wrong sound effects into buttons of a “Who want’s to be a Millionare?” as well as correct & wrong symbols popping up using actionacript. Thanks, much appriciated. All I got so…

---

## [Custom events are driving me mad! :'(](https://forum.kirupa.com/t/custom-events-are-driving-me-mad/250376)

<div class="topic-metadata">

**Author:** [@black\_angel082](https://forum.kirupa.com/u/black_angel082)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 2:55am UTC](https://forum.kirupa.com/t/custom-events-are-driving-me-mad/250376 "2008-01-29T02:55:17Z")

</div>

I need to start really getting into AS3 events, but I'm really confused.. I have read a lot on custom events but I still can't make them work.. Custom Event: package Game{ import flash.events.Event; import f…

---

## [Problem accessing movieclip on stage from Document Class](https://forum.kirupa.com/t/problem-accessing-movieclip-on-stage-from-document-class/250373)

<div class="topic-metadata">

**Author:** [@jcarwile](https://forum.kirupa.com/u/jcarwile)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 2:27am UTC](https://forum.kirupa.com/t/problem-accessing-movieclip-on-stage-from-document-class/250373 "2008-01-29T02:27:53Z")

</div>

Is there anyway to access variables or methods in actionscript in the timeline from a class? I am new to CS3 and started developing with the meat of my code in the timeline. After creating a class and some instances o…

---

## [How to change the width and height of an image loaded in a movieclip](https://forum.kirupa.com/t/how-to-change-the-width-and-height-of-an-image-loaded-in-a-movieclip/250368)

<div class="topic-metadata">

**Author:** [@kitsunegari](https://forum.kirupa.com/u/kitsunegari)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 12:44am UTC](https://forum.kirupa.com/t/how-to-change-the-width-and-height-of-an-image-loaded-in-a-movieclip/250368 "2008-01-29T00:44:34Z")

</div>

Hi I would like to know how I can modify the size properties of an image that is loaded in a movie clip with Loader() In my example, if I change the width and height properties of the movieclip in which the image is lo…

---

## [I need someone to write a quick code please](https://forum.kirupa.com/t/i-need-someone-to-write-a-quick-code-please/250366)

<div class="topic-metadata">

**Author:** [@MDuncanAU](https://forum.kirupa.com/u/MDuncanAU)\
**Replies:** 0\
**Last updated:** [January 29, 2008, 12:22am UTC](https://forum.kirupa.com/t/i-need-someone-to-write-a-quick-code-please/250366 "2008-01-29T00:22:56Z")

</div>

I have done Kirupa's tutorial and read a couple others, but it seems no matter what I do I cannot get a button to launch an external swf into a MovieClip. I can get it to launch onto the stage, but not to a specified MC…

---

## [Input box IF statements](https://forum.kirupa.com/t/input-box-if-statements/250362)

<div class="topic-metadata">

**Author:** [@jose3760](https://forum.kirupa.com/u/jose3760)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 10:55pm UTC](https://forum.kirupa.com/t/input-box-if-statements/250362 "2008-01-28T22:55:33Z")

</div>

Hello again! Im having a problem running an if statement for finding out if what the user has typed into the input box matches what the cheat code actually is. Im adding a cheat to my game, so the user needs to type it i…

---

## [bitmapData oddness](https://forum.kirupa.com/t/bitmapdata-oddness/250360)

<div class="topic-metadata">

**Author:** [@Adamius](https://forum.kirupa.com/u/Adamius)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 10:45pm UTC](https://forum.kirupa.com/t/bitmapdata-oddness/250360 "2008-01-28T22:45:58Z")

</div>

got a bit of a issue with bitmapData, i'm trying to make a replica of a movie clip inside a sperate movie clip at half scale. so far theres been no problems, however the bitmap that gets reutrned is only of the bottom ri…

---

## [Button/actionscript question](https://forum.kirupa.com/t/button-actionscript-question/250356)

<div class="topic-metadata">

**Author:** [@MaxGhost](https://forum.kirupa.com/u/MaxGhost)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 9:46pm UTC](https://forum.kirupa.com/t/button-actionscript-question/250356 "2008-01-28T21:46:56Z")

</div>

I have a particle animation made in Flash 8, and for publishing purposes I want to have an opening page to begin it, then on the second frame (where the actionscript and "flames" are), I have a stop button, to return to …

---

## [Help! problems with scotty's "total" kirupa slideshow](https://forum.kirupa.com/t/help-problems-with-scottys-total-kirupa-slideshow/250351)

<div class="topic-metadata">

**Author:** [@friggingmick](https://forum.kirupa.com/u/friggingmick)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 8:24pm UTC](https://forum.kirupa.com/t/help-problems-with-scottys-total-kirupa-slideshow/250351 "2008-01-28T20:24:21Z")

</div>

I modified some of codes in "total" slideshow to adopt the slide and loop functions from other kirupa slideshow with slide and loop capabilities, but it's frustrating that I couldn't get the it to work. The preloader w…

---

## [How to dynamically create Object’s trough for loop?](https://forum.kirupa.com/t/how-to-dynamically-create-object-s-trough-for-loop/250350)

<div class="topic-metadata">

**Author:** [@Bojan](https://forum.kirupa.com/u/Bojan)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 8:21pm UTC](https://forum.kirupa.com/t/how-to-dynamically-create-object-s-trough-for-loop/250350 "2008-01-28T20:21:27Z")

</div>

\[FONT=Arial\]Hi,\[/FONT\] \[FONT=Arial\]I want to dynamically create 10 Objects trough for loop. Each Object should have unique name.\[/FONT\] \[FONT=Arial\]In previous version od AS you could sove this with these lines of code:\[…

---

## [Cant Pass var url to navigateToURL](https://forum.kirupa.com/t/cant-pass-var-url-to-navigatetourl/250342)

<div class="topic-metadata">

**Author:** [@jrutter](https://forum.kirupa.com/u/jrutter)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 6:26pm UTC](https://forum.kirupa.com/t/cant-pass-var-url-to-navigatetourl/250342 "2008-01-28T18:26:12Z")

</div>

So Im stumped, Im trying to pass a var url - which grabs the URL out of the xml file. I have the code setup correctly and I can see the URL being pulled out of the XML - but I cant seem to get it into the onClickNYOP fun…

---

## [Drag, Drop and Snap Question](https://forum.kirupa.com/t/drag-drop-and-snap-question/250336)

<div class="topic-metadata">

**Author:** [@Crystal](https://forum.kirupa.com/u/Crystal)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 5:20pm UTC](https://forum.kirupa.com/t/drag-drop-and-snap-question/250336 "2008-01-28T17:20:49Z")

</div>

Hello- I am currently working on a game which includes a drag and drop timeline; however, I am unable to get the items to snap into their correct position. I can get the items to snap when dropped, they just do not sn…

---

## [Automatic File Deletion](https://forum.kirupa.com/t/automatic-file-deletion/250333)

<div class="topic-metadata">

**Author:** [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 4:58pm UTC](https://forum.kirupa.com/t/automatic-file-deletion/250333 "2008-01-28T16:58:43Z")

</div>

I've got an application running on my Flash Communication Server that creates small audio files on my FMS as the user uses the site. I need to know... Is there a way to delete these files from the server on a regular …

---

## [\[cf\] Call a cfinclude from database](https://forum.kirupa.com/t/cf-call-a-cfinclude-from-database/250332)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 4:56pm UTC](https://forum.kirupa.com/t/cf-call-a-cfinclude-from-database/250332 "2008-01-28T16:56:39Z")

</div>

I want to take a file that calls all its text from the database, including a cfinclude. But the include doesn't seem to work. I can look at the page source and see the include statement but none of the file that is meant…

---

## [How to make a movieclip face another one?](https://forum.kirupa.com/t/how-to-make-a-movieclip-face-another-one/250330)

<div class="topic-metadata">

**Author:** [@Dancso](https://forum.kirupa.com/u/Dancso)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 4:11pm UTC](https://forum.kirupa.com/t/how-to-make-a-movieclip-face-another-one/250330 "2008-01-28T16:11:08Z")

</div>

Hi, I'm working on a game in which i need help with making a movieclip face another one. I have no idea how to get started with it. Any ideas?

---

## [H.264 Loading?](https://forum.kirupa.com/t/h-264-loading/250329)

<div class="topic-metadata">

**Author:** [@xohol](https://forum.kirupa.com/u/xohol)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:55pm UTC](https://forum.kirupa.com/t/h-264-loading/250329 "2008-01-28T15:55:11Z")

</div>

Hello All, I have been reading that we can now load H.264 encoded movies now. how is this done? what extension do they have to be? can i load an h264 movie into a video object? please help, i have h.264 quicktime…

---

## [Knowing when a movieclip is finished](https://forum.kirupa.com/t/knowing-when-a-movieclip-is-finished/250327)

<div class="topic-metadata">

**Author:** [@Wedge\_Man](https://forum.kirupa.com/u/Wedge_Man)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:52pm UTC](https://forum.kirupa.com/t/knowing-when-a-movieclip-is-finished/250327 "2008-01-28T15:52:22Z")

</div>

Hey All, In old AS2 days you could go into a movieclip's timeline and on the the last frame put something like "stop();" to stop the movieclip. How can I do something like this is AS3? I basically want to play a m…

---

## [Photo Gallery trouble](https://forum.kirupa.com/t/photo-gallery-trouble/250326)

<div class="topic-metadata">

**Author:** [@dpcdpc11](https://forum.kirupa.com/u/dpcdpc11)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:52pm UTC](https://forum.kirupa.com/t/photo-gallery-trouble/250326 "2008-01-28T15:52:11Z")

</div>

i'm a newbie in AS but i'm willing to learn and i've started to make my own flash site...made some simple motion tween, some buttons and then i wanted to make a simple photo gallery but using a transition effect by using…

---

## [Editing Flashmo template # 11](https://forum.kirupa.com/t/editing-flashmo-template-11/250325)

<div class="topic-metadata">

**Author:** [@eurjen](https://forum.kirupa.com/u/eurjen)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:41pm UTC](https://forum.kirupa.com/t/editing-flashmo-template-11/250325 "2008-01-28T15:41:21Z")

</div>

Hi I have downloaded a number of website templates from flashmo.com and I am trying to use them as tutorials. However, I seems to be running into the same problem on most of them. For example purposes if I edit fl…

---

## [Skipping cue point problem (PC bug?)](https://forum.kirupa.com/t/skipping-cue-point-problem-pc-bug/250324)

<div class="topic-metadata">

**Author:** [@demerit](https://forum.kirupa.com/u/demerit)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:40pm UTC](https://forum.kirupa.com/t/skipping-cue-point-problem-pc-bug/250324 "2008-01-28T15:40:15Z")

</div>

Hi, Here's my workflow: Scenario #1: Main swf loads animation swf and audio-only flv with embedded cue points. Scenario #2: Main swf loads audio/video flv without embedded cue points. Audio-only flv contains embe…

---

## [YouTube uses both \<OBJECT\> and \<EMBED\> for their embeddable snippet. Why?](https://forum.kirupa.com/t/youtube-uses-both-object-and-embed-for-their-embeddable-snippet-why/250323)

<div class="topic-metadata">

**Author:** [@Kristopher](https://forum.kirupa.com/u/Kristopher)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:23pm UTC](https://forum.kirupa.com/t/youtube-uses-both-object-and-embed-for-their-embeddable-snippet-why/250323 "2008-01-28T15:23:34Z")

</div>

Hey all, Check out this page, then the upper-right box with the embeddable snippet: YouTube - Justice - D.A.N.C.E (Version Finale) Notice how YouTube has the \<EMBED\> placed inside the \<OBJECT\>? Why did they do that? …

---

## [Loading XML from Absolute path](https://forum.kirupa.com/t/loading-xml-from-absolute-path/250322)

<div class="topic-metadata">

**Author:** [@worthington747](https://forum.kirupa.com/u/worthington747)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:18pm UTC](https://forum.kirupa.com/t/loading-xml-from-absolute-path/250322 "2008-01-28T15:18:40Z")

</div>

I'm trying to load an XML file located at "\[COLOR=#ff0000\]file:///e:/app/data/myXML.xml\[/COLOR\]" into a flash file located under the root (WEB-INF) of a war file. Any help would be greatly appreciated.

---

## [HTML Site Map linking back to Flash](https://forum.kirupa.com/t/html-site-map-linking-back-to-flash/250321)

<div class="topic-metadata">

**Author:** [@cuorebrave](https://forum.kirupa.com/u/cuorebrave)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:18pm UTC](https://forum.kirupa.com/t/html-site-map-linking-back-to-flash/250321 "2008-01-28T15:18:28Z")

</div>

Hey all, There's a button in our flash template that is for a site map. To get better indexing results, we decided to have that button link to an html site map on our website, and then have the html links go back to th…

---

## [Instance of a PNG programatically](https://forum.kirupa.com/t/instance-of-a-png-programatically/250320)

<div class="topic-metadata">

**Author:** [@lilalfyalien](https://forum.kirupa.com/u/lilalfyalien)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 3:10pm UTC](https://forum.kirupa.com/t/instance-of-a-png-programatically/250320 "2008-01-28T15:10:27Z")

</div>

Hi, I fairly new to ActionScript. I think this question is pretty simple but I can' find a simple answer to it. I have a flash file. I have a class called Screen. In Screen I want three properties: Image1, Image2, Im…

---

## [XML Gallery Driven By Folder](https://forum.kirupa.com/t/xml-gallery-driven-by-folder/250318)

<div class="topic-metadata">

**Author:** [@niqhty](https://forum.kirupa.com/u/niqhty)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 2:40pm UTC](https://forum.kirupa.com/t/xml-gallery-driven-by-folder/250318 "2008-01-28T14:40:50Z")

</div>

Hey guys, I've been looking for an XML gallery (source or tutorial) that's driven by a folder... basically like http://www.flashnifties.com/flash\_gallery.php. You just define a folder, as opposed to individual images, …

---

## [AIR Install Badge](https://forum.kirupa.com/t/air-install-badge/250311)

<div class="topic-metadata">

**Author:** [@shubs6](https://forum.kirupa.com/u/shubs6)\
**Replies:** 0\
**Last updated:** [January 28, 2008, 12:35pm UTC](https://forum.kirupa.com/t/air-install-badge/250311 "2008-01-28T12:35:54Z")

</div>

I want to implement functionality for my application so that If a user's PC does not have AIR installed (I'm using version air\_b3\_win\_121207 and Flex Builder 3 beta 3) then it should automatically install it on user's sy…

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

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