# flash

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

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

**Page:** 148

---

## [Check simple form](https://forum.kirupa.com/t/check-simple-form/322999)

<div class="topic-metadata">

**Author:** [@Stela](https://forum.kirupa.com/u/Stela)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 6:51am UTC](https://forum.kirupa.com/t/check-simple-form/322999 "2011-06-13T06:51:56Z")

</div>

Hi, I'm trying to do a simple form validation, but I get this error: "Error #1010: A term is undefined and has no properties" Using this code: movNewsletter.btnEnviar.addEventListener(MouseEvent.MOUSE\_DOWN, functChec…

---

## [Constructor and destructor](https://forum.kirupa.com/t/constructor-and-destructor/322998)

<div class="topic-metadata">

**Author:** [@microScript](https://forum.kirupa.com/u/microScript)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 5:36am UTC](https://forum.kirupa.com/t/constructor-and-destructor/322998 "2011-06-13T05:36:40Z")

</div>

Hi Guys, Can any one send me the link, which explains Constructor and Destructor in Actionscript 3.0 in any tutorial link, not in C++.

---

## [Problem with parent](https://forum.kirupa.com/t/problem-with-parent/322997)

<div class="topic-metadata">

**Author:** [@mgriffen](https://forum.kirupa.com/u/mgriffen)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 2:46am UTC](https://forum.kirupa.com/t/problem-with-parent/322997 "2011-06-13T02:46:09Z")

</div>

Ok, I cannot figure this out. I have a custom Class that extends Movieclip called Nav, and a container clip on stage. I've referenced the Nav Class and called it as such: import com.Nav; public var navigation:Nav; n…

---

## [How to unload xml](https://forum.kirupa.com/t/how-to-unload-xml/322991)

<div class="topic-metadata">

**Author:** [@anu\_sona](https://forum.kirupa.com/u/anu_sona)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 5:27pm UTC](https://forum.kirupa.com/t/how-to-unload-xml/322991 "2011-06-12T17:27:30Z")

</div>

Hi I create a flash as3 where my stage has 3 buttons home button2 and button3. when i click home button a thumbnail xml gallery will loaded. when button 2 and button3 clicked it loads some text from another xml file. Al…

---

## [TLF text line break issue](https://forum.kirupa.com/t/tlf-text-line-break-issue/322990)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 5:06pm UTC](https://forum.kirupa.com/t/tlf-text-line-break-issue/322990 "2011-06-12T17:06:29Z")

</div>

Hi all, I just started using TLF text and it's interesting \[smile\] I'm running into an issue though, the first line break isn't showing in the TLF output field. Users can input text in an input field, this text is th…

---

## [Dynamically assign a class into an element in an array](https://forum.kirupa.com/t/dynamically-assign-a-class-into-an-element-in-an-array/322989)

<div class="topic-metadata">

**Author:** [@meetspin](https://forum.kirupa.com/u/meetspin)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 1:23pm UTC](https://forum.kirupa.com/t/dynamically-assign-a-class-into-an-element-in-an-array/322989 "2011-06-12T13:23:49Z")

</div>

Hey guys, Not sure if the title of this topic is correct, but what I'm trying to do is store a movieclip inside each array element using a for loop. However, I have 2 movieclips to choose from and I want the movieclip to…

---

## [How to handle displaying buttons](https://forum.kirupa.com/t/how-to-handle-displaying-buttons/322988)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 1:18pm UTC](https://forum.kirupa.com/t/how-to-handle-displaying-buttons/322988 "2011-06-12T13:18:04Z")

</div>

I have been wondering how other people handle displaying different buttons at different times. For instance, let's say that a user clicks on a button and once they do that you don't want them to see that button again unt…

---

## [Flash projector that uses XML for local assets with cool player effects](https://forum.kirupa.com/t/flash-projector-that-uses-xml-for-local-assets-with-cool-player-effects/322987)

<div class="topic-metadata">

**Author:** [@circler](https://forum.kirupa.com/u/circler)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 3:02am UTC](https://forum.kirupa.com/t/flash-projector-that-uses-xml-for-local-assets-with-cool-player-effects/322987 "2011-06-12T03:02:25Z")

</div>

I found a cool Flash projector that loads images, FLVs, and PDFs from local assets in folders for each keyframe on the stage, using XML. The FLVs play with the Flash Media Player, but the images show with what I've seen …

---

## [Isometric Grid Help](https://forum.kirupa.com/t/isometric-grid-help/322984)

<div class="topic-metadata">

**Author:** [@jaggernought](https://forum.kirupa.com/u/jaggernought)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 8:25pm UTC](https://forum.kirupa.com/t/isometric-grid-help/322984 "2011-06-11T20:25:25Z")

</div>

I'm trying to dynamically draw out an isometric grid but I'm hitting a few problems, currently I'm using a matrix transformation to get the grid to look more isometric that tile based but it has it's problems so I want t…

---

## [Error #1009, How to do function not null?](https://forum.kirupa.com/t/error-1009-how-to-do-function-not-null/322983)

<div class="topic-metadata">

**Author:** [@nutonas](https://forum.kirupa.com/u/nutonas)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 7:53pm UTC](https://forum.kirupa.com/t/error-1009-how-to-do-function-not-null/322983 "2011-06-11T19:53:09Z")

</div>

Hi, so i have some problem i wrote a code with functions but when i testing movie i got some error like “TypeError: Error #1009: Cannot access a property or method of a null object reference.”. Who can help me to solve …

---

## [Find MovieClips (X, Y)](https://forum.kirupa.com/t/find-movieclips-x-y/322980)

<div class="topic-metadata">

**Author:** [@jaggernought](https://forum.kirupa.com/u/jaggernought)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 6:31pm UTC](https://forum.kirupa.com/t/find-movieclips-x-y/322980 "2011-06-11T18:31:23Z")

</div>

Uhm, I'm sure this should be allot easier so i though I'd ask here... Ive got a two classes "Cell" and "Grid", a movie clip "Cell", and a sprite "Cell Sprite". I use the Grid class to add new Cell classes, each Cell …

---

## [Simple question! Please Help!](https://forum.kirupa.com/t/simple-question-please-help/322976)

<div class="topic-metadata">

**Author:** [@crf1213659](https://forum.kirupa.com/u/crf1213659)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 1:52pm UTC](https://forum.kirupa.com/t/simple-question-please-help/322976 "2011-06-11T13:52:43Z")

</div>

Hi guys, I have a flash file that loads \[COLOR=darkgreen\]external\[/COLOR\] images randomly onto the stage! that part works just fine. I have placed the code for loading images on the second frame of the flash \[COLOR=…

---

## [AS3/flash file issues](https://forum.kirupa.com/t/as3-flash-file-issues/322974)

<div class="topic-metadata">

**Author:** [@vacb](https://forum.kirupa.com/u/vacb)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 11:10am UTC](https://forum.kirupa.com/t/as3-flash-file-issues/322974 "2011-06-11T11:10:56Z")

</div>

Im having trouble with my flash file. Im trying to create a website and everything was working fine until i added a scrolling thumbnail feature and it has everything going haywire. I want my portfolio button to activate …

---

## [Make .SWF Fit the Screen](https://forum.kirupa.com/t/make-swf-fit-the-screen/322973)

<div class="topic-metadata">

**Author:** [@daiweien](https://forum.kirupa.com/u/daiweien)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 8:13am UTC](https://forum.kirupa.com/t/make-swf-fit-the-screen/322973 "2011-06-11T08:13:55Z")

</div>

I am using a main .SWF that contains the actions for buttons. Each button opens another .SWF file like so: on (release) { \_root.contents.loadMovie("frontpage.swf"); } My problem is I want to make the .SWF files I lo…

---

## ["Error opening URL"](https://forum.kirupa.com/t/error-opening-url/322972)

<div class="topic-metadata">

**Author:** [@daiweien](https://forum.kirupa.com/u/daiweien)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 6:24am UTC](https://forum.kirupa.com/t/error-opening-url/322972 "2011-06-11T06:24:55Z")

</div>

I am trying to open an mp3 file on my flash animation, but it doesn't work on either my machine or my server. When I run my flash animation this is the error I get: Error opening URL "file:///C|/source/bird.mp3" I have…

---

## [Advice on building a menu that scrolls by touch for ios](https://forum.kirupa.com/t/advice-on-building-a-menu-that-scrolls-by-touch-for-ios/322971)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 4:26am UTC](https://forum.kirupa.com/t/advice-on-building-a-menu-that-scrolls-by-touch-for-ios/322971 "2011-06-11T04:26:31Z")

</div>

I seem to have hit a wall in the way I was going about this project. I want to build a menu system that scrolls with a "swipe motion" on the Y axis. I have tried just about every way I could find, but nothing seems to wo…

---

## [Unexplanable Y/Height Issues](https://forum.kirupa.com/t/unexplanable-y-height-issues/322970)

<div class="topic-metadata">

**Author:** [@Alpha\_Remex](https://forum.kirupa.com/u/Alpha_Remex)\
**Replies:** 0\
**Last updated:** [June 11, 2011, 2:36am UTC](https://forum.kirupa.com/t/unexplanable-y-height-issues/322970 "2011-06-11T02:36:07Z")

</div>

Hey Folks - I am desperate at this point... I have code that makes an object for search results and stacks within a scroll pane. The code works correctly when the user searches for a state, but when the user searches fo…

---

## [CS5 Custom Component \[Inspectable\] Metadata Tag file broswer Help](https://forum.kirupa.com/t/cs5-custom-component-inspectable-metadata-tag-file-broswer-help/322968)

<div class="topic-metadata">

**Author:** [@Josh\_Martin](https://forum.kirupa.com/u/Josh_Martin)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 6:27pm UTC](https://forum.kirupa.com/t/cs5-custom-component-inspectable-metadata-tag-file-broswer-help/322968 "2011-06-10T18:27:29Z")

</div>

So I'm writing a Component for our artists to use and I need to be able to point at an XML document. I could have them simply write out the path in a string, but I'd like to allow them to navigate to the source file wit…

---

## [hitTestPoint doesn't work](https://forum.kirupa.com/t/hittestpoint-doesnt-work/322967)

<div class="topic-metadata">

**Author:** [@SammyTheBear](https://forum.kirupa.com/u/SammyTheBear)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 5:55pm UTC](https://forum.kirupa.com/t/hittestpoint-doesnt-work/322967 "2011-06-10T17:55:54Z")

</div>

Hi there! I am trying to get hitTestPoint to work and can't figure it out. I want the top left part of my chart (chartMC.ChartSection1) to change to blue when the red dot (hitDot) is on it. Attached you will find my fi…

---

## [AS3 calling PHP and Cookies](https://forum.kirupa.com/t/as3-calling-php-and-cookies/322958)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 10:29am UTC](https://forum.kirupa.com/t/as3-calling-php-and-cookies/322958 "2011-06-10T10:29:08Z")

</div>

Which cookies and session data does ActionScript use when calling PHP on the same server via ULRRequest? Does it use that of the current user's browser, or does it create it's "own" cookies/session? The reason I ask …

---

## [Image fade in on click of button](https://forum.kirupa.com/t/image-fade-in-on-click-of-button/322956)

<div class="topic-metadata">

**Author:** [@beethamwest](https://forum.kirupa.com/u/beethamwest)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 8:30am UTC](https://forum.kirupa.com/t/image-fade-in-on-click-of-button/322956 "2011-06-10T08:30:05Z")

</div>

So im using CS5, and i have a very basic script which makes an image appear when a button is clicked, ie click button1, and pic1 shows. click button2 and pic2 loads etc. The script i have is this: stop(); button1.addEv…

---

## [Manipulating external Variables](https://forum.kirupa.com/t/manipulating-external-variables/322947)

<div class="topic-metadata">

**Author:** [@matthimus](https://forum.kirupa.com/u/matthimus)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 12:38am UTC](https://forum.kirupa.com/t/manipulating-external-variables/322947 "2011-06-10T00:38:23Z")

</div>

I have created a main class that holds a few Variables I would like to manipulate from another AS file. is this possible? Thanks in advance

---

## [Can't set properties from instances of my class](https://forum.kirupa.com/t/cant-set-properties-from-instances-of-my-class/322946)

<div class="topic-metadata">

**Author:** [@sogj](https://forum.kirupa.com/u/sogj)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 12:30am UTC](https://forum.kirupa.com/t/cant-set-properties-from-instances-of-my-class/322946 "2011-06-10T00:30:52Z")

</div>

I have a class - call it MyClass - and an instance of that class with instance name myObject. In MyClass I declare: public var myVariable:Number; In the main timeline I try to set it using myObject.myVariable = 3; …

---

## [How to keep a MC a certain distance from the mouse cursor regardless of angle?](https://forum.kirupa.com/t/how-to-keep-a-mc-a-certain-distance-from-the-mouse-cursor-regardless-of-angle/322945)

<div class="topic-metadata">

**Author:** [@rotaercz](https://forum.kirupa.com/u/rotaercz)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 9:59pm UTC](https://forum.kirupa.com/t/how-to-keep-a-mc-a-certain-distance-from-the-mouse-cursor-regardless-of-angle/322945 "2011-06-09T21:59:43Z")

</div>

How to keep a MC a certain distance from the mouse cursor regardless of angle? Can anyone provide me some code? I tried Googling but no luck. \[frowning\]

---

## [Control MovieClips held in an Array](https://forum.kirupa.com/t/control-movieclips-held-in-an-array/322942)

<div class="topic-metadata">

**Author:** [@jaggernought](https://forum.kirupa.com/u/jaggernought)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 7:10pm UTC](https://forum.kirupa.com/t/control-movieclips-held-in-an-array/322942 "2011-06-09T19:10:27Z")

</div>

I'm trying to create the very basics of a isometric map. My engine creates to map fine, but it's when I want to then control the movie clips. I'm adding each cell in the grid using and array: for (var X= 0; X \< Engine…

---

## [Hit test help AS2](https://forum.kirupa.com/t/hit-test-help-as2/322939)

<div class="topic-metadata">

**Author:** [@BadBoyMcCoy](https://forum.kirupa.com/u/BadBoyMcCoy)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 1:59pm UTC](https://forum.kirupa.com/t/hit-test-help-as2/322939 "2011-06-09T13:59:57Z")

</div>

If someone could help me out with this I would be very grateful. Basically I can't figure out what's going on with this hit test. It's a pac man game (in the VERY early stages). I've drawn lines where pacman should be …

---

## [startTouchDrag...can it only control the Y axis?](https://forum.kirupa.com/t/starttouchdrag-can-it-only-control-the-y-axis/322938)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 11:39am UTC](https://forum.kirupa.com/t/starttouchdrag-can-it-only-control-the-y-axis/322938 "2011-06-09T11:39:17Z")

</div>

I have a question and I can't keep to find the answer anywhere, so maybe it's not possible. Using the startTouchDrag is it possible for it to only effect the Y axis? I know I could sorta do that by putting a bounding box…

---

## [Import photoshop file positioned and done to flash](https://forum.kirupa.com/t/import-photoshop-file-positioned-and-done-to-flash/322937)

<div class="topic-metadata">

**Author:** [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 8:34am UTC](https://forum.kirupa.com/t/import-photoshop-file-positioned-and-done-to-flash/322937 "2011-06-09T08:34:31Z")

</div>

Trick question; Is it possible to import a psd to flash? So, it is possible to import a psd file to flash and have it all positioned correctly, if the PSD file is set to "Maximize PSD File Compability", however, the fi…

---

## [My \_root 0r \_parent is not working](https://forum.kirupa.com/t/my--root-0r--parent-is-not-working/322935)

<div class="topic-metadata">

**Author:** [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 6:24am UTC](https://forum.kirupa.com/t/my--root-0r--parent-is-not-working/322935 "2011-06-09T06:24:15Z")

</div>

I'm confused because in my main movie "interface.swf", there is a button that plays a movieClip I call "sub\_navigation". Now under "sub\_navigation" are four buttons that is suppose to load extern movies in the main clip …

---

## [How to import 3D models from 3D programs into Flash, and draw views to BitmapData?](https://forum.kirupa.com/t/how-to-import-3d-models-from-3d-programs-into-flash-and-draw-views-to-bitmapdata/322931)

<div class="topic-metadata">

**Author:** [@Wallee](https://forum.kirupa.com/u/Wallee)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 12:45am UTC](https://forum.kirupa.com/t/how-to-import-3d-models-from-3d-programs-into-flash-and-draw-views-to-bitmapdata/322931 "2011-06-09T00:45:39Z")

</div>

Hi everyone! This is somewhat of an unusual topic, but hopefully you guys will have a reply that will allow me to go on. I am working on a 2D game following an unusual workflow that is very much 3D based. The workf…

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

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