# programming

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

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

**Page:** 266

---

## [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…

---

## [Share on Twitter to unlock content](https://forum.kirupa.com/t/share-on-twitter-to-unlock-content/322969)

<div class="topic-metadata">

**Author:** [@dru\_nasty](https://forum.kirupa.com/u/dru_nasty)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 8:59pm UTC](https://forum.kirupa.com/t/share-on-twitter-to-unlock-content/322969 "2011-06-10T20:59:29Z")

</div>

Anyone have an idea on how this is done? bit.ly/zonoscope To listen to the album, you first have to share on Twitter, then the content is unlocked.

---

## [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…

---

## [Slideshow with CSS and JavaScript help!](https://forum.kirupa.com/t/slideshow-with-css-and-javascript-help/322961)

<div class="topic-metadata">

**Author:** [@Butters](https://forum.kirupa.com/u/Butters)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 1:47pm UTC](https://forum.kirupa.com/t/slideshow-with-css-and-javascript-help/322961 "2011-06-10T13:47:25Z")

</div>

Hi all, I'm using CSS and JavaScript to add a simple slideshow to a website i'm working on. It just cycles through the images. There's 2 issues I can't work out how to fix: Firstly I would like to add multiple s…

---

## [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…

---

## [Getting to "View Available Wireless Networks" through code](https://forum.kirupa.com/t/getting-to-view-available-wireless-networks-through-code/322948)

<div class="topic-metadata">

**Author:** [@divineelite](https://forum.kirupa.com/u/divineelite)\
**Replies:** 0\
**Last updated:** [June 10, 2011, 3:25am UTC](https://forum.kirupa.com/t/getting-to-view-available-wireless-networks-through-code/322948 "2011-06-10T03:25:04Z")

</div>

I am trying to get to the "Wireless Network Connection" which we can normally get to by right clicking on that pc icon in the system tray & selecting the "View Available Wireless Networks" option. Is it possible to bring…

---

## [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 …

---

## [Tutorial: Grabbing All Available Space!](https://forum.kirupa.com/t/tutorial-grabbing-all-available-space/322934)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 5:29am UTC](https://forum.kirupa.com/t/tutorial-grabbing-all-available-space/322934 "2011-06-09T05:29:45Z")

</div>

Hi everyone, This is the place to discuss anything and everything related to the Grabbing All Available Space tutorial. Jump right on in :megaman\_x: Cheers, Kirupa :alien:

---

## [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…

---

## [Dynamic Text From Array](https://forum.kirupa.com/t/dynamic-text-from-array/322930)

<div class="topic-metadata">

**Author:** [@John\_S1](https://forum.kirupa.com/u/John_S1)\
**Replies:** 0\
**Last updated:** [June 9, 2011, 12:40am UTC](https://forum.kirupa.com/t/dynamic-text-from-array/322930 "2011-06-09T00:40:26Z")

</div>

Hello, I'm trying to load two array values (from twelve different arrays) into two dynamic text fields, and update each array value on a mouse click. Thanks in advance.

---

## [Independent volume control of an FLV](https://forum.kirupa.com/t/independent-volume-control-of-an-flv/322928)

<div class="topic-metadata">

**Author:** [@Josh\_Martin](https://forum.kirupa.com/u/Josh_Martin)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 10:37pm UTC](https://forum.kirupa.com/t/independent-volume-control-of-an-flv/322928 "2011-06-08T22:37:08Z")

</div>

So I've been wracking my brain for half the day today and I'm sure I'm just doing something dumb or missing something minor... I'm trying to control the volume of an flv in a video player I'm making. I want it's volum…

---

## [Stars Rate](https://forum.kirupa.com/t/stars-rate/322926)

<div class="topic-metadata">

**Author:** [@Vanss472](https://forum.kirupa.com/u/Vanss472)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 8:36pm UTC](https://forum.kirupa.com/t/stars-rate/322926 "2011-06-08T20:36:50Z")

</div>

Hi I gonna create a Facebook Tab for a client where I want the fans to upload their image and vote for it. Now I want to limit the voting. Cuz it appears that a single user can create a bunch of dummy accounts and then…

---

## [Visualised reaction to a dragger/slider](https://forum.kirupa.com/t/visualised-reaction-to-a-dragger-slider/322925)

<div class="topic-metadata">

**Author:** [@AgentOrange](https://forum.kirupa.com/u/AgentOrange)\
**Replies:** 0\
**Last updated:** [June 8, 2011, 7:56pm UTC](https://forum.kirupa.com/t/visualised-reaction-to-a-dragger-slider/322925 "2011-06-08T19:56:29Z")

</div>

Hi all. I'm looking for a tutorial that will help me set up a draggable slider in Flash CS4 that, when dragged through 10 years (1990 - 2000) will make a series of circles grow or shrink accordingly. Anyone know of one? …

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

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