# programming

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

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

**Page:** 500

---

## [Playing Sound](https://forum.kirupa.com/t/playing-sound/308882)

<div class="topic-metadata">

**Author:** [@21cracer21](https://forum.kirupa.com/u/21cracer21)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 5:29pm UTC](https://forum.kirupa.com/t/playing-sound/308882 "2010-05-02T17:29:29Z")

</div>

Hey all. I'm working on a game that loops a random sound file everytime the user goes to the menu. When I tried the simulate download in the preview menu, it took a long time to load the first frame (which is a preloader…

---

## [Using this\[\]to reference a variable - not working!](https://forum.kirupa.com/t/using-this-to-reference-a-variable-not-working/308879)

<div class="topic-metadata">

**Author:** [@Boreez](https://forum.kirupa.com/u/Boreez)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 3:32pm UTC](https://forum.kirupa.com/t/using-this-to-reference-a-variable-not-working/308879 "2010-05-02T15:32:33Z")

</div>

I'm writing a function which can take the names of different variables and use them to do some calculations. Long story short, I want to be able to call the function like this: function caseConditionEvaluator( nameOfVa…

---

## [Papervision 3D Cube Tutorial Problem](https://forum.kirupa.com/t/papervision-3d-cube-tutorial-problem/308877)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 12:29pm UTC](https://forum.kirupa.com/t/papervision-3d-cube-tutorial-problem/308877 "2010-05-02T12:29:51Z")

</div>

Hi guys, I'm playing around with papervision and i've followed this tutorial: http://www.gotoandlearn.com/play?id=40 I wrote the code as the tutorial but i have some errors... Here the code: http://pastebin.com/KeRaHBx…

---

## [Loadvars values not loaded in Firefox form](https://forum.kirupa.com/t/loadvars-values-not-loaded-in-firefox-form/308876)

<div class="topic-metadata">

**Author:** [@charles54](https://forum.kirupa.com/u/charles54)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 12:03pm UTC](https://forum.kirupa.com/t/loadvars-values-not-loaded-in-firefox-form/308876 "2010-05-02T12:03:49Z")

</div>

Finding out my that my values are not loading the formfields in Firefox while they are loading perfect in IE i set up a small test. The codes are fine with IE and give a problem with Firefox and Safari //Sending val…

---

## [Movie continues to load after RemoveChildAndStop();](https://forum.kirupa.com/t/movie-continues-to-load-after-removechildandstop/308874)

<div class="topic-metadata">

**Author:** [@MrT1976](https://forum.kirupa.com/u/MrT1976)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 10:50am UTC](https://forum.kirupa.com/t/movie-continues-to-load-after-removechildandstop/308874 "2010-05-02T10:50:47Z")

</div>

Hello everyone, I have a container with the following code to load a 360 virtual tour. It all works fine unless you click the close button before the vr has fully loaded. If you do this, the vr continues to autorotate …

---

## [Changing fill of a button via actionscript](https://forum.kirupa.com/t/changing-fill-of-a-button-via-actionscript/308873)

<div class="topic-metadata">

**Author:** [@hjenes](https://forum.kirupa.com/u/hjenes)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 10:02am UTC](https://forum.kirupa.com/t/changing-fill-of-a-button-via-actionscript/308873 "2010-05-02T10:02:57Z")

</div>

I need to change the fill of a button to a bitmap image after user has clicked it and also disable the button after user has clicked it. Thanks in advance!

---

## [setChildIndex](https://forum.kirupa.com/t/setchildindex/308871)

<div class="topic-metadata">

**Author:** [@fratres](https://forum.kirupa.com/u/fratres)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 8:06am UTC](https://forum.kirupa.com/t/setchildindex/308871 "2010-05-02T08:06:58Z")

</div>

Hi there, I´m a new flash user from Finland. I have question concerning "setChildIndex" -function. I have picture-level (of six pictures). I've set mouse\_over function for those (increasing when MOUSE\_OVER) The pro…

---

## [Help AS2 animating](https://forum.kirupa.com/t/help-as2-animating/308870)

<div class="topic-metadata">

**Author:** [@Iron\_Stark](https://forum.kirupa.com/u/Iron_Stark)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 7:42am UTC](https://forum.kirupa.com/t/help-as2-animating/308870 "2010-05-02T07:42:24Z")

</div>

I am having trouble looping frames in flash mx. I want it when it hits frame 2 that it will loop back to frame one continuously until a button is pressed. If you can help, please do I really need it for a flash animat…

---

## [Invalid BitmapData Error #2015](https://forum.kirupa.com/t/invalid-bitmapdata-error-2015/308869)

<div class="topic-metadata">

**Author:** [@Tony8534875](https://forum.kirupa.com/u/Tony8534875)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 6:13am UTC](https://forum.kirupa.com/t/invalid-bitmapdata-error-2015/308869 "2010-05-02T06:13:54Z")

</div>

I'm getting an Invalid BitmapData Error #2015 at flash.display::BitmapData$iinit() that points to the line of code below where a BitmapData object is created. I am using this function to create only a few hundred Item ob…

---

## [Power Point and Flash](https://forum.kirupa.com/t/power-point-and-flash/308868)

<div class="topic-metadata">

**Author:** [@Paincho](https://forum.kirupa.com/u/Paincho)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 5:33am UTC](https://forum.kirupa.com/t/power-point-and-flash/308868 "2010-05-02T05:33:41Z")

</div>

Hello! Ive added a flash button in PPT and I want this flash button to be hyperlink to other slide, but in PPT flash cant be hyperlink. Is there other way to make the button hyperlink? Maybe some AS script or other scrip…

---

## [Share a free flash optimizer](https://forum.kirupa.com/t/share-a-free-flash-optimizer/308865)

<div class="topic-metadata">

**Author:** [@domyself](https://forum.kirupa.com/u/domyself)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 3:59am UTC](https://forum.kirupa.com/t/share-a-free-flash-optimizer/308865 "2010-05-02T03:59:10Z")

</div>

Share a free but very useful tool: FlashOptimizer. It has the features: 1.Delete unused methods and properties. 2.Remove any class or method, or proerties if you want. 3.Optimize the methods.(improving…) The first feat…

---

## [Scrolling Advice Needed](https://forum.kirupa.com/t/scrolling-advice-needed/308861)

<div class="topic-metadata">

**Author:** [@Shneidr](https://forum.kirupa.com/u/Shneidr)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 1:39am UTC](https://forum.kirupa.com/t/scrolling-advice-needed/308861 "2010-05-02T01:39:48Z")

</div>

Okay, Im trying to find the most practical method of making my platform game have a scrolling background/environment. I was thinking of putting everything that I want to scroll inside a movieclip(limits, enemies, objects…

---

## [Sound randomly stops during playback?](https://forum.kirupa.com/t/sound-randomly-stops-during-playback/308860)

<div class="topic-metadata">

**Author:** [@MyFlapjack](https://forum.kirupa.com/u/MyFlapjack)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 12:28am UTC](https://forum.kirupa.com/t/sound-randomly-stops-during-playback/308860 "2010-05-02T00:28:53Z")

</div>

Hi, i'm new to Flash and only started learning it about 3 days ago so i'm a complete beginner. My movie is basically a very simple interactive film, where you click on different buttons which go to different frames tha…

---

## [Organizing my project's classes](https://forum.kirupa.com/t/organizing-my-projects-classes/308859)

<div class="topic-metadata">

**Author:** [@NateTheGreatt](https://forum.kirupa.com/u/NateTheGreatt)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 11:34pm UTC](https://forum.kirupa.com/t/organizing-my-projects-classes/308859 "2010-05-01T23:34:06Z")

</div>

Being fairly new to game programming, I'm still learning good techniques on how to organize all of my code and classes. Here's what I plan on implementing into my game: \[LIST\] \[\*\]Top-down engine \[\*\]One player \[\*\]A coup…

---

## [Scale Moveclip from center registration](https://forum.kirupa.com/t/scale-moveclip-from-center-registration/308856)

<div class="topic-metadata">

**Author:** [@tcambron](https://forum.kirupa.com/u/tcambron)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 10:14pm UTC](https://forum.kirupa.com/t/scale-moveclip-from-center-registration/308856 "2010-05-01T22:14:00Z")

</div>

Greetings, I am using a slider component to scale a movie clip. Currently it scales from the bottom right corner (I guess this is default). I would like the MC to scale out from the center. Any help provided would be g…

---

## [Making Flash file fill the entire browser window](https://forum.kirupa.com/t/making-flash-file-fill-the-entire-browser-window/308852)

<div class="topic-metadata">

**Author:** [@KJoe](https://forum.kirupa.com/u/KJoe)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 6:27pm UTC](https://forum.kirupa.com/t/making-flash-file-fill-the-entire-browser-window/308852 "2010-05-01T18:27:50Z")

</div>

Hello, Can anyone tell me how this site was made so that it fits every browser window completely, with no borders or distortion to the site? http://www.supperclub.com/ I want my site to fill the screen and the only w…

---

## [CS3 Flash Video XML, .f4v](https://forum.kirupa.com/t/cs3-flash-video-xml-f4v/308849)

<div class="topic-metadata">

**Author:** [@sgershen](https://forum.kirupa.com/u/sgershen)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 3:14pm UTC](https://forum.kirupa.com/t/cs3-flash-video-xml-f4v/308849 "2010-05-01T15:14:31Z")

</div>

I hope someone can help? I had recently converted 8mm film to a .mov then to .f4v. I had created a multi resource video player in Flash CS4 and using XML to tie in the video from external.. .f4v video is getting pulled…

---

## [Ribbon Effect](https://forum.kirupa.com/t/ribbon-effect/308842)

<div class="topic-metadata">

**Author:** [@DJR](https://forum.kirupa.com/u/DJR)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 2:26pm UTC](https://forum.kirupa.com/t/ribbon-effect/308842 "2010-05-01T14:26:10Z")

</div>

I was just wondering if anyone knew what software was used to achieve the ribbon effect at the beginning of this flash template: \[COLOR=#336699\]http://www.templatemonster.com/flash...tes/25395.html\[/COLOR\]

---

## [Image Loader Gallery](https://forum.kirupa.com/t/image-loader-gallery/308833)

<div class="topic-metadata">

**Author:** [@chockybickyman](https://forum.kirupa.com/u/chockybickyman)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 3:36am UTC](https://forum.kirupa.com/t/image-loader-gallery/308833 "2010-05-01T03:36:52Z")

</div>

I have this piece of code to change images. I was trying to figure out how you could put a timer on the code, so if the image has been displayed for say 5 seconds it diverts to the next image automatically? Also if it'…

---

## [Website Suggestion](https://forum.kirupa.com/t/website-suggestion/308827)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 10:51pm UTC](https://forum.kirupa.com/t/website-suggestion/308827 "2010-04-30T22:51:56Z")

</div>

First, excuse me if i make a repeat topic :D. Anyway, i've foun this website: http://www.gotmilk.com/ For you how is done the part where is that small "city" with all those animations? After effects? Let me know. :smirk2…

---

## [Flash Gallery Auto loads in some Browsers but not others?](https://forum.kirupa.com/t/flash-gallery-auto-loads-in-some-browsers-but-not-others/308826)

<div class="topic-metadata">

**Author:** [@captsin](https://forum.kirupa.com/u/captsin)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 9:28pm UTC](https://forum.kirupa.com/t/flash-gallery-auto-loads-in-some-browsers-but-not-others/308826 "2010-04-30T21:28:24Z")

</div>

Hello, I've built a website for myself using flash. It's nothing too fancy, and thanks to those that helped in some trouble spots.:} I've tested the published swf files in IExplorer (8.0.6001), Safari (4.0.5) and Fi…

---

## [Form submission using Javascript?](https://forum.kirupa.com/t/form-submission-using-javascript/308825)

<div class="topic-metadata">

**Author:** [@boebarl1](https://forum.kirupa.com/u/boebarl1)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 8:09pm UTC](https://forum.kirupa.com/t/form-submission-using-javascript/308825 "2010-04-30T20:09:44Z")

</div>

I am trying to write this code so that when someone try's to submit this form, it will not let them unless their e-mail, first and last name fields are filled in. Right now I have it so an alert box pops up if the feild…

---

## [JSFL Text Edit doesn't save](https://forum.kirupa.com/t/jsfl-text-edit-doesnt-save/308822)

<div class="topic-metadata">

**Author:** [@efos](https://forum.kirupa.com/u/efos)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 6:14pm UTC](https://forum.kirupa.com/t/jsfl-text-edit-doesnt-save/308822 "2010-04-30T18:14:36Z")

</div>

So, I've got a component that changes selected text fields case to Title, Sentence, or ALL CAPS. Below is the code for all caps. function fnAll(e:MouseEvent):void{ var numItems:int = int(MMExecute("fl.getDocumen…

---

## [Inputs misalgined in fieldset in IE](https://forum.kirupa.com/t/inputs-misalgined-in-fieldset-in-ie/308819)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 5:53pm UTC](https://forum.kirupa.com/t/inputs-misalgined-in-fieldset-in-ie/308819 "2010-04-30T17:53:34Z")

</div>

I have 2 fieldsets on 1 page and the fields in the first fieldset align just fine in IE, but the fields in the second fieldset don't. Of course it looks fine in firefox. Any help would be appreciated. See html and css…

---

## [Call variables from PHP to Flash (AS2)](https://forum.kirupa.com/t/call-variables-from-php-to-flash-as2/308818)

<div class="topic-metadata">

**Author:** [@Stobi](https://forum.kirupa.com/u/Stobi)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 5:51pm UTC](https://forum.kirupa.com/t/call-variables-from-php-to-flash-as2/308818 "2010-04-30T17:51:11Z")

</div>

This game I'm working on, requires Flash to call variables from PHP. The thing is, each PHP file is generated so that it has a unique ID. How do I tell flash to call these variables, each time a new PHP file is created …

---

## [Loading External Fonts From SWF](https://forum.kirupa.com/t/loading-external-fonts-from-swf/308816)

<div class="topic-metadata">

**Author:** [@imvain2](https://forum.kirupa.com/u/imvain2)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 5:42pm UTC](https://forum.kirupa.com/t/loading-external-fonts-from-swf/308816 "2010-04-30T17:42:00Z")

</div>

In AS2, if I have a swf file that I have added a font to the library how do I load that swf file into my main swf on runtime and utilize that font? I figured it would be use loadmovie, but not sure after that. I really…

---

## [onRollOver](https://forum.kirupa.com/t/onrollover/308812)

<div class="topic-metadata">

**Author:** [@davidtaylorhq](https://forum.kirupa.com/u/davidtaylorhq)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 4:25pm UTC](https://forum.kirupa.com/t/onrollover/308812 "2010-04-30T16:25:52Z")

</div>

I am trying to call a function in as2 whenever the mouse moves over a movieclip while the mouse button is down. onRollOver does not appear to be called if the mouse button is held down. onDragOver only seems to work …

---

## [Effect Suggestions](https://forum.kirupa.com/t/effect-suggestions/308811)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 4:24pm UTC](https://forum.kirupa.com/t/effect-suggestions/308811 "2010-04-30T16:24:42Z")

</div>

Hi guys, Can you give me some suggestions on the effect that is here: http://www.designcharts.com/ The effect that i say is the hover on a website on the websites chart. I'm wainting for your answers :thumb: EDIT: Is…

---

## [XML flash photogallery](https://forum.kirupa.com/t/xml-flash-photogallery/308806)

<div class="topic-metadata">

**Author:** [@mtuza](https://forum.kirupa.com/u/mtuza)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 12:18pm UTC](https://forum.kirupa.com/t/xml-flash-photogallery/308806 "2010-04-30T12:18:38Z")

</div>

Hello, I am not a flash guru. I need a help, I am trying to make Xml flash photogallery. My theme is i will have a big photo which will be in fullscreen(cover complete page of Browser) now this big photo has fadein -out …

---

## [Accessing a checkbox on stage from a class](https://forum.kirupa.com/t/accessing-a-checkbox-on-stage-from-a-class/308805)

<div class="topic-metadata">

**Author:** [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 12:09pm UTC](https://forum.kirupa.com/t/accessing-a-checkbox-on-stage-from-a-class/308805 "2010-04-30T12:09:11Z")

</div>

Howdy, I have drawn a box on stage and turned it into a movieclip called sidePanel, within it I place a checkbox. My document class 'Main.as', ie the class called upon by the flash file, creates a class of name Class…

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

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