# programming

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

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

**Page:** 530

---

## [Importing Classes (several times?)](https://forum.kirupa.com/t/importing-classes-several-times/306896)

<div class="topic-metadata">

**Author:** [@Chimeara](https://forum.kirupa.com/u/Chimeara)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 4:56am UTC](https://forum.kirupa.com/t/importing-classes-several-times/306896 "2010-03-24T04:56:35Z")

</div>

In the programming i am used to, you import a class and it is there until it is removed or the program ends. but it if i try this in flash i get errors, i am having to import the class in every frame that the code is use…

---

## [Child MC preloader issues](https://forum.kirupa.com/t/child-mc-preloader-issues/306894)

<div class="topic-metadata">

**Author:** [@whiteart](https://forum.kirupa.com/u/whiteart)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 4:48am UTC](https://forum.kirupa.com/t/child-mc-preloader-issues/306894 "2010-03-24T04:48:31Z")

</div>

Hi, I've hit a brick wall with regards to a parent movie loading a child mc with a preloader. The idea being, if the child is displayed on the screen, and hasn't fully loaded, then you view the preloader. Each mc (pa…

---

## [Liquid/Resize Image Gallery](https://forum.kirupa.com/t/liquid-resize-image-gallery/306893)

<div class="topic-metadata">

**Author:** [@arthurse](https://forum.kirupa.com/u/arthurse)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 2:33am UTC](https://forum.kirupa.com/t/liquid-resize-image-gallery/306893 "2010-03-24T02:33:10Z")

</div>

Hello! Anyone knows a sample code/source, tutorial or example like this gallery: http://ificandream.com/#/allcams (resize the browser window to see the effect) What i want is a thumbnail gallery that shows more lines…

---

## [Motorola Backflip review: more fashional, functional and attractive](https://forum.kirupa.com/t/motorola-backflip-review-more-fashional-functional-and-attractive/306892)

<div class="topic-metadata">

**Author:** [@lysun45](https://forum.kirupa.com/u/lysun45)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 1:46am UTC](https://forum.kirupa.com/t/motorola-backflip-review-more-fashional-functional-and-attractive/306892 "2010-03-24T01:46:58Z")

</div>

This was a complete surprise, but AT&T made it official in February and introduced the Motorola Backflip as its first Google Android device. The Backflip made its grand debut at CES 2010, where we awarded the smartphones…

---

## [How to Preload External SWF](https://forum.kirupa.com/t/how-to-preload-external-swf/306888)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 1:21am UTC](https://forum.kirupa.com/t/how-to-preload-external-swf/306888 "2010-03-24T01:21:20Z")

</div>

Does anyone know of a good way to preload external movies in advance? They only way I've figured out how to preload external file is like this: First create separate loader objects to load each of the movies. Do this i…

---

## [Passing mouse event through an object?](https://forum.kirupa.com/t/passing-mouse-event-through-an-object/306885)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 1:13am UTC](https://forum.kirupa.com/t/passing-mouse-event-through-an-object/306885 "2010-03-24T01:13:52Z")

</div>

I have isometric tiles that are put together to form a map. Because the graphics are isometric, and the images themselves are rectangles (with transparent corners) I was wondering if there's way to pass a mouse event thr…

---

## [Show an Object's element](https://forum.kirupa.com/t/show-an-objects-element/306884)

<div class="topic-metadata">

**Author:** [@rCANE](https://forum.kirupa.com/u/rCANE)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 12:31am UTC](https://forum.kirupa.com/t/show-an-objects-element/306884 "2010-03-24T00:31:06Z")

</div>

hi guys! i have lots of objects, within them are lots of others ( MovieClips, numbers, strings ) like this: var O:Object = { oneMovie:MovieClip, someString:'hello you!', nums: { numOne:13 , numTwo:12.46 } }…

---

## [Noob somewhat owned by AS3](https://forum.kirupa.com/t/noob-somewhat-owned-by-as3/306883)

<div class="topic-metadata">

**Author:** [@JamminBill](https://forum.kirupa.com/u/JamminBill)\
**Replies:** 0\
**Last updated:** [March 24, 2010, 12:18am UTC](https://forum.kirupa.com/t/noob-somewhat-owned-by-as3/306883 "2010-03-24T00:18:58Z")

</div>

Occasionally I will set myself a problem in a little practice animation in order to torture myself. In this case I have 15 squares (movieclips) on the stage and when I press a start button I want them to get larger and s…

---

## [Glowfilter not working on textfiled?](https://forum.kirupa.com/t/glowfilter-not-working-on-textfiled/306879)

<div class="topic-metadata">

**Author:** [@Dimitree](https://forum.kirupa.com/u/Dimitree)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 10:15pm UTC](https://forum.kirupa.com/t/glowfilter-not-working-on-textfiled/306879 "2010-03-23T22:15:18Z")

</div>

I have four instances of a movieclip (consisted of a textfield) on stage with given names btn1,btn2,btn3,btn4. The issue is I cannot get the GlowFilter work on ROLL\_OVER event Listener. import com.greensock.\*; import…

---

## [externalInterface and ajax, old xml loads not new](https://forum.kirupa.com/t/externalinterface-and-ajax-old-xml-loads-not-new/306877)

<div class="topic-metadata">

**Author:** [@chopficaro](https://forum.kirupa.com/u/chopficaro)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 9:04pm UTC](https://forum.kirupa.com/t/externalinterface-and-ajax-old-xml-loads-not-new/306877 "2010-03-23T21:04:28Z")

</div>

I've used ExternalInterface.call for an onclick flash event to load some xml with XMLHttpRequest. the xml loads. but if i change the xml file on the server, the old xml file loads for the client, not the new one. i be…

---

## [Screenshots for Navigation](https://forum.kirupa.com/t/screenshots-for-navigation/306873)

<div class="topic-metadata">

**Author:** [@Slumboing](https://forum.kirupa.com/u/Slumboing)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 7:53pm UTC](https://forum.kirupa.com/t/screenshots-for-navigation/306873 "2010-03-23T19:53:27Z")

</div>

Hey all, bit bricked up with this one I'm trying to take screenshots at every node in the navigation so that I can put it in the next node as an icon (as a sort of back button). I've created a package package com.la…

---

## [Need help or recommendations](https://forum.kirupa.com/t/need-help-or-recommendations/306870)

<div class="topic-metadata">

**Author:** [@Vanss472](https://forum.kirupa.com/u/Vanss472)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 7:36pm UTC](https://forum.kirupa.com/t/need-help-or-recommendations/306870 "2010-03-23T19:36:01Z")

</div>

Hi all, I'm starting this new project with a client, and i need some recommendation on how to start. The project: Is going to be a microsite and the client wants to let visitors upload videos directly to the Web sit…

---

## [2 silly questions from the nooby](https://forum.kirupa.com/t/2-silly-questions-from-the-nooby/306868)

<div class="topic-metadata">

**Author:** [@scorpioserve](https://forum.kirupa.com/u/scorpioserve)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 6:58pm UTC](https://forum.kirupa.com/t/2-silly-questions-from-the-nooby/306868 "2010-03-23T18:58:35Z")

</div>

Ok first silly question is when I import must i do this on all frames or only on frame 1, or only on the frame that needs it ie: on frame 1 i am using a preloader that needs import flash.events.ProgressEvent now on f…

---

## [More efficient way to write loop?](https://forum.kirupa.com/t/more-efficient-way-to-write-loop/306867)

<div class="topic-metadata">

**Author:** [@Reean917](https://forum.kirupa.com/u/Reean917)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 6:47pm UTC](https://forum.kirupa.com/t/more-efficient-way-to-write-loop/306867 "2010-03-23T18:47:40Z")

</div>

I'm still learning AS3 so bare with me. I'm curious if there is a more efficient way to write this function. Just seems too bulky but it does work. Any advice would be appreciated. Thanks! for (var i:Number = 0; i\<btn…

---

## [as3 help](https://forum.kirupa.com/t/as3-help/306866)

<div class="topic-metadata">

**Author:** [@mikalh78](https://forum.kirupa.com/u/mikalh78)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 6:12pm UTC](https://forum.kirupa.com/t/as3-help/306866 "2010-03-23T18:12:10Z")

</div>

i have this quiz (code below), and i can't get the option1 variable to display the if statement not else. when i click on option1 it gives me "wrong. try again" in the dynamic text box that is used for answers. stop(); …

---

## [Socket write does not work on server](https://forum.kirupa.com/t/socket-write-does-not-work-on-server/306865)

<div class="topic-metadata">

**Author:** [@cidisix](https://forum.kirupa.com/u/cidisix)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 5:15pm UTC](https://forum.kirupa.com/t/socket-write-does-not-work-on-server/306865 "2010-03-23T17:15:09Z")

</div>

Hi there, This is my first thread, so nice to meet you all Kirupa members ! Let's get into the problem right ahead. I am working with flash CS4, compiling AS3 for Flash Player 9. So I use the class flash.net.Socket …

---

## [Conflicts and disputes arising therefrom](https://forum.kirupa.com/t/conflicts-and-disputes-arising-therefrom/306859)

<div class="topic-metadata">

**Author:** [@jwsfhas](https://forum.kirupa.com/u/jwsfhas)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 3:22pm UTC](https://forum.kirupa.com/t/conflicts-and-disputes-arising-therefrom/306859 "2010-03-23T15:22:35Z")

</div>

It is often said \[杭州家装设计decoration is difficult to \[url=http://www.zjxyzs.com/\]杭州装修control investment costs. Decoration companies \[url=http://www.hzylin.cn/kt012.htm\]杭州格力空调特约维修often lure the fish hook, you start at a low…

---

## [ScrollPane: setStyle for both scrollbars](https://forum.kirupa.com/t/scrollpane-setstyle-for-both-scrollbars/306857)

<div class="topic-metadata">

**Author:** [@JumpingJokes](https://forum.kirupa.com/u/JumpingJokes)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 2:43pm UTC](https://forum.kirupa.com/t/scrollpane-setstyle-for-both-scrollbars/306857 "2010-03-23T14:43:42Z")

</div>

Hello to everybody I nearly managed to skin the scrollbars of the ScrollPane component however ... The following script replaces a button of the scrollbar with a movieclip. That's fine. But it only works with one scr…

---

## [Classes - Making null best way?](https://forum.kirupa.com/t/classes-making-null-best-way/306856)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 2:02pm UTC](https://forum.kirupa.com/t/classes-making-null-best-way/306856 "2010-03-23T14:02:05Z")

</div>

I have a large creation in process that requires a lot of heavy animations and movement with vectors and really processor intensive. Just want to know, regardless of whether the project is huge or small, how to totally s…

---

## [Projektor with fullscreen (widescreen?)](https://forum.kirupa.com/t/projektor-with-fullscreen-widescreen/306853)

<div class="topic-metadata">

**Author:** [@krazycat](https://forum.kirupa.com/u/krazycat)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 1:25pm UTC](https://forum.kirupa.com/t/projektor-with-fullscreen-widescreen/306853 "2010-03-23T13:25:59Z")

</div>

I'm developing a projektor wich will run in fullscreen, but I don't know what to do about this hidious space that shows on the side when you watch on a widescreen. Can I hide them? Fill them with a backgroundcolor? Boi…

---

## [Trying to simulate FPS style mouse control](https://forum.kirupa.com/t/trying-to-simulate-fps-style-mouse-control/306852)

<div class="topic-metadata">

**Author:** [@efos](https://forum.kirupa.com/u/efos)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 1:25pm UTC](https://forum.kirupa.com/t/trying-to-simulate-fps-style-mouse-control/306852 "2010-03-23T13:25:54Z")

</div>

Google is failing me. Basically I've made a shooting gallery, with a scope. mcRange is the unzoomed target range. mcZoom is the zoomed version of the range that appears in the scope. mcScope is the scope, the crossh…

---

## [Tooltip in flash?](https://forum.kirupa.com/t/tooltip-in-flash/306851)

<div class="topic-metadata">

**Author:** [@tic](https://forum.kirupa.com/u/tic)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 1:15pm UTC](https://forum.kirupa.com/t/tooltip-in-flash/306851 "2010-03-23T13:15:40Z")

</div>

Hi, when i worked with flex, i had the lovely function called tooltip wich made some text appear on a mouseover. Now i was wondering, is there some tooltip kind of function for as3 in flash? Or do i need to make a te…

---

## [Events Question (Notification of cuePoints)](https://forum.kirupa.com/t/events-question-notification-of-cuepoints/306849)

<div class="topic-metadata">

**Author:** [@eb\_dev](https://forum.kirupa.com/u/eb_dev)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 12:39pm UTC](https://forum.kirupa.com/t/events-question-notification-of-cuepoints/306849 "2010-03-23T12:39:46Z")

</div>

Hi, If I have three classes, A, B and C, C is instantiated in B and B is instantiated in A, what's the best way to get events from C into A? In my current test case I've added an event listener to the instance of B f…

---

## [AS3 Inactivity check?](https://forum.kirupa.com/t/as3-inactivity-check/306847)

<div class="topic-metadata">

**Author:** [@Christolito](https://forum.kirupa.com/u/Christolito)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 12:20pm UTC](https://forum.kirupa.com/t/as3-inactivity-check/306847 "2010-03-23T12:20:46Z")

</div>

Looking for an AS3 example of how to check for user inativity, and launch a screensaver movieclip. Like this one: http://www.kirupa.com/forum/showthread.php?t=211509&highlight=inactivity

---

## [Moderators Please delete this thread, made by mistake](https://forum.kirupa.com/t/moderators-please-delete-this-thread-made-by-mistake/306846)

<div class="topic-metadata">

**Author:** [@weedunc65](https://forum.kirupa.com/u/weedunc65)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 12:15pm UTC](https://forum.kirupa.com/t/moderators-please-delete-this-thread-made-by-mistake/306846 "2010-03-23T12:15:30Z")

</div>

I'll be damned if I can find the delete post button...

---

## [Disabling rendering to test performance](https://forum.kirupa.com/t/disabling-rendering-to-test-performance/306844)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 11:21am UTC](https://forum.kirupa.com/t/disabling-rendering-to-test-performance/306844 "2010-03-23T11:21:46Z")

</div>

I'm tossing an idea around in my mind, where if I were to remove the Main Document Class from the stage and keep running my code, I would be able to test and see if it's the code or the rendering that is causing slowdown…

---

## [Component inside ScrollPane](https://forum.kirupa.com/t/component-inside-scrollpane/306842)

<div class="topic-metadata">

**Author:** [@generator85](https://forum.kirupa.com/u/generator85)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 11:05am UTC](https://forum.kirupa.com/t/component-inside-scrollpane/306842 "2010-03-23T11:05:40Z")

</div>

I've got a Scrollpane connected to a movieclip with a list of radiobuttons in it. The problem is that the radiobutton component causes the scrollpane to scroll too far. Leaving blank space at the bottom of the list. This…

---

## [AS3: Mouse Event move character](https://forum.kirupa.com/t/as3-mouse-event-move-character/306840)

<div class="topic-metadata">

**Author:** [@mystar25](https://forum.kirupa.com/u/mystar25)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 10:36am UTC](https://forum.kirupa.com/t/as3-mouse-event-move-character/306840 "2010-03-23T10:36:07Z")

</div>

Hi there, i am trying to create a file where a mc hittest another object(using keyboard arrow) it loads an external swf and when keypress to leave the object, it will unload the external swf. Now im trying to make it u…

---

## [Generating then removing randomness in movieclip](https://forum.kirupa.com/t/generating-then-removing-randomness-in-movieclip/306839)

<div class="topic-metadata">

**Author:** [@eurogibbon](https://forum.kirupa.com/u/eurogibbon)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 10:22am UTC](https://forum.kirupa.com/t/generating-then-removing-randomness-in-movieclip/306839 "2010-03-23T10:22:54Z")

</div>

Hi all, I've created a movieclip for the homepage of a website. It is a series of images that are displayed in sequence. However, I needed the movieclip to start at a random place when the page loads, so I used: g…

---

## [Best practice: passing variables from down classes](https://forum.kirupa.com/t/best-practice-passing-variables-from-down-classes/306837)

<div class="topic-metadata">

**Author:** [@generator85](https://forum.kirupa.com/u/generator85)\
**Replies:** 0\
**Last updated:** [March 23, 2010, 9:25am UTC](https://forum.kirupa.com/t/best-practice-passing-variables-from-down-classes/306837 "2010-03-23T09:25:11Z")

</div>

I'm trying to create a oop flash website, but I'm really struggling with some basic things. Example 1: We've got four classes DocumentClass -\> FormsClass -\> Form1Class -\> ListClass Let's say someone clicks a next b…

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

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