# programming

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

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

**Page:** 1643

---

## [Resizing a box using tween class](https://forum.kirupa.com/t/resizing-a-box-using-tween-class/231414)

<div class="topic-metadata">

**Author:** [@Sam\_Goudie](https://forum.kirupa.com/u/Sam_Goudie)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 3:37pm UTC](https://forum.kirupa.com/t/resizing-a-box-using-tween-class/231414 "2007-07-04T15:37:41Z")

</div>

Hey guys, I need to make a white box change size using actionscript when a button is clicked. The code I've got at the moment is: on (release) { import mx.transitions.easing.\*; import mx.transitions.Tween; var tw:Twe…

---

## [Duplicating Multiple MC's](https://forum.kirupa.com/t/duplicating-multiple-mcs/231412)

<div class="topic-metadata">

**Author:** [@Emdiesse](https://forum.kirupa.com/u/Emdiesse)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 3:21pm UTC](https://forum.kirupa.com/t/duplicating-multiple-mcs/231412 "2007-07-04T15:21:24Z")

</div>

Hello. I have 5 movie clips that I am trying to duplicate. I was going well but then i decided to make it so they appear at certain intervals using the amount of seconds elapsed. now only MC2 is duplicated. Any ide…

---

## [What's wrong with this code? (Tweening)](https://forum.kirupa.com/t/whats-wrong-with-this-code-tweening/231409)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 2:51pm UTC](https://forum.kirupa.com/t/whats-wrong-with-this-code-tweening/231409 "2007-07-04T14:51:07Z")

</div>

So I have moved into learning AS3 and for some reason I can't seem to get tweening figured out. I set up a pretty basic animation on my timeline and then did the "copy for Actionscript 3.0" thing, removed the animation…

---

## [ScrollPane or how to put stuffs?](https://forum.kirupa.com/t/scrollpane-or-how-to-put-stuffs/231404)

<div class="topic-metadata">

**Author:** [@eupompe](https://forum.kirupa.com/u/eupompe)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 1:46pm UTC](https://forum.kirupa.com/t/scrollpane-or-how-to-put-stuffs/231404 "2007-07-04T13:46:34Z")

</div>

I am working on 800x 600 dimensions on Flash 8. What do I need to know if I want to put more than couple of images and texts on 800 x 600 size of stage? When I work on HTML, the page automatically makes scroll bar. But …

---

## [Text Scroller with image with mouse scroller](https://forum.kirupa.com/t/text-scroller-with-image-with-mouse-scroller/231399)

<div class="topic-metadata">

**Author:** [@samual](https://forum.kirupa.com/u/samual)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 12:35pm UTC](https://forum.kirupa.com/t/text-scroller-with-image-with-mouse-scroller/231399 "2007-07-04T12:35:54Z")

</div>

Hi to all,:geek: I have problem with flash. that i want to creat dynamic text & i\*\*mage scroller in scroller by creating custom scroller (not inbuilt component) That scroller i can scroll with help of mouse's scroller. …

---

## [Mute / UnMute button for FLV?](https://forum.kirupa.com/t/mute-unmute-button-for-flv/231393)

<div class="topic-metadata">

**Author:** [@Matt\_Miles](https://forum.kirupa.com/u/Matt_Miles)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 11:00am UTC](https://forum.kirupa.com/t/mute-unmute-button-for-flv/231393 "2007-07-04T11:00:49Z")

</div>

Hi all, While I've been using flash for a while now - its mainly been on the design-y side of things rather than the Actionscript side... Anyway, my problem regards a mute button that I've been asked to add to an intr…

---

## [MLaZz and Andy Please See This](https://forum.kirupa.com/t/mlazz-and-andy-please-see-this/231383)

<div class="topic-metadata">

**Author:** [@aamirbhatti](https://forum.kirupa.com/u/aamirbhatti)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 8:41am UTC](https://forum.kirupa.com/t/mlazz-and-andy-please-see-this/231383 "2007-07-04T08:41:20Z")

</div>

Dear MLaZz you upload resizeTest.fla in this thread http://www.kirupa.com/forum/showthread.php?t=265189&highlight=simple+stage+manager Dear Andy you provide Stage Manager in this thread http://www.kirupa.com/forum/sho…

---

## [Call class method within sub movieclip](https://forum.kirupa.com/t/call-class-method-within-sub-movieclip/231382)

<div class="topic-metadata">

**Author:** [@viske](https://forum.kirupa.com/u/viske)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 8:27am UTC](https://forum.kirupa.com/t/call-class-method-within-sub-movieclip/231382 "2007-07-04T08:27:40Z")

</div>

I'm working in Flash CS3. I've set my Document class named Main and in the constructor I create my own config class: var config:Configuration = new Configuration(); and I set a variable named TEST: config.TEST = …

---

## [ScrollPane and Images](https://forum.kirupa.com/t/scrollpane-and-images/231378)

<div class="topic-metadata">

**Author:** [@Takaya213](https://forum.kirupa.com/u/Takaya213)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 7:42am UTC](https://forum.kirupa.com/t/scrollpane-and-images/231378 "2007-07-04T07:42:27Z")

</div>

Hi all I have a ScrollPane with a group of image buttons in it. When I click on the buttons it goes to and stops on a spacific frame and displays the image in a ScrollPane, now this is all well and all, but a huge unde…

---

## [Help me fix this DIV height problem!](https://forum.kirupa.com/t/help-me-fix-this-div-height-problem/231377)

<div class="topic-metadata">

**Author:** [@sama](https://forum.kirupa.com/u/sama)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 6:54am UTC](https://forum.kirupa.com/t/help-me-fix-this-div-height-problem/231377 "2007-07-04T06:54:12Z")

</div>

Hello, The following is the main page for a site I'm working on: LINK I can't make the left menu spacer to work. Basically, I made a DIV at the bottom of the last button (div id="stem"), and I'm trying to make it fil…

---

## [DataGrid CellRenderer help? (date formating)](https://forum.kirupa.com/t/datagrid-cellrenderer-help-date-formating/231372)

<div class="topic-metadata">

**Author:** [@GeoffR](https://forum.kirupa.com/u/GeoffR)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 5:56am UTC](https://forum.kirupa.com/t/datagrid-cellrenderer-help-date-formating/231372 "2007-07-04T05:56:06Z")

</div>

Hi, I'm returning some info from a Database via a PHP script into Flash using the XML Connector \> DataSet \> DataGrid components to display some audio file details. Overall I have it working nicely, but my problem is \[CO…

---

## [getURl](https://forum.kirupa.com/t/geturl/231370)

<div class="topic-metadata">

**Author:** [@sidhu](https://forum.kirupa.com/u/sidhu)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 5:25am UTC](https://forum.kirupa.com/t/geturl/231370 "2007-07-04T05:25:43Z")

</div>

hi guru's i did one website with flash intro,i gave "entersite " button,end of the flash intro how to call HTML page form the "entersite "button.plese anyone help me. sidhu\>G

---

## [Flash FLV Encoder Slow?](https://forum.kirupa.com/t/flash-flv-encoder-slow/231369)

<div class="topic-metadata">

**Author:** [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 5:12am UTC](https://forum.kirupa.com/t/flash-flv-encoder-slow/231369 "2007-07-04T05:12:21Z")

</div>

Is there something else I should be using instead of the Flash 8 Video Encoder which is really slow, about 6:1 ratio? Or is this program taking so long to ensure it gives a really good clean .flv? btw, i'm doing .avi…

---

## [Help with Math.atan2(); Rotating Movieclip to point at mouse](https://forum.kirupa.com/t/help-with-math-atan2-rotating-movieclip-to-point-at-mouse/231367)

<div class="topic-metadata">

**Author:** [@fishbulb](https://forum.kirupa.com/u/fishbulb)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 4:19am UTC](https://forum.kirupa.com/t/help-with-math-atan2-rotating-movieclip-to-point-at-mouse/231367 "2007-07-04T04:19:10Z")

</div>

\[LEFT\]I am trying to make a line point to wherever the cursor is when i stumbled upon the Math.atan2(); function. It appeared that i would put line.rotation = Math.atan2(1,1); to get 45 degrees or pi/4, but i was wro…

---

## [Checkbox to load music with shared objects](https://forum.kirupa.com/t/checkbox-to-load-music-with-shared-objects/231365)

<div class="topic-metadata">

**Author:** [@cerebrum](https://forum.kirupa.com/u/cerebrum)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 3:33am UTC](https://forum.kirupa.com/t/checkbox-to-load-music-with-shared-objects/231365 "2007-07-04T03:33:53Z")

</div>

Well, I've been banging my head against the wall trying to figure this one out for the past few days, without luck. I want to do three things with my little applet: 1) When the applet is loaded on my website and you'…

---

## [Help needed Deleting MC - Tried everything](https://forum.kirupa.com/t/help-needed-deleting-mc-tried-everything/231359)

<div class="topic-metadata">

**Author:** [@skimmmer](https://forum.kirupa.com/u/skimmmer)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 1:28am UTC](https://forum.kirupa.com/t/help-needed-deleting-mc-tried-everything/231359 "2007-07-04T01:28:23Z")

</div>

Hi, I've been trying to delete a dynamically created movieclip for a while now, I've used mc.removeMovieClip();, removeMovieClip(mc); and also delete mc;. It disappeares but the fps of the game goes down fast. Please h…

---

## [\_visible = false affecting processor?](https://forum.kirupa.com/t/-visible-false-affecting-processor/231358)

<div class="topic-metadata">

**Author:** [@nickcherryjiggz](https://forum.kirupa.com/u/nickcherryjiggz)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 1:26am UTC](https://forum.kirupa.com/t/-visible-false-affecting-processor/231358 "2007-07-04T01:26:24Z")

</div>

{ Not having a movie clip on the stage until needed (attachMovie when it's time, and then kill it as soon as it's temporarily of no use) v. \_visible = false } ^ Is there a difference in processor demand? When setti…

---

## [Rotation: movie clip wiggle](https://forum.kirupa.com/t/rotation-movie-clip-wiggle/231355)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 1:15am UTC](https://forum.kirupa.com/t/rotation-movie-clip-wiggle/231355 "2007-07-04T01:15:42Z")

</div>

I'm looking for a way to create a wiggle motion for a movie clip, but I only need the wiggle to occur two times. If you create a line movie clip and give it an instance name of "bar\_mc" you can play with this code to se…

---

## [Problem with NPCS](https://forum.kirupa.com/t/problem-with-npcs/231354)

<div class="topic-metadata">

**Author:** [@Heytherejake](https://forum.kirupa.com/u/Heytherejake)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 1:15am UTC](https://forum.kirupa.com/t/problem-with-npcs/231354 "2007-07-04T01:15:39Z")

</div>

I have this code to initialize NPCS in my game if you're in their sight range onClipEvent(load) { working = false; sight = 40; } onClipEvent(enterFrame) { if(\_level0.guy.\_x - this.\_x \< sight and \_level0.gu…

---

## [Show the user logged in](https://forum.kirupa.com/t/show-the-user-logged-in/231352)

<div class="topic-metadata">

**Author:** [@philsbury](https://forum.kirupa.com/u/philsbury)\
**Replies:** 0\
**Last updated:** [July 4, 2007, 1:11am UTC](https://forum.kirupa.com/t/show-the-user-logged-in/231352 "2007-07-04T01:11:27Z")

</div>

Hi! I'd like to be able to display the user the is logged in. I assume it will have something to do with the SESSION, but I'm not sure how to construct it. Any ideas? I can post my sentry if i need to?? Thanks Phil

---

## [Media controller in Flash MX Pro not linking to sound](https://forum.kirupa.com/t/media-controller-in-flash-mx-pro-not-linking-to-sound/231348)

<div class="topic-metadata">

**Author:** [@Spee](https://forum.kirupa.com/u/Spee)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 11:50pm UTC](https://forum.kirupa.com/t/media-controller-in-flash-mx-pro-not-linking-to-sound/231348 "2007-07-03T23:50:32Z")

</div>

Hi, I'm just trying to get my showreel up on the web. I have built it in Flash MX pro and used a media display linked to a media controller, my problem is that the controller doesn't seem to link to the sound of the …

---

## [What can't be displayed from a text file?](https://forum.kirupa.com/t/what-cant-be-displayed-from-a-text-file/231347)

<div class="topic-metadata">

**Author:** [@Shii](https://forum.kirupa.com/u/Shii)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 11:35pm UTC](https://forum.kirupa.com/t/what-cant-be-displayed-from-a-text-file/231347 "2007-07-03T23:35:33Z")

</div>

Hi, I am using actionscript to load random quotes from a text file into a dynamic text box. Essentially this works fine - I press the button and a random quote is pulled from the text file. However, occasionally a littl…

---

## [Can Flash invoke Javascript?](https://forum.kirupa.com/t/can-flash-invoke-javascript/231343)

<div class="topic-metadata">

**Author:** [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 10:50pm UTC](https://forum.kirupa.com/t/can-flash-invoke-javascript/231343 "2007-07-03T22:50:37Z")

</div>

Can I implement Flash button so that when clicked, it triggers a Javascript function? That "Javascript" function that is on the HTML page in which the Flash swf is hosted. How?

---

## [Loading External swf the 2Advance way](https://forum.kirupa.com/t/loading-external-swf-the-2advance-way/231341)

<div class="topic-metadata">

**Author:** [@james182](https://forum.kirupa.com/u/james182)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 10:33pm UTC](https://forum.kirupa.com/t/loading-external-swf-the-2advance-way/231341 "2007-07-03T22:33:49Z")

</div>

I am trying to get the external swf to load similar to the 2advance does. main movie has the transition which preloads & loads the external swf into the main movie. how is this done. this is what i have so far but …

---

## [ColorTransform and Button events](https://forum.kirupa.com/t/colortransform-and-button-events/231340)

<div class="topic-metadata">

**Author:** [@creatify](https://forum.kirupa.com/u/creatify)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 10:29pm UTC](https://forum.kirupa.com/t/colortransform-and-button-events/231340 "2007-07-03T22:29:20Z")

</div>

If I create a button class, and colorize an mc within the button using The ColorTransform and Transform classes - why do the button events undo the transformation? var \_\_colorTrans:ColorTransform = new ColorTransform…

---

## [Dynamic Content Diagrams](https://forum.kirupa.com/t/dynamic-content-diagrams/231339)

<div class="topic-metadata">

**Author:** [@TandemAdam](https://forum.kirupa.com/u/TandemAdam)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 10:22pm UTC](https://forum.kirupa.com/t/dynamic-content-diagrams/231339 "2007-07-03T22:22:40Z")

</div>

Hey guys, I wasn't too sure where to ask this but I guess it relates to this category the most. So... I Have been using flash for about five years now, and create quite a few flash based websites with dynamically loade…

---

## [Drawing API effect.. help needed](https://forum.kirupa.com/t/drawing-api-effect-help-needed/231337)

<div class="topic-metadata">

**Author:** [@James001](https://forum.kirupa.com/u/James001)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 9:35pm UTC](https://forum.kirupa.com/t/drawing-api-effect-help-needed/231337 "2007-07-03T21:35:05Z")

</div>

Hi everyone, I'm new to the API capabilities of Flash. I'm trying to achieve an effect like this menu: http://www.hypertemplates.com/templates/14881.html The various threads/lines that the menu hang on. Curving and spr…

---

## [Help - I wish to make it ;)](https://forum.kirupa.com/t/help-i-wish-to-make-it/231336)

<div class="topic-metadata">

**Author:** [@Kimserov](https://forum.kirupa.com/u/Kimserov)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 9:34pm UTC](https://forum.kirupa.com/t/help-i-wish-to-make-it/231336 "2007-07-03T21:34:00Z")

</div>

I am desperately trying to make the effect seen on this site (the way the photo resizes): http://cemgul.com/ I know I'll be able to make it in Photoshop CS2, but unfortunately there are to many things I wish to chang…

---

## [Documentation on special AS 3.0 stuff?](https://forum.kirupa.com/t/documentation-on-special-as-3-0-stuff/231333)

<div class="topic-metadata">

**Author:** [@ven](https://forum.kirupa.com/u/ven)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 8:32pm UTC](https://forum.kirupa.com/t/documentation-on-special-as-3-0-stuff/231333 "2007-07-03T20:32:16Z")

</div>

When doing pure AS 3.0 projects, i use in example this line: \[SWF(width="800", height="600", frameRate="80", backgroundColor="#DDDDDD")\] which then controls the appearance on the SWF. I've been trying to search for t…

---

## [Banging Head on Wall](https://forum.kirupa.com/t/banging-head-on-wall/231331)

<div class="topic-metadata">

**Author:** [@doctorNo](https://forum.kirupa.com/u/doctorNo)\
**Replies:** 0\
**Last updated:** [July 3, 2007, 8:07pm UTC](https://forum.kirupa.com/t/banging-head-on-wall/231331 "2007-07-03T20:07:51Z")

</div>

I've been working on this for sometime, and I am starting to clench my teeth...Could someone take a look at this and tell me why if I substitute \* with \[1\] I can get the next image to pop in to the loader, but otherwise …

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

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