# programming

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

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

**Page:** 792

---

## [Safari CSS styling problem](https://forum.kirupa.com/t/safari-css-styling-problem/289951)

<div class="topic-metadata">

**Author:** [@switch81](https://forum.kirupa.com/u/switch81)\
**Replies:** 0\
**Last updated:** [June 8, 2009, 1:31am UTC](https://forum.kirupa.com/t/safari-css-styling-problem/289951 "2009-06-08T01:31:20Z")

</div>

Hi, I've managed to piece together a flash website with my limited as3 knowledge. The text is loaded from external text files and styled with an external css file. It's working perfectly in Firefox and Explorer but i…

---

## [Your very first program](https://forum.kirupa.com/t/your-very-first-program/289950)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [June 8, 2009, 1:00am UTC](https://forum.kirupa.com/t/your-very-first-program/289950 "2009-06-08T01:00:08Z")

</div>

This is the very first full program I ever wrote. It's a QBasic RPG battle with ASCII art. :proud: Paste your first program if you can find it. 'work started on July/09/01 'Starting HP HP1 = 10 'Artimus HP2 =…

---

## [Sliding Puzzle Help (Fixed tiles instead of random)](https://forum.kirupa.com/t/sliding-puzzle-help-fixed-tiles-instead-of-random/289948)

<div class="topic-metadata">

**Author:** [@DRJOE](https://forum.kirupa.com/u/DRJOE)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 11:29pm UTC](https://forum.kirupa.com/t/sliding-puzzle-help-fixed-tiles-instead-of-random/289948 "2009-06-07T23:29:32Z")

</div>

Hello, I'm in the midst of creating a puzzle game, one that has different modes and some extras to unlock. The idea was to create something that would give a person incentive to play a game that's otherwise common (no …

---

## [Xml gallery reloads content - help needed w AS!](https://forum.kirupa.com/t/xml-gallery-reloads-content-help-needed-w-as/289947)

<div class="topic-metadata">

**Author:** [@rred](https://forum.kirupa.com/u/rred)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 10:13pm UTC](https://forum.kirupa.com/t/xml-gallery-reloads-content-help-needed-w-as/289947 "2009-06-07T22:13:28Z")

</div>

Hi there, I created a dynamic gallery based on a Kirupa tutorial (http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm), and modified it to hide the texts unless clicked into view from a button. I now hav…

---

## [ScrollPane Scroll Position](https://forum.kirupa.com/t/scrollpane-scroll-position/289945)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 10:01pm UTC](https://forum.kirupa.com/t/scrollpane-scroll-position/289945 "2009-06-07T22:01:54Z")

</div>

I have a scrollpane with the source set to ImageMovieClip. ImageMocieClip is long in length with 50 images stacked vertically. Because of the size of the scrollpane only 15 are visible at a time. I have a button, nav…

---

## [Text antialiasing](https://forum.kirupa.com/t/text-antialiasing/289944)

<div class="topic-metadata">

**Author:** [@Maxson](https://forum.kirupa.com/u/Maxson)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 9:59pm UTC](https://forum.kirupa.com/t/text-antialiasing/289944 "2009-06-07T21:59:59Z")

</div>

I'm not able to achieve antialiasing in my input text - even when I have embedded it. What could be the problem?

---

## [Control main.swf through loaded.swf](https://forum.kirupa.com/t/control-main-swf-through-loaded-swf/289941)

<div class="topic-metadata">

**Author:** [@damonlee3](https://forum.kirupa.com/u/damonlee3)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 8:07pm UTC](https://forum.kirupa.com/t/control-main-swf-through-loaded-swf/289941 "2009-06-07T20:07:11Z")

</div>

I'm trying to control my main.swf through a loaded .swf. My goals are. 1. load the external swf into main.swf and have a movieclip in the external swf play. (the movie clip in the external swf should play without any c…

---

## [Memory vs. CPU (advice needed)](https://forum.kirupa.com/t/memory-vs-cpu-advice-needed/289938)

<div class="topic-metadata">

**Author:** [@El\_Phantom](https://forum.kirupa.com/u/El_Phantom)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 6:41pm UTC](https://forum.kirupa.com/t/memory-vs-cpu-advice-needed/289938 "2009-06-07T18:41:59Z")

</div>

Hey everybody. Recently I've been developing in a certain way that i'm not sure is wise, so I thought I would ask the guru's here for guidance. Let's say I'm developing a game with an "Enemy" class. Recently I've been ma…

---

## [Trying to use the PNGEncoder multiple times](https://forum.kirupa.com/t/trying-to-use-the-pngencoder-multiple-times/289936)

<div class="topic-metadata">

**Author:** [@SquirtGun](https://forum.kirupa.com/u/SquirtGun)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 5:46pm UTC](https://forum.kirupa.com/t/trying-to-use-the-pngencoder-multiple-times/289936 "2009-06-07T17:46:04Z")

</div>

Hello, I have a large image that exceeds the bitmapdata limits, so I am trying to break it up into 4 separate images and encode them separately using the PNGEncoder. The first 1 comes out great. The remainly 3 all co…

---

## [MouseWheel in Scrollbar](https://forum.kirupa.com/t/mousewheel-in-scrollbar/289935)

<div class="topic-metadata">

**Author:** [@Bobbi](https://forum.kirupa.com/u/Bobbi)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 5:08pm UTC](https://forum.kirupa.com/t/mousewheel-in-scrollbar/289935 "2009-06-07T17:08:24Z")

</div>

Hello Im from Germany and my english is not good But i hope anyone/anybody understand my question. Who can help me please? I have create a scrollbar. Its working fine, but i wish i wont to use my wheelmouse to scro…

---

## [Issue with key codes](https://forum.kirupa.com/t/issue-with-key-codes/289934)

<div class="topic-metadata">

**Author:** [@DZeiba](https://forum.kirupa.com/u/DZeiba)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 3:51pm UTC](https://forum.kirupa.com/t/issue-with-key-codes/289934 "2009-06-07T15:51:56Z")

</div>

I don't get any errors from this code, however, it does nothing. Any help would be greatly appreciated. protected function keyPressHandler(event:KeyboardEvent):void { switch( event.keyCode ) { case (event.…

---

## [3D with AS3 : Help on re-coding a Kirupa example](https://forum.kirupa.com/t/3d-with-as3-help-on-re-coding-a-kirupa-example/289933)

<div class="topic-metadata">

**Author:** [@humbucker](https://forum.kirupa.com/u/humbucker)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 3:51pm UTC](https://forum.kirupa.com/t/3d-with-as3-help-on-re-coding-a-kirupa-example/289933 "2009-06-07T15:51:21Z")

</div>

Hello everyone, Can some please help me recoding a great 3D example found on kirupa (originally written in AS2) in AS3 ? Here is the linl : http://www.kirupa.com/developer/actionscript/shape\_camera.htm It's the examp…

---

## [Gallery - next picture by simple click](https://forum.kirupa.com/t/gallery-next-picture-by-simple-click/289928)

<div class="topic-metadata">

**Author:** [@luftadler](https://forum.kirupa.com/u/luftadler)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 2:09pm UTC](https://forum.kirupa.com/t/gallery-next-picture-by-simple-click/289928 "2009-06-07T14:09:54Z")

</div>

I want to make a gallery where the next picture to be displayed by one left click. Please give me an idea ho this can be made. Thanks!

---

## [Is everyone's IDE player slow?](https://forum.kirupa.com/t/is-everyones-ide-player-slow/289927)

<div class="topic-metadata">

**Author:** [@gotoAndCrash](https://forum.kirupa.com/u/gotoAndCrash)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 1:57pm UTC](https://forum.kirupa.com/t/is-everyones-ide-player-slow/289927 "2009-06-07T13:57:13Z")

</div>

I'm using Flash CS3 on Mac OSX. When I preview things such as games with the Flash IDE player (Cmd+Enter, or Cntrl+Enter on a PC \[I think!\]), the action is draggy-\*\*\* slow. Let's assume that it's a simple game with not a…

---

## [Preloader doesn't work](https://forum.kirupa.com/t/preloader-doesnt-work/289926)

<div class="topic-metadata">

**Author:** [@Wampiro\_UHA](https://forum.kirupa.com/u/Wampiro_UHA)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 1:56pm UTC](https://forum.kirupa.com/t/preloader-doesnt-work/289926 "2009-06-07T13:56:44Z")

</div>

I've tried to create a preloader in frame 1 which shows a small animation while the site loades. But it doesn't work as it actually loads the entire site before showing frame 1 which kinda takes the idea out of the prelo…

---

## [CS3 AS2 UIScrollBar + Clipart problems](https://forum.kirupa.com/t/cs3-as2-uiscrollbar-clipart-problems/289924)

<div class="topic-metadata">

**Author:** [@blackph0en1x](https://forum.kirupa.com/u/blackph0en1x)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 1:06pm UTC](https://forum.kirupa.com/t/cs3-as2-uiscrollbar-clipart-problems/289924 "2009-06-07T13:06:24Z")

</div>

The component itself works perfectly. I can create a scrollbox and the scrollbar and everything works perfectly... except that it somehow partially disables my other codes. I'm trying to create a small database in flash …

---

## [Need help moving a movie clip across the screen in a straight line](https://forum.kirupa.com/t/need-help-moving-a-movie-clip-across-the-screen-in-a-straight-line/289923)

<div class="topic-metadata">

**Author:** [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 12:51pm UTC](https://forum.kirupa.com/t/need-help-moving-a-movie-clip-across-the-screen-in-a-straight-line/289923 "2009-06-07T12:51:28Z")

</div>

Hello all again \[smile\] I am trying to move a playing card across the screen from the deck to the players hand. The deck is in a stationary position and each player has 2 card places in front of them which are also sta…

---

## [Box2d Max speed](https://forum.kirupa.com/t/box2d-max-speed/289922)

<div class="topic-metadata">

**Author:** [@mew](https://forum.kirupa.com/u/mew)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 10:54am UTC](https://forum.kirupa.com/t/box2d-max-speed/289922 "2009-06-07T10:54:24Z")

</div>

Hi, im having trouble to cap the max speed/velocity of my box2d objects. Anyone have any idea on how to do it ? And where should i apply the speed decrease ? \[smile\] // mew

---

## [Child variables](https://forum.kirupa.com/t/child-variables/289921)

<div class="topic-metadata">

**Author:** [@stupidsaint](https://forum.kirupa.com/u/stupidsaint)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 10:38am UTC](https://forum.kirupa.com/t/child-variables/289921 "2009-06-07T10:38:25Z")

</div>

I have started as3 two days ago and havnt been able to work this one out. I have set a for statement that will attach movie clip to the stage. Now all i want to do is link the movieclip to an id. for(var i=0;i\<5;i++)…

---

## [Implementing padding for thumbs](https://forum.kirupa.com/t/implementing-padding-for-thumbs/289916)

<div class="topic-metadata">

**Author:** [@luka66\_6](https://forum.kirupa.com/u/luka66_6)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 12:42am UTC](https://forum.kirupa.com/t/implementing-padding-for-thumbs/289916 "2009-06-07T00:42:00Z")

</div>

Hi i, am building an portfolio site and i have come a long way (still a beginner) but now i found an problem. After i load xml file for paths to portfolio assets i load actual jpg's and/or swf's. But i am stuck since i…

---

## [Buttons to play audio](https://forum.kirupa.com/t/buttons-to-play-audio/289914)

<div class="topic-metadata">

**Author:** [@Marblez](https://forum.kirupa.com/u/Marblez)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 11:08pm UTC](https://forum.kirupa.com/t/buttons-to-play-audio/289914 "2009-06-06T23:08:30Z")

</div>

Hi all, Is there a way to import audio into Flash and use it in a way similar to a movie clip (give it an instance name and use a button to play it etc.) Thanks, everyone Marblez

---

## [Suggestions to make navigation class better](https://forum.kirupa.com/t/suggestions-to-make-navigation-class-better/289912)

<div class="topic-metadata">

**Author:** [@Pezfish](https://forum.kirupa.com/u/Pezfish)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 9:53pm UTC](https://forum.kirupa.com/t/suggestions-to-make-navigation-class-better/289912 "2009-06-06T21:53:23Z")

</div>

I'm hoping someone here has a couple suggestions for a generic navigation class I'm working on. I got it to work exactly how I wanted it to, but maybe someone can think of some ways to make it better. Here's the scrip…

---

## [Calling movieclip by id in a unique way?](https://forum.kirupa.com/t/calling-movieclip-by-id-in-a-unique-way/289911)

<div class="topic-metadata">

**Author:** [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 9:31pm UTC](https://forum.kirupa.com/t/calling-movieclip-by-id-in-a-unique-way/289911 "2009-06-06T21:31:23Z")

</div>

I am trying to make a multiplayer card game which has 6 players. Each player can hold 2 cards. The movie clip names are : p1c1 // Player 1 card 1 p1c2 // Player 1 card 2 p2c1 // Player 2 card 1 p2c2 // Player 2 card 2 …

---

## [Menu Border and Movement](https://forum.kirupa.com/t/menu-border-and-movement/289910)

<div class="topic-metadata">

**Author:** [@kevin04](https://forum.kirupa.com/u/kevin04)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 9:19pm UTC](https://forum.kirupa.com/t/menu-border-and-movement/289910 "2009-06-06T21:19:38Z")

</div>

Hello All! I am trying to design a menu bar that stays at the bottom of the page even when the user resizes their browser window. More importantly, I don't want any of the white border from html to show when opened in…

---

## [How to create a downloadable link from PDF?](https://forum.kirupa.com/t/how-to-create-a-downloadable-link-from-pdf/289907)

<div class="topic-metadata">

**Author:** [@tmm08](https://forum.kirupa.com/u/tmm08)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 7:10pm UTC](https://forum.kirupa.com/t/how-to-create-a-downloadable-link-from-pdf/289907 "2009-06-06T19:10:24Z")

</div>

How would you insert a pdf file into a flash website and have it become a downloadable link?

---

## [News article section, display 3 latest on homepage](https://forum.kirupa.com/t/news-article-section-display-3-latest-on-homepage/289906)

<div class="topic-metadata">

**Author:** [@jarmanje](https://forum.kirupa.com/u/jarmanje)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 6:49pm UTC](https://forum.kirupa.com/t/news-article-section-display-3-latest-on-homepage/289906 "2009-06-06T18:49:27Z")

</div>

Hi there, I'd like to build an HTML/javascript/Ajax site which will be quite basic. menu at top, content in middle etc. I am trying to find out how I can integrate a news section. Basically, I want to add monthly jus…

---

## [as2 and as3?](https://forum.kirupa.com/t/as2-and-as3/289905)

<div class="topic-metadata">

**Author:** [@senol](https://forum.kirupa.com/u/senol)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 6:03pm UTC](https://forum.kirupa.com/t/as2-and-as3/289905 "2009-06-06T18:03:43Z")

</div>

\[LEFT\]What is the biggest difference between as2 and as3?\[/LEFT\]

---

## [Papervision Beginner Question](https://forum.kirupa.com/t/papervision-beginner-question/289902)

<div class="topic-metadata">

**Author:** [@Johannespeter](https://forum.kirupa.com/u/Johannespeter)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 5:39pm UTC](https://forum.kirupa.com/t/papervision-beginner-question/289902 "2009-06-06T17:39:24Z")

</div>

Hello, I am using Flash CS3 on a mac, and am trying to start working with papervision, but am having some annoying issues getting started with it. If anyone has experience using papervision with flash, any help would…

---

## [Noob question: Shared listeners](https://forum.kirupa.com/t/noob-question-shared-listeners/289901)

<div class="topic-metadata">

**Author:** [@stupidsaint](https://forum.kirupa.com/u/stupidsaint)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 5:33pm UTC](https://forum.kirupa.com/t/noob-question-shared-listeners/289901 "2009-06-06T17:33:27Z")

</div>

I have this code: var numOfLinks = 4 for (var i=0; i\<numOfLinks; i++) { var breakImg = new breaker(); breakImg.x = 0 breakImg.y = stage.stageHeight/numOfLinks\*i addChild(breakImg); breakImg.addEventListener(Event.ENTE…

---

## [Socket Server Load](https://forum.kirupa.com/t/socket-server-load/289900)

<div class="topic-metadata">

**Author:** [@LeoKent](https://forum.kirupa.com/u/LeoKent)\
**Replies:** 0\
**Last updated:** [June 6, 2009, 5:30pm UTC](https://forum.kirupa.com/t/socket-server-load/289900 "2009-06-06T17:30:22Z")

</div>

I am looking to write a socket server in PHP based on the one here on Kirupa to be used as a game server. I was just wondering if anyone knows what sort of resources such a server might use. I am wondering about memory u…

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

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