# flash

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

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

**Page:** 580

---

## [A problem concerning dynamic texts](https://forum.kirupa.com/t/a-problem-concerning-dynamic-texts/291196)

<div class="topic-metadata">

**Author:** [@evilexplorer](https://forum.kirupa.com/u/evilexplorer)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 3:07am UTC](https://forum.kirupa.com/t/a-problem-concerning-dynamic-texts/291196 "2009-06-26T03:07:10Z")

</div>

I'm making a game, and I found a great font for all the stats and things(the font is Matisse ITC.) The problem is, a lot of computers don't have the font. for instance my mac, and probably most macs. Any suggestions for …

---

## [How to call BitmapData from another function?](https://forum.kirupa.com/t/how-to-call-bitmapdata-from-another-function/291194)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [June 26, 2009, 12:33am UTC](https://forum.kirupa.com/t/how-to-call-bitmapdata-from-another-function/291194 "2009-06-26T00:33:42Z")

</div>

Hi, I can't seem to call my bitmapData from another function, if the bitmapdata was made in a function in the first place. Anyone know why? Here's my code.. If you chuck it into flash, it'll run the function dd() and…

---

## [Functions aren't working](https://forum.kirupa.com/t/functions-arent-working/291180)

<div class="topic-metadata">

**Author:** [@frankyboy](https://forum.kirupa.com/u/frankyboy)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 8:42pm UTC](https://forum.kirupa.com/t/functions-arent-working/291180 "2009-06-25T20:42:28Z")

</div>

I have one function that for some reason, isn't calling the next function. I've been looking over this code all day and I feel like it's probably going to be something really small and stupid but I jsut really need help…

---

## [Photo Slideshow](https://forum.kirupa.com/t/photo-slideshow/291179)

<div class="topic-metadata">

**Author:** [@r3h0ld3r](https://forum.kirupa.com/u/r3h0ld3r)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 8:08pm UTC](https://forum.kirupa.com/t/photo-slideshow/291179 "2009-06-25T20:08:12Z")

</div>

I'm currently working on a flash slideshow project for a website. I plan on having several photos (possibly 10-15) to be displayed at different times. So naturally I have a Timer event that triggers every 5 seconds. E…

---

## [\[HOW TO\] - Random "Idea" Generator](https://forum.kirupa.com/t/how-to-random-idea-generator/291178)

<div class="topic-metadata">

**Author:** [@gl0tch](https://forum.kirupa.com/u/gl0tch)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 7:56pm UTC](https://forum.kirupa.com/t/how-to-random-idea-generator/291178 "2009-06-25T19:56:08Z")

</div>

I'm not sure how to do this project, so I need help where to begin or with what to do. Since I want it on my site, I think Flash/AS3 would be the best choice. Here's how I envision it: I need a "slot machine" style …

---

## [startDrag works on some clips but not others?](https://forum.kirupa.com/t/startdrag-works-on-some-clips-but-not-others/291177)

<div class="topic-metadata">

**Author:** [@maschiltz](https://forum.kirupa.com/u/maschiltz)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 7:52pm UTC](https://forum.kirupa.com/t/startdrag-works-on-some-clips-but-not-others/291177 "2009-06-25T19:52:41Z")

</div>

I'm trying to do a simple mouse pointer change so that when one button is pressed, the pointer changes to an 'X'. I have loaded the image into a new clip and it displays in the movie, but when I try to use startDrag, i …

---

## [Mysterious behaviour (don't know how to title this)](https://forum.kirupa.com/t/mysterious-behaviour-dont-know-how-to-title-this/291176)

<div class="topic-metadata">

**Author:** [@jeremydolan](https://forum.kirupa.com/u/jeremydolan)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 7:49pm UTC](https://forum.kirupa.com/t/mysterious-behaviour-dont-know-how-to-title-this/291176 "2009-06-25T19:49:25Z")

</div>

Hi Folks, First off, a big thank you to Kirupa, you're a great site and I've learned a lot from you. So, I have what I thought was a relatively simple presentation (at least in its scripting) I'm working with others o…

---

## [Garbage collection in CS4](https://forum.kirupa.com/t/garbage-collection-in-cs4/291174)

<div class="topic-metadata">

**Author:** [@AuroraMedia](https://forum.kirupa.com/u/AuroraMedia)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 7:23pm UTC](https://forum.kirupa.com/t/garbage-collection-in-cs4/291174 "2009-06-25T19:23:09Z")

</div>

It is known that a display Object removed from the display list will be garbage collected only if any event listener associated with it is removed. What I would like to know, but could not anywhere find an answer to, i…

---

## [Can Flash go get a user's domain username?](https://forum.kirupa.com/t/can-flash-go-get-a-users-domain-username/291173)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 7:05pm UTC](https://forum.kirupa.com/t/can-flash-go-get-a-users-domain-username/291173 "2009-06-25T19:05:30Z")

</div>

Where I work we enter a username and password to log onto our PC, within a specific domain. Is it possible for Flash to query a user's computer for their username?

---

## [How to load SWF to specific Y position](https://forum.kirupa.com/t/how-to-load-swf-to-specific-y-position/291170)

<div class="topic-metadata">

**Author:** [@crmoberg](https://forum.kirupa.com/u/crmoberg)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 6:35pm UTC](https://forum.kirupa.com/t/how-to-load-swf-to-specific-y-position/291170 "2009-06-25T18:35:24Z")

</div>

Another NOOB question. I have a SWF loading in right now, however it loads to the stages x:0 and y:0. Here's my code: function craDone(e:Event):void { trace("LOAD"); TweenLite.to (portfolioBucket\_mc, 0.5, {x:-831, …

---

## [Variable name in for loop?](https://forum.kirupa.com/t/variable-name-in-for-loop/291165)

<div class="topic-metadata">

**Author:** [@toffe](https://forum.kirupa.com/u/toffe)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 4:57pm UTC](https://forum.kirupa.com/t/variable-name-in-for-loop/291165 "2009-06-25T16:57:34Z")

</div>

I want to create several variables (actually tween objects) in a for loop. I want the variables to get names like "variable1" when i =1, "variable2" when i = 2 etc. for(i=0; i\<10; i++) { } How do i do this?

---

## [Timeline Scrubber with mouse \_x](https://forum.kirupa.com/t/timeline-scrubber-with-mouse--x/291164)

<div class="topic-metadata">

**Author:** [@soulty](https://forum.kirupa.com/u/soulty)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 4:02pm UTC](https://forum.kirupa.com/t/timeline-scrubber-with-mouse--x/291164 "2009-06-25T16:02:50Z")

</div>

Hey guys, a little stuck with what I assumed in practice would be quiet easy. Basically trying to get a slider scrubber to control the timeline playhead of a referenced instance movieclip with the mouse movement across…

---

## [Chage Image Size in AS3 (CS4)](https://forum.kirupa.com/t/chage-image-size-in-as3-cs4/291162)

<div class="topic-metadata">

**Author:** [@Snivvle](https://forum.kirupa.com/u/Snivvle)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 3:44pm UTC](https://forum.kirupa.com/t/chage-image-size-in-as3-cs4/291162 "2009-06-25T15:44:37Z")

</div>

Hi, I am loading an external image into AS3. The image comes in quite large, and I am simply trying to make it 200h x 200w. In AS3 using FlashCS3, you can do this: import fl.containers.UILoader; var myLoader:UILoade…

---

## [How to make multiple instances of the same button?](https://forum.kirupa.com/t/how-to-make-multiple-instances-of-the-same-button/291161)

<div class="topic-metadata">

**Author:** [@nnorton00](https://forum.kirupa.com/u/nnorton00)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 3:28pm UTC](https://forum.kirupa.com/t/how-to-make-multiple-instances-of-the-same-button/291161 "2009-06-25T15:28:44Z")

</div>

I'm working on a simple rotation of some parts, I'm making mouseover regions for each position that the parts are in and the shape of these regions are completely different in each frame. I was wondering if there was a …

---

## [Custom Base Classes and Custom Classes](https://forum.kirupa.com/t/custom-base-classes-and-custom-classes/291160)

<div class="topic-metadata">

**Author:** [@Foodstuff](https://forum.kirupa.com/u/Foodstuff)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 2:52pm UTC](https://forum.kirupa.com/t/custom-base-classes-and-custom-classes/291160 "2009-06-25T14:52:34Z")

</div>

I've created a base class to house some basic functions I'd like to have across several movie clips in a game I'm making, however, when I link a custom class to the same movie clip I get the message; "The base class wi…

---

## [Dynamically assigning functions to button events results in problems](https://forum.kirupa.com/t/dynamically-assigning-functions-to-button-events-results-in-problems/291154)

<div class="topic-metadata">

**Author:** [@philistine](https://forum.kirupa.com/u/philistine)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 10:56am UTC](https://forum.kirupa.com/t/dynamically-assigning-functions-to-button-events-results-in-problems/291154 "2009-06-25T10:56:35Z")

</div>

Hi all, I was wondering if someone might be able to assist with an issue that I am encountering with a project that I am currently working on. I am in the process of writing a scrolling image viewer that dynamically …

---

## [How to change the dimensions of the Sprite object?](https://forum.kirupa.com/t/how-to-change-the-dimensions-of-the-sprite-object/291153)

<div class="topic-metadata">

**Author:** [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 10:52am UTC](https://forum.kirupa.com/t/how-to-change-the-dimensions-of-the-sprite-object/291153 "2009-06-25T10:52:47Z")

</div>

Hi all, I am new to Flash and ActionScript 3.0 environment. I have only basical knowledge regarding this platform. My issue/problem starts here: I have a Sprite object on the stage. What I should do in ord…

---

## [Strings and Variables](https://forum.kirupa.com/t/strings-and-variables/291151)

<div class="topic-metadata">

**Author:** [@paulscanlon\_99](https://forum.kirupa.com/u/paulscanlon_99)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 9:36am UTC](https://forum.kirupa.com/t/strings-and-variables/291151 "2009-06-25T09:36:01Z")

</div>

Hopefully this wil be enough of an explaination but if not i can detail my question further. Okay i have some code that analyses a string and does some stuff, spliting and joining etc. if i have this: var uploadString:…

---

## [Trouble Calling a Variable](https://forum.kirupa.com/t/trouble-calling-a-variable/291146)

<div class="topic-metadata">

**Author:** [@BUNZ1](https://forum.kirupa.com/u/BUNZ1)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 7:37am UTC](https://forum.kirupa.com/t/trouble-calling-a-variable/291146 "2009-06-25T07:37:04Z")

</div>

Here’s my dilemma. I am using gfxcomplex’s image resize class to load a background image for me and it uses an external actionscript file. I am taking the compiled SWF from this and loading it into my flash project. I …

---

## [AS3 liquid sloshing in a container](https://forum.kirupa.com/t/as3-liquid-sloshing-in-a-container/291142)

<div class="topic-metadata">

**Author:** [@noWires](https://forum.kirupa.com/u/noWires)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 6:04am UTC](https://forum.kirupa.com/t/as3-liquid-sloshing-in-a-container/291142 "2009-06-25T06:04:17Z")

</div>

Hi, am looking all over the net to find out how to create a effect for a preloader. A container will be created which will have it slowly fill up with liquid sloshing inside it as the file loads and slowly fill till fu…

---

## [Problems loading XML file](https://forum.kirupa.com/t/problems-loading-xml-file/291141)

<div class="topic-metadata">

**Author:** [@Catharsis](https://forum.kirupa.com/u/Catharsis)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 6:02am UTC](https://forum.kirupa.com/t/problems-loading-xml-file/291141 "2009-06-25T06:02:21Z")

</div>

Hey everyone, I'm having a problem loading a local xml file into my swf. My ultimate goal is to parse the xml file into a list of guests attending a party. Here is the code I have: var loader:URLLoader; function lo…

---

## [URGENT - Flash Timer Problem](https://forum.kirupa.com/t/urgent-flash-timer-problem/291140)

<div class="topic-metadata">

**Author:** [@benzine](https://forum.kirupa.com/u/benzine)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 5:39am UTC](https://forum.kirupa.com/t/urgent-flash-timer-problem/291140 "2009-06-25T05:39:37Z")

</div>

Hey there, I;m having trouble to place a timer in my flash. I'm attaching the source file. The issue is such that I'm having 3 buttons, when triggered (RollOver) reveals an image or swf and when I rollout, it display a…

---

## [Wont reloaded swf again on page refresh](https://forum.kirupa.com/t/wont-reloaded-swf-again-on-page-refresh/291139)

<div class="topic-metadata">

**Author:** [@Devendra\_Singh](https://forum.kirupa.com/u/Devendra_Singh)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 5:33am UTC](https://forum.kirupa.com/t/wont-reloaded-swf-again-on-page-refresh/291139 "2009-06-25T05:33:17Z")

</div>

\[FONT=Calibri\] It could not help me out!!! \[/FONT\] \[FONT=Calibri\] \[/FONT\] \[FONT=Calibri\] I will explain u ....what I want \[/FONT\] \[FONT=Calibri\] \[/FONT\] \[FONT=Calibri\] \[/FONT\] \[FONT=Calibri\] I ha…

---

## [removeEventListener without knowing the function?](https://forum.kirupa.com/t/removeeventlistener-without-knowing-the-function/291138)

<div class="topic-metadata">

**Author:** [@cjhaydon](https://forum.kirupa.com/u/cjhaydon)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 4:47am UTC](https://forum.kirupa.com/t/removeeventlistener-without-knowing-the-function/291138 "2009-06-25T04:47:46Z")

</div>

Hi All, One can easily remove a listener like so: circle.removeEventListener(MouseEvent.CLICK, maskSquare); BUT, is it possible to remove a listener (or preferable ALL listeners) from an object WITHOUT knowing the fun…

---

## [Loop a viewstack](https://forum.kirupa.com/t/loop-a-viewstack/291137)

<div class="topic-metadata">

**Author:** [@nurulizrin](https://forum.kirupa.com/u/nurulizrin)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 3:58am UTC](https://forum.kirupa.com/t/loop-a-viewstack/291137 "2009-06-25T03:58:08Z")

</div>

hi, Flex newbie here, stuck on what should be a simple task. My application consists of a viewStack of 10 panels. Each panel have a datagrid. I would like to print all 10 datagrids content in Excel file. My problem is,…

---

## [Script doesn't work whenbuttons are grouped into a Movie Clip](https://forum.kirupa.com/t/script-doesnt-work-whenbuttons-are-grouped-into-a-movie-clip/291134)

<div class="topic-metadata">

**Author:** [@evergreen481](https://forum.kirupa.com/u/evergreen481)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 1:58am UTC](https://forum.kirupa.com/t/script-doesnt-work-whenbuttons-are-grouped-into-a-movie-clip/291134 "2009-06-25T01:58:02Z")

</div>

This Script: import mx.transitions.Tween; import mx.transitions.easing.\*; var cities:Array = \["muscat", "sohar", "dubai","abu\_dhabi"\] function mover (targetX, targetY){ currentX = marker\_mc.\_x; currentY = marker\_mc.…

---

## [Flash +php sockets.. send disconnect message?](https://forum.kirupa.com/t/flash-php-sockets-send-disconnect-message/291133)

<div class="topic-metadata">

**Author:** [@arborvan37](https://forum.kirupa.com/u/arborvan37)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 12:28am UTC](https://forum.kirupa.com/t/flash-php-sockets-send-disconnect-message/291133 "2009-06-25T00:28:55Z")

</div>

ok so : // socket\_recv just receives data from $socket as $buffer, with an integer length of 2048, and a mystery flag set to 0 // that mystery flag has no real documentation so setting it t…

---

## [Why does Firefox and Chrome ONLY load Flash when it comes into view?](https://forum.kirupa.com/t/why-does-firefox-and-chrome-only-load-flash-when-it-comes-into-view/291131)

<div class="topic-metadata">

**Author:** [@OM2](https://forum.kirupa.com/u/OM2)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 12:12am UTC](https://forum.kirupa.com/t/why-does-firefox-and-chrome-only-load-flash-when-it-comes-into-view/291131 "2009-06-25T00:12:14Z")

</div>

I've struggled with this a lot Flash will ONLY load when it becomes into view on the screen For example, it won't load a Flashmove that is at the bottom of the page INSTEAD: it will ONLY load when that part of the …

---

## [Save bug? Action script looks like it was converted to chinese?!](https://forum.kirupa.com/t/save-bug-action-script-looks-like-it-was-converted-to-chinese/291130)

<div class="topic-metadata">

**Author:** [@drjugears](https://forum.kirupa.com/u/drjugears)\
**Replies:** 0\
**Last updated:** [June 25, 2009, 12:07am UTC](https://forum.kirupa.com/t/save-bug-action-script-looks-like-it-was-converted-to-chinese/291130 "2009-06-25T00:07:54Z")

</div>

Hello there. Wondering if anyone could help shed a little light on this problem. Friend of mine was having trouble saving a cs3 file on his mac. Did 'save as' & managed to save the file to a new location. ...however…

---

## [Help otimizing script](https://forum.kirupa.com/t/help-otimizing-script/291128)

<div class="topic-metadata">

**Author:** [@danieldmm](https://forum.kirupa.com/u/danieldmm)\
**Replies:** 0\
**Last updated:** [June 24, 2009, 11:35pm UTC](https://forum.kirupa.com/t/help-otimizing-script/291128 "2009-06-24T23:35:41Z")

</div>

This is quite a rookie question as I am, please show me how I can optimize this code without writing the same over and over?? mc1.addEventListener(MouseEvent.CLICK, Click1); mc2.addEventListener(MouseEvent.CLICK, Clic…

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

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