# flash

**URL:** https://forum.kirupa.com/c/programming/flash/38.md?page=1734

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

**Page:** 1735

---

## [Basic function help](https://forum.kirupa.com/t/basic-function-help/191741)

<div class="topic-metadata">

**Author:** [@mikedkap](https://forum.kirupa.com/u/mikedkap)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 4:49pm UTC](https://forum.kirupa.com/t/basic-function-help/191741 "2006-06-22T16:49:14Z")

</div>

Aiight - I've decided to turn my sloppy Flash techniques around and start writing everything in Actionscript and not attach actions to objects. How do I go about turning this into a proper function? onClipEvent (ente…

---

## [Newbie Button Reference Probs Help Appreciated](https://forum.kirupa.com/t/newbie-button-reference-probs-help-appreciated/191737)

<div class="topic-metadata">

**Author:** [@lowey](https://forum.kirupa.com/u/lowey)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 4:24pm UTC](https://forum.kirupa.com/t/newbie-button-reference-probs-help-appreciated/191737 "2006-06-22T16:24:05Z")

</div>

Problem is the actual reference to the button itself. When I run a trace on item\_mc it reveals that the buttons are named main\_btn0 thru to main\_btn4 as expected. Problem is that when I use the reference main\_btn0 and so…

---

## [Can an external.swf load an external.swf?](https://forum.kirupa.com/t/can-an-external-swf-load-an-external-swf/191734)

<div class="topic-metadata">

**Author:** [@huckwalton](https://forum.kirupa.com/u/huckwalton)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 3:57pm UTC](https://forum.kirupa.com/t/can-an-external-swf-load-an-external-swf/191734 "2006-06-22T15:57:14Z")

</div>

If my .mc loads an external.swf, can that new external.swf load yet another layer of an external.swf? For instance if the first one is the whole site but you whant to load an external.swf from on of the pages of the site…

---

## [Easy help please - using a string to call an object](https://forum.kirupa.com/t/easy-help-please-using-a-string-to-call-an-object/191732)

<div class="topic-metadata">

**Author:** [@Loque](https://forum.kirupa.com/u/Loque)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 3:50pm UTC](https://forum.kirupa.com/t/easy-help-please-using-a-string-to-call-an-object/191732 "2006-06-22T15:50:22Z")

</div>

Hi there, Please help me understand why this does not work; this.floorplan.butt01.onPress = function(){ floorplan.alphaTo(0, fadeOutTS, fadeOutTT, 0, 'revealNext(1)'); } function revealNext(num){ revealMC =…

---

## [Structure-tutorial: how to add button-swf's?](https://forum.kirupa.com/t/structure-tutorial-how-to-add-button-swfs/191729)

<div class="topic-metadata">

**Author:** [@fr\_ode](https://forum.kirupa.com/u/fr_ode)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 3:36pm UTC](https://forum.kirupa.com/t/structure-tutorial-how-to-add-button-swfs/191729 "2006-06-22T15:36:16Z")

</div>

I just completed "The Best Structure for your Flash Site"-tutorial, but I'm having some trouble adding button-swf's. This is what I did: 1: made a simple swf containing a single button named "btn.swf" 2: changed the va…

---

## [HREF in external text file with ASFUNCTION](https://forum.kirupa.com/t/href-in-external-text-file-with-asfunction/191728)

<div class="topic-metadata">

**Author:** [@misterpatrick](https://forum.kirupa.com/u/misterpatrick)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 3:26pm UTC](https://forum.kirupa.com/t/href-in-external-text-file-with-asfunction/191728 "2006-06-22T15:26:44Z")

</div>

Hello all, I am a little confused with the ASFUNCTION. I understand how to use it to call a function from within the swf, but how can I embed a link in the external text file? Is this even with ASFUNCTION? When I use a…

---

## [Scaling a movieclip](https://forum.kirupa.com/t/scaling-a-movieclip/191727)

<div class="topic-metadata">

**Author:** [@onecommoncode](https://forum.kirupa.com/u/onecommoncode)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 3:22pm UTC](https://forum.kirupa.com/t/scaling-a-movieclip/191727 "2006-06-22T15:22:04Z")

</div>

I want to achieve the effect that can be seen in http://www.thefwa.com. where no matter what the screen size is, the bottom disclaimer information will always be at the bottom. I currently tried this, but it will scale…

---

## [Movie Clip Button Linking](https://forum.kirupa.com/t/movie-clip-button-linking/191723)

<div class="topic-metadata">

**Author:** [@mmak](https://forum.kirupa.com/u/mmak)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 2:57pm UTC](https://forum.kirupa.com/t/movie-clip-button-linking/191723 "2006-06-22T14:57:34Z")

</div>

I'm using the .fla file from: http://www.kirupa.com/developer/mx2004/button\_effect.htm Instead of linking to a URL, how can I link to a frame in the current scene? I know I need to alter this code: this.onRelease = …

---

## [Stop loop or not?](https://forum.kirupa.com/t/stop-loop-or-not/191721)

<div class="topic-metadata">

**Author:** [@Robbe](https://forum.kirupa.com/u/Robbe)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 2:43pm UTC](https://forum.kirupa.com/t/stop-loop-or-not/191721 "2006-06-22T14:43:57Z")

</div>

I've got a simple function that works towards a lesson progress bar. onEnterFrame = function () { progTotal = Math.round (root.totalframes); progCurrent = Math.round (root.currentframe); progPercent = (progCurrent/300)…

---

## [Killing one function with another](https://forum.kirupa.com/t/killing-one-function-with-another/191720)

<div class="topic-metadata">

**Author:** [@Hastalasiesta](https://forum.kirupa.com/u/Hastalasiesta)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 2:35pm UTC](https://forum.kirupa.com/t/killing-one-function-with-another/191720 "2006-06-22T14:35:29Z")

</div>

Ok... That was a pretty bad way of explaining what I'm trying to do. The deal is as follows: I have a movieclip that is wider than the stage. When the user moves his mouse within a certain area on the left or right sides…

---

## [External SWF show up too fast...!?](https://forum.kirupa.com/t/external-swf-show-up-too-fast/191718)

<div class="topic-metadata">

**Author:** [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 2:25pm UTC](https://forum.kirupa.com/t/external-swf-show-up-too-fast/191718 "2006-06-22T14:25:15Z")

</div>

I have a master to wich I'm loading external swf's. The preloader begins fine but when it reaches 10-12 % loaded the swf that I'm loading shows up. This leaves the preloader in it's place continuing counting... I want th…

---

## [Flash8 Applying CSS Styles](https://forum.kirupa.com/t/flash8-applying-css-styles/191717)

<div class="topic-metadata">

**Author:** [@iftecan2000](https://forum.kirupa.com/u/iftecan2000)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 2:19pm UTC](https://forum.kirupa.com/t/flash8-applying-css-styles/191717 "2006-06-22T14:19:18Z")

</div>

Hi; Currently I am restructuring a flash site. The reason to this restructure is that the frequently edited contents should be handled by a club's staff member. In one part of the site the contents are read from a text…

---

## [Newbie Button Problem](https://forum.kirupa.com/t/newbie-button-problem/191710)

<div class="topic-metadata">

**Author:** [@lowey](https://forum.kirupa.com/u/lowey)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 1:32pm UTC](https://forum.kirupa.com/t/newbie-button-problem/191710 "2006-06-22T13:32:22Z")

</div>

Where am I going wrong the code highlighted below in blue. The xml is setup to produce 5 buttons but the trace that I have added generates 5 traces without the button being pressed. var track\_xml = new XML(); track\_xm…

---

## [Resize imported images](https://forum.kirupa.com/t/resize-imported-images/191705)

<div class="topic-metadata">

**Author:** [@Danke](https://forum.kirupa.com/u/Danke)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 12:23pm UTC](https://forum.kirupa.com/t/resize-imported-images/191705 "2006-06-22T12:23:05Z")

</div>

Can't figure this out. Is it possible to anyway resize an image after it has been loaded into a moviClip through loadmovie ? Can't get the code to work. Say somepicture.jpg is a 800 x 600 jpg. Ex. loadMovie("some…

---

## [How make button perform action?](https://forum.kirupa.com/t/how-make-button-perform-action/191702)

<div class="topic-metadata">

**Author:** [@viktig](https://forum.kirupa.com/u/viktig)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 11:30am UTC](https://forum.kirupa.com/t/how-make-button-perform-action/191702 "2006-06-22T11:30:28Z")

</div>

I have made 4 dynamic mc buttons which I would like to display dynamic images through the same pictureholder movieclip. My problem is that I can't make the 4 buttons do the action needed to load and display the images. …

---

## [\[Flash8\] undefined error](https://forum.kirupa.com/t/flash8-undefined-error/191700)

<div class="topic-metadata">

**Author:** [@Joost\_Pastoor](https://forum.kirupa.com/u/Joost_Pastoor)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 11:18am UTC](https://forum.kirupa.com/t/flash8-undefined-error/191700 "2006-06-22T11:18:18Z")

</div>

Hi, I get a "undefined" for the var "\_root\["star" + i\].adjustPosX" on the last line, how could that be? Thanks in advance, Joost Pastoor /\* S T A R S \*/ \_root.starArr = new Array(); for(i=0; i \< \_root.gb.cS…

---

## [Some Simple Questions -Regarding XML](https://forum.kirupa.com/t/some-simple-questions-regarding-xml/191699)

<div class="topic-metadata">

**Author:** [@tolk](https://forum.kirupa.com/u/tolk)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 11:16am UTC](https://forum.kirupa.com/t/some-simple-questions-regarding-xml/191699 "2006-06-22T11:16:56Z")

</div>

I'm following the adobe demonstration of loading xml, i.e. Load the xml file into a XMLConnector component --\> into a dataSet component --\> into a dataGrid component. I have the following questions: 1) If i have multip…

---

## [Need help scrolling dynamic text box](https://forum.kirupa.com/t/need-help-scrolling-dynamic-text-box/191696)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 10:54am UTC](https://forum.kirupa.com/t/need-help-scrolling-dynamic-text-box/191696 "2006-06-22T10:54:58Z")

</div>

Hi guys, I've got a dynamic text box in my Flash movie which loads a text file and it all works fine. What I want to do is scroll the text so I've made the up and down buttons, placed them on the stage with the scrol…

---

## [Multiple XML Galleries in one swf](https://forum.kirupa.com/t/multiple-xml-galleries-in-one-swf/191692)

<div class="topic-metadata">

**Author:** [@xianbailey](https://forum.kirupa.com/u/xianbailey)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 10:06am UTC](https://forum.kirupa.com/t/multiple-xml-galleries-in-one-swf/191692 "2006-06-22T10:06:11Z")

</div>

Now then! I'm trying to get multiple XML galleries in one swf at the same time. It's more or less the photo gallery tut, but with this duplicated below it a certain amount of times. I've adapted the XML file. The act…

---

## [Break on scene add?](https://forum.kirupa.com/t/break-on-scene-add/191690)

<div class="topic-metadata">

**Author:** [@tolk](https://forum.kirupa.com/u/tolk)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 10:02am UTC](https://forum.kirupa.com/t/break-on-scene-add/191690 "2006-06-22T10:02:56Z")

</div>

In my FLA i'm loading and XML file into a xmlconnector --\> into a dataset --\> into a datagrid. At the moment I just have one scene and i want to add another scene. I added a scene before the original scene. I didn't thin…

---

## [Fixing the Flash/Embed Issue Kirupa Tutorial, not working for me in IE](https://forum.kirupa.com/t/fixing-the-flash-embed-issue-kirupa-tutorial-not-working-for-me-in-ie/191689)

<div class="topic-metadata">

**Author:** [@messlah](https://forum.kirupa.com/u/messlah)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 9:54am UTC](https://forum.kirupa.com/t/fixing-the-flash-embed-issue-kirupa-tutorial-not-working-for-me-in-ie/191689 "2006-06-22T09:54:19Z")

</div>

Hey all Have just run through the flashobject fix for this issue. It works fine in Firefox but when I run the webpage in IE no flash movie shows up. Am i doing anything wrong? (Im on XPPro SP2, but not many hotfixes…

---

## [\[MX2004\] How to call dynamic input text from class](https://forum.kirupa.com/t/mx2004-how-to-call-dynamic-input-text-from-class/191684)

<div class="topic-metadata">

**Author:** [@Joost\_Pastoor](https://forum.kirupa.com/u/Joost_Pastoor)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 9:00am UTC](https://forum.kirupa.com/t/mx2004-how-to-call-dynamic-input-text-from-class/191684 "2006-06-22T09:00:56Z")

</div>

Hello all, I have a problem with my actionscript, and i hope some of you can give me a push in the right direction. In the GameBox class, I make several instances of the Movieclip/Class "Module". These Module moviecl…

---

## [What is the | (the bitwise OR operator) used for?](https://forum.kirupa.com/t/what-is-the-the-bitwise-or-operator-used-for/191678)

<div class="topic-metadata">

**Author:** [@geebee](https://forum.kirupa.com/u/geebee)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 7:26am UTC](https://forum.kirupa.com/t/what-is-the-the-bitwise-or-operator-used-for/191678 "2006-06-22T07:26:59Z")

</div>

Greetings everyone! Working my way through the book "Flash MX 2004 games most wanted" from Friend of Ed. The book assumes a bit more AS knowledge than I have atm so I'm using a lot of time checking every bit of code - …

---

## [Dynamic multidimensional array creation](https://forum.kirupa.com/t/dynamic-multidimensional-array-creation/191673)

<div class="topic-metadata">

**Author:** [@paragmetha](https://forum.kirupa.com/u/paragmetha)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 6:04am UTC](https://forum.kirupa.com/t/dynamic-multidimensional-array-creation/191673 "2006-06-22T06:04:46Z")

</div>

var Array1:Array = new Array(5); // where 5 is length of array for(i=0;i\<Array1.length;i++) { Array1\* = new Array(); } Above code will generate dynamic array of multidimensoal array. Thanks Parag

---

## [Flash Php](https://forum.kirupa.com/t/flash-php/191672)

<div class="topic-metadata">

**Author:** [@deadly](https://forum.kirupa.com/u/deadly)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 5:49am UTC](https://forum.kirupa.com/t/flash-php/191672 "2006-06-22T05:49:37Z")

</div>

Hi All, Well I am working in flash and php.. I want to write a text file from flash via php.. the thing is when i click on button it rites and redirects to another page. I have stoped the re-direction. 2ndly i want tha…

---

## [Need help with rotation... Anyone?](https://forum.kirupa.com/t/need-help-with-rotation-anyone/191668)

<div class="topic-metadata">

**Author:** [@woad](https://forum.kirupa.com/u/woad)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 5:06am UTC](https://forum.kirupa.com/t/need-help-with-rotation-anyone/191668 "2006-06-22T05:06:07Z")

</div>

I got the GI and the machine gun to rotate, but it seems like the right part of the machine gun tripod is the point that the angle is using (that means it's pointing towards the target instead of the end of the machine g…

---

## [GOIN' INSANE, Can't call functions](https://forum.kirupa.com/t/goin-insane-cant-call-functions/191665)

<div class="topic-metadata">

**Author:** [@kikon](https://forum.kirupa.com/u/kikon)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 4:11am UTC](https://forum.kirupa.com/t/goin-insane-cant-call-functions/191665 "2006-06-22T04:11:17Z")

</div>

hello everybody! I'm going insane. Here is a simple example of something that's causing me trouble: The following code is in the first keyframe of the animation, the object to be animated is a circle. When you call bot…

---

## [Depth Controlling Problem with mx.behaviors.DepthControl class](https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191664)

<div class="topic-metadata">

**Author:** [@nishanthe](https://forum.kirupa.com/u/nishanthe)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 4:10am UTC](https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191664 "2006-06-22T04:10:59Z")

</div>

Greetings for everybody. I am using mx.behaviors.DepthControl class for my latest project for controlling z-order of the dynamically created movieclips. If anybody came across above class or familiar with that class, I a…

---

## [Basketball Action Script](https://forum.kirupa.com/t/basketball-action-script/191663)

<div class="topic-metadata">

**Author:** [@carrotop](https://forum.kirupa.com/u/carrotop)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 3:52am UTC](https://forum.kirupa.com/t/basketball-action-script/191663 "2006-06-22T03:52:05Z")

</div>

Hi, In regards to my friend's request. I would like to know if any of you guys know the actionscripts of a basketball game? A sample would do. Thanks alot if anyone could help my friend out with this. Much appreciated.

---

## [Flash Help?](https://forum.kirupa.com/t/flash-help/191660)

<div class="topic-metadata">

**Author:** [@TheMrSadClown](https://forum.kirupa.com/u/TheMrSadClown)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 3:15am UTC](https://forum.kirupa.com/t/flash-help/191660 "2006-06-22T03:15:08Z")

</div>

Simple question. Simple answer? How do you make good-looking flash animated water? I dont want that silly reflection thing that just makes simple waves from top to bottom or side to side. I have done that. Doesn't look r…

[Previous page](https://forum.kirupa.com/c/programming/flash/38.md?page=1733)

[Next page](https://forum.kirupa.com/c/programming/flash/38.md?page=1735)
