# flash

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

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

**Page:** 869

---

## [Code to draw a simple rectangle problem](https://forum.kirupa.com/t/code-to-draw-a-simple-rectangle-problem/268759)

<div class="topic-metadata">

**Author:** [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 3:33pm UTC](https://forum.kirupa.com/t/code-to-draw-a-simple-rectangle-problem/268759 "2008-08-18T15:33:51Z")

</div>

Hi all, I'm writing an AS3 app to allow the user to draw a simple rectangle shape. The rectangle will start when the user presses the mouse button and complete when they release so the size will be the x and y values b…

---

## [AS3 php Mysql](https://forum.kirupa.com/t/as3-php-mysql/268757)

<div class="topic-metadata">

**Author:** [@jeremy666](https://forum.kirupa.com/u/jeremy666)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 2:57pm UTC](https://forum.kirupa.com/t/as3-php-mysql/268757 "2008-08-18T14:57:12Z")

</div>

I am curious what the differences are from using AMFPHP and \[COLOR=#0000ff\]peakstudios.com\[/COLOR\] as2 or AS3 flash panel extension (I use a MySQL database)? I know the flash panel and use it all the time but there is a…

---

## [Is it possible to connect flash to VS debugger?](https://forum.kirupa.com/t/is-it-possible-to-connect-flash-to-vs-debugger/268754)

<div class="topic-metadata">

**Author:** [@wvxvw](https://forum.kirupa.com/u/wvxvw)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 1:28pm UTC](https://forum.kirupa.com/t/is-it-possible-to-connect-flash-to-vs-debugger/268754 "2008-08-18T13:28:03Z")

</div>

Hi. Until now I was debugging SWFs that needed to communicate with JavaScript in FireBug, but the rest of the team are .NET developers / VS users... so, I have to find a way to switch to debugging in IE. (I'm barely fam…

---

## [Simple drag and drop problem in AS 2](https://forum.kirupa.com/t/simple-drag-and-drop-problem-in-as-2/268748)

<div class="topic-metadata">

**Author:** [@Bonwhis](https://forum.kirupa.com/u/Bonwhis)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 12:48pm UTC](https://forum.kirupa.com/t/simple-drag-and-drop-problem-in-as-2/268748 "2008-08-18T12:48:36Z")

</div>

Hi I have used the following tutorial to create a drap and drop game... http://www.monkeyflash.com/flash/drag-and-drop-2/ Source file can be downloaded here: http://www.monkeyflash.com/files/dragdrop2.zip I nee…

---

## [Frustrated at MVC and HTTPService!](https://forum.kirupa.com/t/frustrated-at-mvc-and-httpservice/268746)

<div class="topic-metadata">

**Author:** [@Kenwio](https://forum.kirupa.com/u/Kenwio)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 12:21pm UTC](https://forum.kirupa.com/t/frustrated-at-mvc-and-httpservice/268746 "2008-08-18T12:21:27Z")

</div>

Hi! I'm trying to redesign a project I've been developing to fit a MVH architecture I'm having trobule with the Model which consits of a class that contains a HTTPService object. This is the MODEL: package class…

---

## [Disabling function inside a component](https://forum.kirupa.com/t/disabling-function-inside-a-component/268743)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 12:11pm UTC](https://forum.kirupa.com/t/disabling-function-inside-a-component/268743 "2008-08-18T12:11:20Z")

</div>

Does anybody knows how to disable a function from a component using prototype method. I have tried everything and i cannot disable anything within that component. Thanks for any help, Regards Jerome

---

## [Flash XML Horizontal Scrollpane](https://forum.kirupa.com/t/flash-xml-horizontal-scrollpane/268741)

<div class="topic-metadata">

**Author:** [@swasb](https://forum.kirupa.com/u/swasb)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 11:43am UTC](https://forum.kirupa.com/t/flash-xml-horizontal-scrollpane/268741 "2008-08-18T11:43:21Z")

</div>

Hello Everybody, I am pretty new to flash. In my current project I have to build a horizontal flash XML scroll pane like http://www.three.co.uk/personal/products\_services\_/index.omp . But, I really don't get an idea ho…

---

## [Parent - Child Relation: width issue](https://forum.kirupa.com/t/parent-child-relation-width-issue/268740)

<div class="topic-metadata">

**Author:** [@defied](https://forum.kirupa.com/u/defied)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 10:49am UTC](https://forum.kirupa.com/t/parent-child-relation-width-issue/268740 "2008-08-18T10:49:14Z")

</div>

I probably am missing something, but when I change the width of a parent movieclip, the width of the child movieclip also changes. Like I start with this: \[image\] \[image\] and do parent.width \*= 2; then the widt…

---

## [Storing Data](https://forum.kirupa.com/t/storing-data/268736)

<div class="topic-metadata">

**Author:** [@Veng](https://forum.kirupa.com/u/Veng)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 9:32am UTC](https://forum.kirupa.com/t/storing-data/268736 "2008-08-18T09:32:11Z")

</div>

Hi. I want to build a simple notepad application for me to write small notes from the office to home and from home to office. I mean to host the application on my domain and write small notes like links etc there and a…

---

## [Menu bar button: code to stop button](https://forum.kirupa.com/t/menu-bar-button-code-to-stop-button/268734)

<div class="topic-metadata">

**Author:** [@libercoriando](https://forum.kirupa.com/u/libercoriando)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 8:20am UTC](https://forum.kirupa.com/t/menu-bar-button-code-to-stop-button/268734 "2008-08-18T08:20:16Z")

</div>

Hi at all. I have a problem wirh script below about my Menu bar. I want each button of menu bar don't turn back when I click it. In others words, I want this: 1. Mouse\_Over, button go down; 2. Mouse\_Out, button go up…

---

## [How to change the MovieClip height and Width](https://forum.kirupa.com/t/how-to-change-the-movieclip-height-and-width/268731)

<div class="topic-metadata">

**Author:** [@Randil](https://forum.kirupa.com/u/Randil)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 6:51am UTC](https://forum.kirupa.com/t/how-to-change-the-movieclip-height-and-width/268731 "2008-08-18T06:51:43Z")

</div>

I use FlashMX 2004. I need to know how to change the width and height of the MovieClip when it loads to the stage. I used the following method instanceName.\_height=value instanceName.\_width=value but when I do like t…

---

## [MovieClipLoader Class to preload JPGS](https://forum.kirupa.com/t/moviecliploader-class-to-preload-jpgs/268728)

<div class="topic-metadata">

**Author:** [@tokyoboy](https://forum.kirupa.com/u/tokyoboy)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 5:35am UTC](https://forum.kirupa.com/t/moviecliploader-class-to-preload-jpgs/268728 "2008-08-18T05:35:11Z")

</div>

Hey all, I'm having a problem that I can't quite figure out. I'm attempting to create the "shop" section of a client's website, which involves displaying the photos of the jewelry, and then loading the appropriate info…

---

## [Papervision3D How do I position objects without having to guess values?](https://forum.kirupa.com/t/papervision3d-how-do-i-position-objects-without-having-to-guess-values/268727)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 5:30am UTC](https://forum.kirupa.com/t/papervision3d-how-do-i-position-objects-without-having-to-guess-values/268727 "2008-08-18T05:30:51Z")

</div>

I want my objects to be centered in the screen, but when I create them, and set their xy values to 0, they are offset. I think it's because of the whole viewport/scene/camera thing, so how do fix it so that 0,0 is at the…

---

## [Masking png with keyframes](https://forum.kirupa.com/t/masking-png-with-keyframes/268720)

<div class="topic-metadata">

**Author:** [@VeiL86](https://forum.kirupa.com/u/VeiL86)\
**Replies:** 0\
**Last updated:** [August 18, 2008, 2:07am UTC](https://forum.kirupa.com/t/masking-png-with-keyframes/268720 "2008-08-18T02:07:09Z")

</div>

Hello, I have been having quite a bit of trouble trying to mask a transparent png with keyframes and was hoping someone could steer me in the right direction. I have been trying to brush in the area I want revealed on …

---

## [Possible to justify text in as3?](https://forum.kirupa.com/t/possible-to-justify-text-in-as3/268718)

<div class="topic-metadata">

**Author:** [@REEF](https://forum.kirupa.com/u/REEF)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 10:59pm UTC](https://forum.kirupa.com/t/possible-to-justify-text-in-as3/268718 "2008-08-17T22:59:54Z")

</div>

Theres a little option if you create a dynamic text field manually in flash that lets you justify the text within (next to right-align). Is this not possible if I create a textfield through AS? I can't find any documenta…

---

## [This class only loads XML...what should it extend?](https://forum.kirupa.com/t/this-class-only-loads-xml-what-should-it-extend/268717)

<div class="topic-metadata">

**Author:** [@REEF](https://forum.kirupa.com/u/REEF)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 10:38pm UTC](https://forum.kirupa.com/t/this-class-only-loads-xml-what-should-it-extend/268717 "2008-08-17T22:38:55Z")

</div>

I have a class which allows the document class to say: var mynewxml:XMLCLASS = new XMLCLASS("xmlfile.xml", newsTextField); All that class does is load the file and put its contents into newsTextField. I have it curre…

---

## [Associative Array vs Data Object](https://forum.kirupa.com/t/associative-array-vs-data-object/268716)

<div class="topic-metadata">

**Author:** [@RebuiltJorge](https://forum.kirupa.com/u/RebuiltJorge)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 10:03pm UTC](https://forum.kirupa.com/t/associative-array-vs-data-object/268716 "2008-08-17T22:03:11Z")

</div>

Lately I have been getting into associative arrays and quickly found out that there doesn't seem to be a way to loop through one, for example: var myArray:Array = new Array(); myArray\['constructor\_stage'\] = new Array(…

---

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

<div class="topic-metadata">

**Author:** [@friezens](https://forum.kirupa.com/u/friezens)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 9:36pm UTC](https://forum.kirupa.com/t/form-flash-php/268714 "2008-08-17T21:36:07Z")

</div>

Hello. Am having difficulty using a flash form, I was wondering if you guys could help me out with it. The form works fine if I use it directly but if I use it inside a movieclip or if I call it with a LoadMovie some…

---

## [MC inside button](https://forum.kirupa.com/t/mc-inside-button/268713)

<div class="topic-metadata">

**Author:** [@SethBerg](https://forum.kirupa.com/u/SethBerg)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 9:33pm UTC](https://forum.kirupa.com/t/mc-inside-button/268713 "2008-08-17T21:33:34Z")

</div>

I have a movie clip that is inside a button, i would like this movie clip to play after the user clicks on the button. when i put the MC in the "down" frame, the user has to hold the button down. Is there a way to have t…

---

## [Changing Text Attributes when using XML](https://forum.kirupa.com/t/changing-text-attributes-when-using-xml/268710)

<div class="topic-metadata">

**Author:** [@DesignerY2K8](https://forum.kirupa.com/u/DesignerY2K8)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 8:28pm UTC](https://forum.kirupa.com/t/changing-text-attributes-when-using-xml/268710 "2008-08-17T20:28:14Z")

</div>

Hi, I am using a slideshow gallery using XML. I have thumbnails which scroll and when you click on them you see the larger image Here is a piece from my XML document -- \<image thumb\_url="thumb1.jpg" full\_url="big1.jpg…

---

## [Class-loading delay?](https://forum.kirupa.com/t/class-loading-delay/268709)

<div class="topic-metadata">

**Author:** [@Sage\_of\_Fire](https://forum.kirupa.com/u/Sage_of_Fire)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 8:12pm UTC](https://forum.kirupa.com/t/class-loading-delay/268709 "2008-08-17T20:12:34Z")

</div>

I'm working on a steadily expanding AS3 project, and I've run into a pretty annoying snag. I want a particular method of a certain class to execute on an ENTER\_FRAME event, so I set up an event listener tied to the metho…

---

## [How can I get an animation to appear where mouse clicks?](https://forum.kirupa.com/t/how-can-i-get-an-animation-to-appear-where-mouse-clicks/268707)

<div class="topic-metadata">

**Author:** [@Testies](https://forum.kirupa.com/u/Testies)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 6:21pm UTC](https://forum.kirupa.com/t/how-can-i-get-an-animation-to-appear-where-mouse-clicks/268707 "2008-08-17T18:21:24Z")

</div>

I basically want an animation to occur specifically where the mouse is clicked. I tried a combo of startdrag and on commands, but they don't seem to work together. Is there an actual action script combo or non script w…

---

## [\_level100 .swf needs to go to specific location?](https://forum.kirupa.com/t/-level100-swf-needs-to-go-to-specific-location/268705)

<div class="topic-metadata">

**Author:** [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 5:37pm UTC](https://forum.kirupa.com/t/-level100-swf-needs-to-go-to-specific-location/268705 "2008-08-17T17:37:06Z")

</div>

Hi all. I have one primary swf and one secondary swf. The secondary swf has multiple labels and is loaded into \_level100 when you click on a button in the primary swf, which is at \_level0. My question is, if I need th…

---

## [2 MovieClips - how to play in order](https://forum.kirupa.com/t/2-movieclips-how-to-play-in-order/268704)

<div class="topic-metadata">

**Author:** [@florencec2046](https://forum.kirupa.com/u/florencec2046)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 5:31pm UTC](https://forum.kirupa.com/t/2-movieclips-how-to-play-in-order/268704 "2008-08-17T17:31:53Z")

</div>

Hi all, I am new to actionscript 3 and programming. My question may be really simple to you but I have troubled to figure it out. Please kindly help. I have 2 MovieClips (have many sprites and tweening in each timeli…

---

## [Import data?](https://forum.kirupa.com/t/import-data/268701)

<div class="topic-metadata">

**Author:** [@zimy](https://forum.kirupa.com/u/zimy)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 4:47pm UTC](https://forum.kirupa.com/t/import-data/268701 "2008-08-17T16:47:54Z")

</div>

Alright, I'm trying to import multipile sets of data into flash, but I don't know how to do it. What I want to do is this: Have a text document/databse like: Name of item to be clicked:Name Data of item:-2 Data of it…

---

## [How to load pure wordpress XML feed, first attempt](https://forum.kirupa.com/t/how-to-load-pure-wordpress-xml-feed-first-attempt/268699)

<div class="topic-metadata">

**Author:** [@YakovZanardi](https://forum.kirupa.com/u/YakovZanardi)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 4:07pm UTC](https://forum.kirupa.com/t/how-to-load-pure-wordpress-xml-feed-first-attempt/268699 "2008-08-17T16:07:13Z")

</div>

Hello, This is my first attempt to load wordpress xml feed generated in flash. I exported a xml from a wordpress test blog, and now Im tryn to load it from flash. This is my code of loading xmls: \[COLOR=teal\]stop() …

---

## [Menu Dilema](https://forum.kirupa.com/t/menu-dilema/268698)

<div class="topic-metadata">

**Author:** [@eL1](https://forum.kirupa.com/u/eL1)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 3:26pm UTC](https://forum.kirupa.com/t/menu-dilema/268698 "2008-08-17T15:26:28Z")

</div>

I am new to Actionscript and I am learning Actionscript by creating a website. I want to create a menu that has large buttons situated in the middle of the site. When you roll over one button the other buttons displace (…

---

## [Extending Point class problem](https://forum.kirupa.com/t/extending-point-class-problem/268696)

<div class="topic-metadata">

**Author:** [@Pjanssen](https://forum.kirupa.com/u/Pjanssen)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 12:44pm UTC](https://forum.kirupa.com/t/extending-point-class-problem/268696 "2008-08-17T12:44:21Z")

</div>

Hi, I'm trying to make a Vector class which will provide some basic mathematical methods. I want to have this class extend the Point class, so it can be used in functions like \<DisplayObject\>.globalToLocal(pt: Point) …

---

## [How to clone a movieclip](https://forum.kirupa.com/t/how-to-clone-a-movieclip/268695)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 11:19am UTC](https://forum.kirupa.com/t/how-to-clone-a-movieclip/268695 "2008-08-17T11:19:58Z")

</div>

Is there a method to clone a movieclip, such that the same movieclip is displayed in 2 different displayObjectContainers at the same time? A solution different than library linkage please \[smile\]

---

## [Access images loaded through dynamic text containing html](https://forum.kirupa.com/t/access-images-loaded-through-dynamic-text-containing-html/268692)

<div class="topic-metadata">

**Author:** [@saxx](https://forum.kirupa.com/u/saxx)\
**Replies:** 0\
**Last updated:** [August 17, 2008, 10:13am UTC](https://forum.kirupa.com/t/access-images-loaded-through-dynamic-text-containing-html/268692 "2008-08-17T10:13:50Z")

</div>

Dynamic text field containing \<img src="http://www.kirupa.com/forum/stylesV2/Clever/clever\_header.jpg" width="1000" height="75" id="mc\_movieClip" variable="value"/\> I don't have any clue to how i would access that im…

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

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