# flash

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

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

**Page:** 1247

---

## [\[Flash8 AS2\] Create buttons with AS2](https://forum.kirupa.com/t/flash8-as2-create-buttons-with-as2/236781)

<div class="topic-metadata">

**Author:** [@Stela](https://forum.kirupa.com/u/Stela)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 4:39pm UTC](https://forum.kirupa.com/t/flash8-as2-create-buttons-with-as2/236781 "2007-08-23T16:39:16Z")

</div>

Hello, I got this code from a book, but cant understand why do I need the second var to create and show the buttons. To resume, this code creates four buttons just with AS. Shouldn't just one var should be enough? I trie…

---

## [3 Little Problems](https://forum.kirupa.com/t/3-little-problems/236778)

<div class="topic-metadata">

**Author:** [@Brian\_S1](https://forum.kirupa.com/u/Brian_S1)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 4:21pm UTC](https://forum.kirupa.com/t/3-little-problems/236778 "2007-08-23T16:21:00Z")

</div>

Hi everyone, I'm almost finished a site but there are a few things which I just can't figure out. Some of them may well be quite basic but they're driving me nuts! I'm having a spot of bother with a tutorial I got for …

---

## [Fun (help) with tiles!](https://forum.kirupa.com/t/fun-help-with-tiles/236774)

<div class="topic-metadata">

**Author:** [@ShooterMG](https://forum.kirupa.com/u/ShooterMG)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 3:51pm UTC](https://forum.kirupa.com/t/fun-help-with-tiles/236774 "2007-08-23T15:51:59Z")

</div>

Greetings, all. I'm currently working on a tile based game, but that's pretty much where i've hit the wall. Does anybody know of a good way to load and store external bitmap images so I can use them as tiles? Currently i…

---

## [Dynamic text box shows \_level0.page\_text](https://forum.kirupa.com/t/dynamic-text-box-shows--level0-page-text/236773)

<div class="topic-metadata">

**Author:** [@aigarinsh](https://forum.kirupa.com/u/aigarinsh)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 3:48pm UTC](https://forum.kirupa.com/t/dynamic-text-box-shows--level0-page-text/236773 "2007-08-23T15:48:40Z")

</div>

Can anybody tell me what could be wrong and why do I get this. I have a dynamic text box with instance name and Var set to page\_text. Then I have this code: this.onEnterFrame = function(){ page\_text = "page " + c…

---

## [Flash & XML best solutions?](https://forum.kirupa.com/t/flash-xml-best-solutions/236772)

<div class="topic-metadata">

**Author:** [@tolk](https://forum.kirupa.com/u/tolk)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 3:46pm UTC](https://forum.kirupa.com/t/flash-xml-best-solutions/236772 "2007-08-23T15:46:20Z")

</div>

Problem I'm currently working on a project where i need to load data off an xml file on a server (local to the flash swf file). Ideally I want to use some of the flash UI components to display and edit the data (to sav…

---

## [Get Ping to Server](https://forum.kirupa.com/t/get-ping-to-server/236769)

<div class="topic-metadata">

**Author:** [@VoS](https://forum.kirupa.com/u/VoS)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 3:12pm UTC](https://forum.kirupa.com/t/get-ping-to-server/236769 "2007-08-23T15:12:39Z")

</div>

Hey! im trying to think of a good way to get the ping from the user viewing a .swf to a pre specified server ( i.p.) is there a good way of doing this. i can't think of any.... any ideas appreciated. //VoS

---

## [Still having trouble](https://forum.kirupa.com/t/still-having-trouble/236766)

<div class="topic-metadata">

**Author:** [@unstabledreamer](https://forum.kirupa.com/u/unstabledreamer)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 2:30pm UTC](https://forum.kirupa.com/t/still-having-trouble/236766 "2007-08-23T14:30:03Z")

</div>

what i am trying to do i already have a premade form in flash. I need for when someone sends information for it it call upon a php file which i already have and i have the captcha image too. I know how to do it in html i…

---

## [Anonymous function – return values](https://forum.kirupa.com/t/anonymous-function-return-values/236763)

<div class="topic-metadata">

**Author:** [@bluetie](https://forum.kirupa.com/u/bluetie)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 1:45pm UTC](https://forum.kirupa.com/t/anonymous-function-return-values/236763 "2007-08-23T13:45:08Z")

</div>

Hello, I will appreciate any help with this problem; let me describe a little bit what I’m trying to do: I have 2 SWF, one.swf and two.swf 1 LocalConnection to send 1 variable from one.swf to two.swf one.swf c…

---

## [Flash Application .exe Very Slow on CD](https://forum.kirupa.com/t/flash-application-exe-very-slow-on-cd/236760)

<div class="topic-metadata">

**Author:** [@Desire](https://forum.kirupa.com/u/Desire)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 1:02pm UTC](https://forum.kirupa.com/t/flash-application-exe-very-slow-on-cd/236760 "2007-08-23T13:02:07Z")

</div>

straight to the point.... I have made a flash application, published it as exe file and burnt it to cd. Now when i run the application off the CD it goes extreamly slow! i have tryed it on low spec pc's (1.3ghz 256mb…

---

## [CAlling APPMAin (rezise flash whit browser)](https://forum.kirupa.com/t/calling-appmain-rezise-flash-whit-browser/236758)

<div class="topic-metadata">

**Author:** [@bmb](https://forum.kirupa.com/u/bmb)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 12:56pm UTC](https://forum.kirupa.com/t/calling-appmain-rezise-flash-whit-browser/236758 "2007-08-23T12:56:20Z")

</div>

I find this package in http://drawk.wordpress.com/2007/04/15/fluid-flash-layouts/ package { import flash.display.\*; import flash.events.\*; import flash.utils.\*; public class AppMain extends MovieClip { public…

---

## [LF Cascading/Drop Menu Tutorial for MX 2004](https://forum.kirupa.com/t/lf-cascading-drop-menu-tutorial-for-mx-2004/236757)

<div class="topic-metadata">

**Author:** [@penniwit](https://forum.kirupa.com/u/penniwit)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 12:51pm UTC](https://forum.kirupa.com/t/lf-cascading-drop-menu-tutorial-for-mx-2004/236757 "2007-08-23T12:51:28Z")

</div>

I have yet to find a tutorial on how to create a cascading menu like the one featured \[COLOR=#22229c\]here\[/COLOR\] for Flash MX 2004. I need to have the bottom buttons move down when buttons above them are clicked and the…

---

## [Is it possible to extend fl.controls.ComboBox](https://forum.kirupa.com/t/is-it-possible-to-extend-fl-controls-combobox/236754)

<div class="topic-metadata">

**Author:** [@glidealong](https://forum.kirupa.com/u/glidealong)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 12:32pm UTC](https://forum.kirupa.com/t/is-it-possible-to-extend-fl-controls-combobox/236754 "2007-08-23T12:32:54Z")

</div>

Hello All, I was trying to create a custom ComboBox by extending the fl.controls.ComboBox. package CustromControls { import fl.controls.ComboBox; public class CustomCombo extends fl.ComboBox { pu…

---

## [If/else format correct?](https://forum.kirupa.com/t/if-else-format-correct/236753)

<div class="topic-metadata">

**Author:** [@thegaffer](https://forum.kirupa.com/u/thegaffer)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 12:26pm UTC](https://forum.kirupa.com/t/if-else-format-correct/236753 "2007-08-23T12:26:33Z")

</div>

Does this if statement look correct? var goal = this.homeGoal1Txt; if (goal == '0'){ this.stageClip.homeGoal1.htmlText = 'N'; }

---

## [Publish in AS3 cause ad serve to fail?](https://forum.kirupa.com/t/publish-in-as3-cause-ad-serve-to-fail/236751)

<div class="topic-metadata">

**Author:** [@pixsouldier](https://forum.kirupa.com/u/pixsouldier)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 12:18pm UTC](https://forum.kirupa.com/t/publish-in-as3-cause-ad-serve-to-fail/236751 "2007-08-23T12:18:42Z")

</div>

My company just upgraded to Flash CS3. We are a publisher but we also supply creative services. For some reason my superiors think that I should not publish in AS3 because it will have some effect on the ability to adser…

---

## [Movieclip Duplication](https://forum.kirupa.com/t/movieclip-duplication/236748)

<div class="topic-metadata">

**Author:** [@Maggs83](https://forum.kirupa.com/u/Maggs83)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 11:32am UTC](https://forum.kirupa.com/t/movieclip-duplication/236748 "2007-08-23T11:32:34Z")

</div>

Hi all, I need to create a box which is a movieclip. This then needs to be able to duplicated on request . The overall look will be a dynamic tree structure which consists of movieclip duplication. Right i don't know if …

---

## [Class creation problems](https://forum.kirupa.com/t/class-creation-problems/236741)

<div class="topic-metadata">

**Author:** [@mmick66](https://forum.kirupa.com/u/mmick66)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 10:38am UTC](https://forum.kirupa.com/t/class-creation-problems/236741 "2007-08-23T10:38:27Z")

</div>

Hi... I m a bit confused with the object creation procedure in actionscript/Flash... One way is to do \[COLOR=RoyalBlue\]var\[/COLOR\] myCircle:Cirlce = \[COLOR=RoyalBlue\]new\[/COLOR\] Circle(); (provided you have a Circle clas…

---

## [How to set the all buttons and movieclips enalbled = false EXCEPT one?](https://forum.kirupa.com/t/how-to-set-the-all-buttons-and-movieclips-enalbled-false-except-one/236740)

<div class="topic-metadata">

**Author:** [@Pooyan](https://forum.kirupa.com/u/Pooyan)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 10:31am UTC](https://forum.kirupa.com/t/how-to-set-the-all-buttons-and-movieclips-enalbled-false-except-one/236740 "2007-08-23T10:31:21Z")

</div>

Hi. I just registerd in this site. It is Really Fantasic. I have read the toturial for creating gallery via xml. and i learned it thaks Kirupa. But i want that when i click on My thumnails : 1. An Empty Mvieclip will b…

---

## [Flashing FLV icon - failing to play video](https://forum.kirupa.com/t/flashing-flv-icon-failing-to-play-video/236739)

<div class="topic-metadata">

**Author:** [@kg1984](https://forum.kirupa.com/u/kg1984)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 10:24am UTC](https://forum.kirupa.com/t/flashing-flv-icon-failing-to-play-video/236739 "2007-08-23T10:24:33Z")

</div>

Hi there, I've got a problem relating to getting video to work with dynamic pageflip 3.32, a page flipping engine that uses XML to load pages (either JPGs or SWFs) dynamically (pageflip.hu). Using the FLVPlayback com…

---

## [Checking last frame played possible?](https://forum.kirupa.com/t/checking-last-frame-played-possible/236737)

<div class="topic-metadata">

**Author:** [@a\_renji](https://forum.kirupa.com/u/a_renji)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 9:52am UTC](https://forum.kirupa.com/t/checking-last-frame-played-possible/236737 "2007-08-23T09:52:28Z")

</div>

Is it possible to check the last frame played in ActionScript? I want to execute an animation sequence depending on what the last frame played was or where the playhead was originally just before the animation sequence…

---

## [Pass variable to main .swf](https://forum.kirupa.com/t/pass-variable-to-main-swf/236735)

<div class="topic-metadata">

**Author:** [@exit](https://forum.kirupa.com/u/exit)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 9:29am UTC](https://forum.kirupa.com/t/pass-variable-to-main-swf/236735 "2007-08-23T09:29:36Z")

</div>

Hi Does anyone know how to pass a "page" variable thorugh link to a main .swf file (index.swf)? The file would normally load "home.swf" into it if accessed by www.homepage.com. But I would like to able link to a diff…

---

## [MouseEvents with Bitmap objects](https://forum.kirupa.com/t/mouseevents-with-bitmap-objects/236733)

<div class="topic-metadata">

**Author:** [@demongolem](https://forum.kirupa.com/u/demongolem)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 9:20am UTC](https://forum.kirupa.com/t/mouseevents-with-bitmap-objects/236733 "2007-08-23T09:20:12Z")

</div>

I am trying to have a mouse event register when the cursor leaves an image, but the listener function never gets entered. In AS3, how does one get the MouseOver event to work for a bitmap like I have? public class MyC…

---

## [XML help (random pictures)](https://forum.kirupa.com/t/xml-help-random-pictures/236729)

<div class="topic-metadata">

**Author:** [@dondeigo](https://forum.kirupa.com/u/dondeigo)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 8:09am UTC](https://forum.kirupa.com/t/xml-help-random-pictures/236729 "2007-08-23T08:09:56Z")

</div>

Hello all I need some help to solve an xml problem. I loade 10 pictures into 10 MC´s ,via xml. wen loadet the pictures fade in and out , and that works well. However i've got between 50 and 100 pictures i wuld like t…

---

## [MovieClip changes size after attachMovie](https://forum.kirupa.com/t/movieclip-changes-size-after-attachmovie/236727)

<div class="topic-metadata">

**Author:** [@nitech](https://forum.kirupa.com/u/nitech)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 7:47am UTC](https://forum.kirupa.com/t/movieclip-changes-size-after-attachmovie/236727 "2007-08-23T07:47:22Z")

</div>

Hi, when I attach a MovieClip from the library, onto a dynamically created MovieClip, the library's MovieClip slightly changes size. Does anyone know why this happens? Example: This is the code that attaches the M…

---

## [randomLines effect](https://forum.kirupa.com/t/randomlines-effect/236720)

<div class="topic-metadata">

**Author:** [@GweiLo](https://forum.kirupa.com/u/GweiLo)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 7:36am UTC](https://forum.kirupa.com/t/randomlines-effect/236720 "2007-08-23T07:36:28Z")

</div>

I've been searching this forum, flashkit and various other resources for a script or fla to acheive the effect created by this program: http://www.flashloaded.com/flashcomponents/randomlines/ Unfortunately the keywor…

---

## [Network Webcam](https://forum.kirupa.com/t/network-webcam/236714)

<div class="topic-metadata">

**Author:** [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 4:13am UTC](https://forum.kirupa.com/t/network-webcam/236714 "2007-08-23T04:13:00Z")

</div>

What's the best way to display streaming video from a network webcam? The company sends you an app that generates some javascript that connects to a cgi file on the camera. I would rather display it in flash so that I …

---

## [Waving flag or Cloth](https://forum.kirupa.com/t/waving-flag-or-cloth/236713)

<div class="topic-metadata">

**Author:** [@wes\_design](https://forum.kirupa.com/u/wes_design)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 4:06am UTC](https://forum.kirupa.com/t/waving-flag-or-cloth/236713 "2007-08-23T04:06:57Z")

</div>

IS there anyway to code to get this kind of effect in flash? http://www.flashextension.net/product.php?productid=16232 I am trying to get my button/objects to wave or move like flapping cloth I want to avoid compon…

---

## [Can't remove the movieClip- please help](https://forum.kirupa.com/t/cant-remove-the-movieclip-please-help/236704)

<div class="topic-metadata">

**Author:** [@Ella7](https://forum.kirupa.com/u/Ella7)\
**Replies:** 0\
**Last updated:** [August 23, 2007, 12:14am UTC](https://forum.kirupa.com/t/cant-remove-the-movieclip-please-help/236704 "2007-08-23T00:14:08Z")

</div>

I wrote a small game in AS 2. You just have to shoot at some alien ships. All works fine but I want to add one thing though. I want to make the gun disappear if it hits any of the alien ships. I tried to include a …

---

## [Shared Library - Linkage](https://forum.kirupa.com/t/shared-library-linkage/236703)

<div class="topic-metadata">

**Author:** [@Mage](https://forum.kirupa.com/u/Mage)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 11:44pm UTC](https://forum.kirupa.com/t/shared-library-linkage/236703 "2007-08-22T23:44:31Z")

</div>

Hey y'all I'm using a shared library with multiple movieclips however I wish to put the 'shared\_library.swf' in a different directory. Is there a fast way to reference every 'import for runtime sharing' link without …

---

## [Registration Point With Actionscript](https://forum.kirupa.com/t/registration-point-with-actionscript/236697)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 10:49pm UTC](https://forum.kirupa.com/t/registration-point-with-actionscript/236697 "2007-08-22T22:49:09Z")

</div>

I am using an object of type Loader to load a JPG....I now want to rotate that JPEG but it is rotating by the upper left corner...how can I move the rotational axis to the center of the image? Thanks.

---

## [TileList UI Component DisplayList](https://forum.kirupa.com/t/tilelist-ui-component-displaylist/236694)

<div class="topic-metadata">

**Author:** [@butcherBaker](https://forum.kirupa.com/u/butcherBaker)\
**Replies:** 0\
**Last updated:** [August 22, 2007, 10:27pm UTC](https://forum.kirupa.com/t/tilelist-ui-component-displaylist/236694 "2007-08-22T22:27:29Z")

</div>

I'm trying to understand something about the TileList and I don't see anything in the lang ref. basically, when it is full of external images (in this case, small thumbnails from the web) it seems that when an ImageCe…

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

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