# programming

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

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

**Page:** 1282

---

## [Setting the alpha for already drawn line](https://forum.kirupa.com/t/setting-the-alpha-for-already-drawn-line/257423)

<div class="topic-metadata">

**Author:** [@DanglingChap](https://forum.kirupa.com/u/DanglingChap)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 7:02am UTC](https://forum.kirupa.com/t/setting-the-alpha-for-already-drawn-line/257423 "2008-04-14T07:02:50Z")

</div>

Hi, I am drawing lines using Shape object, at each frame the line is being drawn. However at particular even, lets say after frame 400. I have to set the alpha of already drew lines (lines that were drawn before frame …

---

## [Scrollarea with Custom Scrollbars](https://forum.kirupa.com/t/scrollarea-with-custom-scrollbars/257422)

<div class="topic-metadata">

**Author:** [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 7:00am UTC](https://forum.kirupa.com/t/scrollarea-with-custom-scrollbars/257422 "2008-04-14T07:00:49Z")

</div>

Hi, I want to create a scroll area which imports an external text file into it. Can someone send a tutorial link as I have googled it but cannot find a suitable example. Thanks.

---

## [Dynamic Menu and Loader Settings](https://forum.kirupa.com/t/dynamic-menu-and-loader-settings/257420)

<div class="topic-metadata">

**Author:** [@silver61](https://forum.kirupa.com/u/silver61)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 6:28am UTC](https://forum.kirupa.com/t/dynamic-menu-and-loader-settings/257420 "2008-04-14T06:28:46Z")

</div>

Hello, I am sure this has been asked before, but I just couldn't find a thread that really answers my question. I am creating a dynamically built menu from an array of image titles and images on the server, by using …

---

## [Importing Functions, Possible?](https://forum.kirupa.com/t/importing-functions-possible/257418)

<div class="topic-metadata">

**Author:** [@Alpha\_eX](https://forum.kirupa.com/u/Alpha_eX)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 5:50am UTC](https://forum.kirupa.com/t/importing-functions-possible/257418 "2008-04-14T05:50:17Z")

</div>

I want to make an external as file that will have a set of functions in, I want to be able to include these functions to a class without having to rewrite them, is this possible? For example Game.as (will contain fun…

---

## [Full Width Site](https://forum.kirupa.com/t/full-width-site/257417)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 5:19am UTC](https://forum.kirupa.com/t/full-width-site/257417 "2008-04-14T05:19:05Z")

</div>

I want to create an opening effect like the one here: http://www.2advanced.com/ Where the site expands from a horizontal line that goes across the screen - I cannot figure out how to make a flash site that takes up t…

---

## [removeChild removeMovieClip?](https://forum.kirupa.com/t/removechild-removemovieclip/257414)

<div class="topic-metadata">

**Author:** [@scott1969](https://forum.kirupa.com/u/scott1969)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 2:49am UTC](https://forum.kirupa.com/t/removechild-removemovieclip/257414 "2008-04-14T02:49:32Z")

</div>

I am having difficulty removing my characters from the stage. I place code on the click event in my code but can't seem to get it to work. Could someone tell me where I am going wrong. Thanks, Scott MAIN TIMELINE COD…

---

## [Flash Player 9.0 bug](https://forum.kirupa.com/t/flash-player-9-0-bug/257412)

<div class="topic-metadata">

**Author:** [@li1](https://forum.kirupa.com/u/li1)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 2:37am UTC](https://forum.kirupa.com/t/flash-player-9-0-bug/257412 "2008-04-14T02:37:09Z")

</div>

Hello, Broken animation broken\_image\_screenshot Original animation original\_image\_screenshot Please tell me why there is this problem? tests; Firefox 3 (Beta) - FlashPlayer 8.0 - GOOD Firefox 3 (Beta) - FlashPlayer…

---

## [How to reference the object listening for event?](https://forum.kirupa.com/t/how-to-reference-the-object-listening-for-event/257411)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 2:33am UTC](https://forum.kirupa.com/t/how-to-reference-the-object-listening-for-event/257411 "2008-04-14T02:33:58Z")

</div>

i want to make a preloading function that could be used by any Loader object I have regardless of name. I'll explain in code loader1.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress); loader2.co…

---

## [Mouse Over on top of Mouse Over - Help Please](https://forum.kirupa.com/t/mouse-over-on-top-of-mouse-over-help-please/257409)

<div class="topic-metadata">

**Author:** [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 1:34am UTC](https://forum.kirupa.com/t/mouse-over-on-top-of-mouse-over-help-please/257409 "2008-04-14T01:34:47Z")

</div>

Hi, Basically what I have is a green block that fades to 20% when you mouse over it, then a blue block on top of the green that changes to red when you mouse over it. What I would like is when I mouse over the green …

---

## [Dynamically](https://forum.kirupa.com/t/dynamically/257406)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [April 14, 2008, 12:28am UTC](https://forum.kirupa.com/t/dynamically/257406 "2008-04-14T00:28:52Z")

</div>

I have made this: \[image\] i want to make a code so the things i put on those folders appear: If im in photos all the photos appear and i can click them to see them if it's possible please help me

---

## [How to dynamically give MC an instance names?](https://forum.kirupa.com/t/how-to-dynamically-give-mc-an-instance-names/257401)

<div class="topic-metadata">

**Author:** [@ecptavares](https://forum.kirupa.com/u/ecptavares)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 10:58pm UTC](https://forum.kirupa.com/t/how-to-dynamically-give-mc-an-instance-names/257401 "2008-04-13T22:58:05Z")

</div>

Now I have this code which is loading all the images from the xml file into a container and I need to set some ID to track which image should be opened bigger in another MC. And I also need to use this ID to when user ho…

---

## [Keys or Mouse?](https://forum.kirupa.com/t/keys-or-mouse/257400)

<div class="topic-metadata">

**Author:** [@Mr\_beef](https://forum.kirupa.com/u/Mr_beef)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 10:54pm UTC](https://forum.kirupa.com/t/keys-or-mouse/257400 "2008-04-13T22:54:23Z")

</div>

\[LEFT\]Ok I'm begining to start testing ideas for my second RPG. I have noticed several errors which the second version removes. Seeming as I ignored all advice on doing tutorials before jumping straight in I can notice t…

---

## [Another bizarre CS3 bug for the list](https://forum.kirupa.com/t/another-bizarre-cs3-bug-for-the-list/257399)

<div class="topic-metadata">

**Author:** [@mono\_eric3](https://forum.kirupa.com/u/mono_eric3)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 10:52pm UTC](https://forum.kirupa.com/t/another-bizarre-cs3-bug-for-the-list/257399 "2008-04-13T22:52:29Z")

</div>

I've just gone back to an old Flash game from a year or two ago. It was originally built in MX2004, but I'm now using CS3. It opened fine, just had 2 missing fonts (new computer), so I defined some substitutes. It all…

---

## [Height of Main Content DIV](https://forum.kirupa.com/t/height-of-main-content-div/257398)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 10:00pm UTC](https://forum.kirupa.com/t/height-of-main-content-div/257398 "2008-04-13T22:00:44Z")

</div>

I need to set the main content DIV to 490px height. But for some reason in Firefox and Safari the DIV adds about 20px to that height (and there's not enough content to stretch the DIV). Does anyone see what's wrong here? …

---

## [Buttons in AS3](https://forum.kirupa.com/t/buttons-in-as3/257395)

<div class="topic-metadata">

**Author:** [@stefanmhodgson](https://forum.kirupa.com/u/stefanmhodgson)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 9:02pm UTC](https://forum.kirupa.com/t/buttons-in-as3/257395 "2008-04-13T21:02:38Z")

</div>

Hello everybody, I am sturggling to get to grips with AS3, I am not great at coding but just can't get my head around the new way of linking buttons in AS3. I want to create a button, that when it is clicked, it will…

---

## [Open email window when clicked](https://forum.kirupa.com/t/open-email-window-when-clicked/257394)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 7:44pm UTC](https://forum.kirupa.com/t/open-email-window-when-clicked/257394 "2008-04-13T19:44:55Z")

</div>

Ive created a sprite and added a mouse click event with the listener as private function sendEmail(e:MouseEvent){ var \_url:URLRequest = new URLRequest("mailto:email@email.com"); navigateToURL(\_url, "\_blank…

---

## [Gravity + Rotation](https://forum.kirupa.com/t/gravity-rotation/257393)

<div class="topic-metadata">

**Author:** [@Hylkeeee](https://forum.kirupa.com/u/Hylkeeee)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 7:19pm UTC](https://forum.kirupa.com/t/gravity-rotation/257393 "2008-04-13T19:19:50Z")

</div>

Hello all, I am trying to figure out this problem. I hope anybody can help me out. Maybe some played this game when they were younger... example 1: http://i7.ebayimg.com/04/i/000/e4/8e/16ea\_1.JPG i want about the …

---

## [Drawin the line with actionscript](https://forum.kirupa.com/t/drawin-the-line-with-actionscript/257388)

<div class="topic-metadata">

**Author:** [@morbith](https://forum.kirupa.com/u/morbith)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 5:58pm UTC](https://forum.kirupa.com/t/drawin-the-line-with-actionscript/257388 "2008-04-13T17:58:34Z")

</div>

hi everyone, i have a problem with drawing the line in actionscript.. i use moveTo and lineTo method to connect 3 objects horisontaly on the stage in flash. and thath works fine... so all of them are connected... …

---

## [Pros & Cons of MySQL Blob'd Images](https://forum.kirupa.com/t/pros-cons-of-mysql-blobd-images/257383)

<div class="topic-metadata">

**Author:** [@birdboy0103](https://forum.kirupa.com/u/birdboy0103)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 3:59pm UTC](https://forum.kirupa.com/t/pros-cons-of-mysql-blobd-images/257383 "2008-04-13T15:59:15Z")

</div>

Hey everyone, just curious as to whether or not it'd be a good idea to store images directly in a database, or store just the link to the file? Security-wise, I like the idea of having good control over the database's …

---

## [What would be faster](https://forum.kirupa.com/t/what-would-be-faster/257382)

<div class="topic-metadata">

**Author:** [@ArmoredSandwich](https://forum.kirupa.com/u/ArmoredSandwich)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 3:37pm UTC](https://forum.kirupa.com/t/what-would-be-faster/257382 "2008-04-13T15:37:16Z")

</div>

Hey, I'm creating an RTS, see my signature. And it's going pretty well, obviously there is always the problem of lag. Now I wonder what to do. Should I see if a unit is on-screen and only render it when it is on-screen…

---

## [PHP Socket Issues](https://forum.kirupa.com/t/php-socket-issues/257381)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 3:34pm UTC](https://forum.kirupa.com/t/php-socket-issues/257381 "2008-04-13T15:34:49Z")

</div>

So I am following the PHP socket tutorials found on kirupa. I have apache running and modified the proper lines of code. I am getting this error: #!/usr/bin/php -q \*\*Warning\*\*: socket\_bind() \[\[function.socket-bind…

---

## [Possible? - Resizing a dynamic rectangle(drawRoundRect) with tween](https://forum.kirupa.com/t/possible-resizing-a-dynamic-rectangle-drawroundrect-with-tween/257380)

<div class="topic-metadata">

**Author:** [@nortago](https://forum.kirupa.com/u/nortago)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 3:27pm UTC](https://forum.kirupa.com/t/possible-resizing-a-dynamic-rectangle-drawroundrect-with-tween/257380 "2008-04-13T15:27:06Z")

</div>

Hi Guys, I'm sure this is possible, but beyond my current as3 skills, but how would I go about creating a round edged box via drawRoundRect and be able to tween it to a different size without losing proportion? Say, I …

---

## [Loading MovieClips](https://forum.kirupa.com/t/loading-movieclips/257379)

<div class="topic-metadata">

**Author:** [@BeechyBoy](https://forum.kirupa.com/u/BeechyBoy)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 2:59pm UTC](https://forum.kirupa.com/t/loading-movieclips/257379 "2008-04-13T14:59:50Z")

</div>

Heres the example: Three buttons have appeared "Pizza", "Fish Finger Sandwich" and "Soup". When the button for Pizza is pressed then a Pizza MovieClip appears and is then unloaded once the "Fish Finger Sandwich" button o…

---

## [Any1 ever used API's for YouTube Mashup?](https://forum.kirupa.com/t/any1-ever-used-apis-for-youtube-mashup/257378)

<div class="topic-metadata">

**Author:** [@iNeed\_Help](https://forum.kirupa.com/u/iNeed_Help)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 2:26pm UTC](https://forum.kirupa.com/t/any1-ever-used-apis-for-youtube-mashup/257378 "2008-04-13T14:26:57Z")

</div>

I'm working on a site that I intend to have communicating with Youtube videos via google API's. I've started following the guide and I've got a script full of functions that lead to the following error: Fatal error: Cl…

---

## [\\n\\r crap in PHP](https://forum.kirupa.com/t/n-r-crap-in-php/257377)

<div class="topic-metadata">

**Author:** [@k77](https://forum.kirupa.com/u/k77)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 2:24pm UTC](https://forum.kirupa.com/t/n-r-crap-in-php/257377 "2008-04-13T14:24:27Z")

</div>

I have a PHP library setup as following. define('EmailOnBuy', "\<img src=http://www.\*\*\*\*.com/thanksheader.png alt=Thanks for Shopping with \*\*\*! border=0 /\> Thank you, the order has been accepted, any items to be shipp…

---

## [AHHHHH @ AS3 and packages](https://forum.kirupa.com/t/ahhhhh-as3-and-packages/257374)

<div class="topic-metadata">

**Author:** [@wokawaka](https://forum.kirupa.com/u/wokawaka)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 1:58pm UTC](https://forum.kirupa.com/t/ahhhhh-as3-and-packages/257374 "2008-04-13T13:58:06Z")

</div>

im going a little bit crazy over Adobes non descriptive error message... ive searched alot for the answer but even when i try to copy paste other peoples codes exactly as they are i still get the frikkin 1037: Packages…

---

## [TextField \>\> no mouse hand dont appear](https://forum.kirupa.com/t/textfield-no-mouse-hand-dont-appear/257373)

<div class="topic-metadata">

**Author:** [@dfm\_](https://forum.kirupa.com/u/dfm_)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 1:22pm UTC](https://forum.kirupa.com/t/textfield-no-mouse-hand-dont-appear/257373 "2008-04-13T13:22:57Z")

</div>

hi, I have made class that extends Sprite. In sprite I make 2 Text Fields with the following properties: \[AS\] //title var titleFormat:TextFormat = new TextFormat(); titleFormat.align =…

---

## [Loading dynamically](https://forum.kirupa.com/t/loading-dynamically/257372)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 1:20pm UTC](https://forum.kirupa.com/t/loading-dynamically/257372 "2008-04-13T13:20:49Z")

</div>

Hey, I am making a showcase center, i followed some tutorials but it wasn't what i searched for i want to have a folder called photos and the photos that are in that folder loads in a list in thumbnails(like iphoto etc…

---

## [Mouse Scrolling Menu without XML](https://forum.kirupa.com/t/mouse-scrolling-menu-without-xml/257370)

<div class="topic-metadata">

**Author:** [@mikhga](https://forum.kirupa.com/u/mikhga)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 12:43pm UTC](https://forum.kirupa.com/t/mouse-scrolling-menu-without-xml/257370 "2008-04-13T12:43:17Z")

</div>

Hi! I want to make a scrollable menu witch uses the mouse movement to scroll up and down. I don't want the links/menu items made with XML. Just a little menu witch you can scroll up and down with your mouse. I want it…

---

## [Flash problem with importing from photoshop!](https://forum.kirupa.com/t/flash-problem-with-importing-from-photoshop/257368)

<div class="topic-metadata">

**Author:** [@ilikemyself](https://forum.kirupa.com/u/ilikemyself)\
**Replies:** 0\
**Last updated:** [April 13, 2008, 12:04pm UTC](https://forum.kirupa.com/t/flash-problem-with-importing-from-photoshop/257368 "2008-04-13T12:04:05Z")

</div>

Hey everyone, I always draw my icons folders etc on photoshop, when i want to make an animation or game on flash i just drag the layers to flash but sometimes it comes all weird with colors and parts that weren't even …

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

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