# programming

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

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

**Page:** 481

---

## [Making thumbnails scroll by button click](https://forum.kirupa.com/t/making-thumbnails-scroll-by-button-click/310146)

<div class="topic-metadata">

**Author:** [@Mferris](https://forum.kirupa.com/u/Mferris)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 5:52pm UTC](https://forum.kirupa.com/t/making-thumbnails-scroll-by-button-click/310146 "2010-06-02T17:52:28Z")

</div>

I had a question about the thumbnail tutorial. http://www.kirupa.com/developer/mx2004/thumbnails.htm I want to make the thumbnails scroll left and right when a button the left and right side is clicked instead of the…

---

## [Item move on mouse position](https://forum.kirupa.com/t/item-move-on-mouse-position/310145)

<div class="topic-metadata">

**Author:** [@somdow](https://forum.kirupa.com/u/somdow)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 5:42pm UTC](https://forum.kirupa.com/t/item-move-on-mouse-position/310145 "2010-06-02T17:42:23Z")

</div>

hello all. been along time. getting back to it all and here i am lol. i want to make my thumbnails move opposite of where the mouse is. so for example, if i move the mouse up the thumbnail moves down, if i move the m…

---

## [Initialize class with only the name of the class as a string](https://forum.kirupa.com/t/initialize-class-with-only-the-name-of-the-class-as-a-string/310143)

<div class="topic-metadata">

**Author:** [@sigepmest38](https://forum.kirupa.com/u/sigepmest38)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 5:23pm UTC](https://forum.kirupa.com/t/initialize-class-with-only-the-name-of-the-class-as-a-string/310143 "2010-06-02T17:23:36Z")

</div>

I am attempting to use an already initialized class in a function with only the string name of the class being passed to said function. Example: class art{ var $moduleInfo = "Hello World"; } $art = new Art; ge…

---

## [Twitter PHP API](https://forum.kirupa.com/t/twitter-php-api/310141)

<div class="topic-metadata">

**Author:** [@mrE](https://forum.kirupa.com/u/mrE)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 4:50pm UTC](https://forum.kirupa.com/t/twitter-php-api/310141 "2010-06-02T16:50:51Z")

</div>

Hi. I'm using the PHP Twitter search API and I am running into a few issues. Issue #1 I am able to make a query searching for posts with hashtags, and I am able to exclude certain terms such as cuss words, or random th…

---

## [Shoutcast stream](https://forum.kirupa.com/t/shoutcast-stream/310140)

<div class="topic-metadata">

**Author:** [@okap\_o](https://forum.kirupa.com/u/okap_o)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 4:30pm UTC](https://forum.kirupa.com/t/shoutcast-stream/310140 "2010-06-02T16:30:34Z")

</div>

Hi guys, Has anyone managed to load and play a shoutcast stream with as3? I tried a NetStream, i also tried a URLRequest to a Sound Object but nothing... Thanks \*A

---

## [Silly Mailto problem - pulling my hair out!](https://forum.kirupa.com/t/silly-mailto-problem-pulling-my-hair-out/310138)

<div class="topic-metadata">

**Author:** [@fulci](https://forum.kirupa.com/u/fulci)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 4:12pm UTC](https://forum.kirupa.com/t/silly-mailto-problem-pulling-my-hair-out/310138 "2010-06-02T16:12:29Z")

</div>

Hey all, I have a button, in Flash 8, which works when I put: on (release) { //Goto Webpage Behavior getURL("http://www.macromedia.com","\_self"); //End Behavior } BUT if I change it to: on (release) { //Got…

---

## [Displaying Highscores as a list in flash](https://forum.kirupa.com/t/displaying-highscores-as-a-list-in-flash/310137)

<div class="topic-metadata">

**Author:** [@tktest](https://forum.kirupa.com/u/tktest)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 3:36pm UTC](https://forum.kirupa.com/t/displaying-highscores-as-a-list-in-flash/310137 "2010-06-02T15:36:12Z")

</div>

Hi Guys, I have a flash game and i am trying to get some highscores functionality in there. I have the game actually saving the scores to a DB now and it sends an email to say thanks. What i need though is to now d…

---

## [Margin appearing at top of page](https://forum.kirupa.com/t/margin-appearing-at-top-of-page/310134)

<div class="topic-metadata">

**Author:** [@nnnniiiicccc](https://forum.kirupa.com/u/nnnniiiicccc)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 2:40pm UTC](https://forum.kirupa.com/t/margin-appearing-at-top-of-page/310134 "2010-06-02T14:40:20Z")

</div>

Hi Can anyone help? How do i stop the margin (rougly 10px) automatcially appearing at the top of my webpage. I had solved the problem by using: \<body topmargin="0"\> However when i submitted my site to the W3C Marku…

---

## [Any know anything about creating flash magazines](https://forum.kirupa.com/t/any-know-anything-about-creating-flash-magazines/310133)

<div class="topic-metadata">

**Author:** [@nimble11](https://forum.kirupa.com/u/nimble11)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 2:35pm UTC](https://forum.kirupa.com/t/any-know-anything-about-creating-flash-magazines/310133 "2010-06-02T14:35:32Z")

</div>

Hi there any help , comments or links greatly appreciated Just wondering if anyone had any knowledge or links to info on creating online magazines. I have a some knowledge of actionscript and flash but have been lookin…

---

## [XML Next & Prev Buttons AS3](https://forum.kirupa.com/t/xml-next-prev-buttons-as3/310132)

<div class="topic-metadata">

**Author:** [@simply](https://forum.kirupa.com/u/simply)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 2:22pm UTC](https://forum.kirupa.com/t/xml-next-prev-buttons-as3/310132 "2010-06-02T14:22:49Z")

</div>

Hey world.... One of you is my last hope. For about 3 weeks I have been stairing at this code and i cant come up with a solution. I have tried every posible thing I could think of. What I want is "simple", That if I…

---

## [Passing a HTML query string using flashvars](https://forum.kirupa.com/t/passing-a-html-query-string-using-flashvars/310131)

<div class="topic-metadata">

**Author:** [@aemdliz](https://forum.kirupa.com/u/aemdliz)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 2:09pm UTC](https://forum.kirupa.com/t/passing-a-html-query-string-using-flashvars/310131 "2010-06-02T14:09:01Z")

</div>

\[FONT=Calibri\]I hope someone can help me with my dilemma. I have built a video player in ActionScript 3.0 which consists of a FLA file which has the video player on it and a separate AS file that contains all my ActionS…

---

## [Linking from Flash to a named anchor in HTML](https://forum.kirupa.com/t/linking-from-flash-to-a-named-anchor-in-html/310130)

<div class="topic-metadata">

**Author:** [@wolcotter](https://forum.kirupa.com/u/wolcotter)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 1:40pm UTC](https://forum.kirupa.com/t/linking-from-flash-to-a-named-anchor-in-html/310130 "2010-06-02T13:40:30Z")

</div>

Is it possible to have a link in Flash link to a different (named anchor) section of an HTML document? I suspect not but I imagine it may be doable with Javascript. Anyone know anything about this? \<a href="#tips"\>Jump…

---

## [Is flash the right choice](https://forum.kirupa.com/t/is-flash-the-right-choice/310129)

<div class="topic-metadata">

**Author:** [@ajxuereb](https://forum.kirupa.com/u/ajxuereb)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 1:04pm UTC](https://forum.kirupa.com/t/is-flash-the-right-choice/310129 "2010-06-02T13:04:13Z")

</div>

I am currently making some interactive training apps for a company, It seems like flash is the way to go since I know AS3 and am comfortable with it. The problem comes where my boss wants to be able to sell these apps as…

---

## [Save PDF prompt from Flash](https://forum.kirupa.com/t/save-pdf-prompt-from-flash/310128)

<div class="topic-metadata">

**Author:** [@Alpha\_eX](https://forum.kirupa.com/u/Alpha_eX)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 11:53am UTC](https://forum.kirupa.com/t/save-pdf-prompt-from-flash/310128 "2010-06-02T11:53:32Z")

</div>

I'm making a flash website which has PDF downloads. I would like to know if it is possible to make the 'save' prompt appear rather than opening the PDF when I click the link, if so, how can I do this? At the moment i'm…

---

## [startDrag Nightmare](https://forum.kirupa.com/t/startdrag-nightmare/310126)

<div class="topic-metadata">

**Author:** [@FeverFox](https://forum.kirupa.com/u/FeverFox)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 9:34am UTC](https://forum.kirupa.com/t/startdrag-nightmare/310126 "2010-06-02T09:34:37Z")

</div>

Hey all, Very much in need of some help. In a project i'm doing I have a custom cursor, using the start drag command and mouse.hide. the issue being that the movieclip being dragged is blocking the mouse from initiat…

---

## [AS3 photo gallery](https://forum.kirupa.com/t/as3-photo-gallery/310125)

<div class="topic-metadata">

**Author:** [@luteczka](https://forum.kirupa.com/u/luteczka)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 9:20am UTC](https://forum.kirupa.com/t/as3-photo-gallery/310125 "2010-06-02T09:20:18Z")

</div>

Hi, I'm rather new to AS3 but I have to make a gallery like on this website. http://www.maersk.com/Pages/default.aspx i have only 4 pictures and 4 buttons but I have also two arrows on each side. I would like to make …

---

## [AS3: Working with multiple .as files](https://forum.kirupa.com/t/as3-working-with-multiple-as-files/310122)

<div class="topic-metadata">

**Author:** [@Immulsifier](https://forum.kirupa.com/u/Immulsifier)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 8:35am UTC](https://forum.kirupa.com/t/as3-working-with-multiple-as-files/310122 "2010-06-02T08:35:47Z")

</div>

Hi In an AS2 project I had multiple .as files which where included when building the swf. All these files had different functions in and were just called from various areas of the project. Im trying to convert it to …

---

## [Mouse coordinates issue in FF 3.6 on Mac OSX 10.6.3](https://forum.kirupa.com/t/mouse-coordinates-issue-in-ff-3-6-on-mac-osx-10-6-3/310121)

<div class="topic-metadata">

**Author:** [@Tally\_Ho](https://forum.kirupa.com/u/Tally_Ho)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 8:34am UTC](https://forum.kirupa.com/t/mouse-coordinates-issue-in-ff-3-6-on-mac-osx-10-6-3/310121 "2010-06-02T08:34:37Z")

</div>

Hi. I have encountered really bad problem in one of our Flex projects. For some reason Flash can't get mouse coordinates properly. It returns something like (-107374182.4, -107374182.4) instead of good numbers. This ha…

---

## [\[SWF hack tools\] need help with background color](https://forum.kirupa.com/t/swf-hack-tools-need-help-with-background-color/310119)

<div class="topic-metadata">

**Author:** [@adBuryD](https://forum.kirupa.com/u/adBuryD)\
**Replies:** 0\
**Last updated:** [June 2, 2010, 6:03am UTC](https://forum.kirupa.com/t/swf-hack-tools-need-help-with-background-color/310119 "2010-06-02T06:03:08Z")

</div>

hi, First of all here is a link for swf hack tools http://www.swftools.org/swfcombine.html this helps to add frames to an swf or combie two swfs in to one and some other. I was just experimenting with it and i hav…

---

## [GetURL command only works on www and not http://](https://forum.kirupa.com/t/geturl-command-only-works-on-www-and-not-http/310114)

<div class="topic-metadata">

**Author:** [@Tardivel73](https://forum.kirupa.com/u/Tardivel73)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 11:12pm UTC](https://forum.kirupa.com/t/geturl-command-only-works-on-www-and-not-http/310114 "2010-06-01T23:12:34Z")

</div>

Hi Im new to this forum, but i have a problem with the getURL command When i open my page like this : www.mypage.com, the buttons work fine, and when i click them, they go to the wanted url... But if i open my page…

---

## [Padding Numbers for Time in AS3](https://forum.kirupa.com/t/padding-numbers-for-time-in-as3/310113)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 10:44pm UTC](https://forum.kirupa.com/t/padding-numbers-for-time-in-as3/310113 "2010-06-01T22:44:24Z")

</div>

I am working on a time display that takes a time reference from a video. What is the best way to pad the numbers so they show correctly as 00:00, 01:23, etc. Would like to stay away from just padding a string "0" in …

---

## [Scaling, Registration point where art thou?](https://forum.kirupa.com/t/scaling-registration-point-where-art-thou/310111)

<div class="topic-metadata">

**Author:** [@cermunnos](https://forum.kirupa.com/u/cermunnos)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 9:28pm UTC](https://forum.kirupa.com/t/scaling-registration-point-where-art-thou/310111 "2010-06-01T21:28:39Z")

</div>

Hiya, I've a perlinmap stuck unto a bitmap which is in a movieclip. Basically its a pretty starscape its tiled (2x2) so i can zoom around on it without scaling and the edges all "meet" so it appears like I have a smoot…

---

## [Optimization question!](https://forum.kirupa.com/t/optimization-question/310104)

<div class="topic-metadata">

**Author:** [@Nicolea](https://forum.kirupa.com/u/Nicolea)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 5:15pm UTC](https://forum.kirupa.com/t/optimization-question/310104 "2010-06-01T17:15:51Z")

</div>

Ok, so this has been bugging me for a while. I've had the nagging thought of eventListeners vs container looping. For example, you could create a bunch of objects and store them in an array; make a loop that traverses…

---

## [Drag object along cutom pass](https://forum.kirupa.com/t/drag-object-along-cutom-pass/310101)

<div class="topic-metadata">

**Author:** [@h3d0](https://forum.kirupa.com/u/h3d0)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 4:43pm UTC](https://forum.kirupa.com/t/drag-object-along-cutom-pass/310101 "2010-06-01T16:43:40Z")

</div>

Greetings. Please look at this picture: \[image\] I have a guide (curve, part of circle) and an object. I want this object to be draggable along the curve. The questions are: 1) Is there any easy way like startDrag…

---

## [Okay, twist my brains: multi layer 2d looping image slider with masks](https://forum.kirupa.com/t/okay-twist-my-brains-multi-layer-2d-looping-image-slider-with-masks/310100)

<div class="topic-metadata">

**Author:** [@tvdhoff](https://forum.kirupa.com/u/tvdhoff)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 4:35pm UTC](https://forum.kirupa.com/t/okay-twist-my-brains-multi-layer-2d-looping-image-slider-with-masks/310100 "2010-06-01T16:35:44Z")

</div>

Hi All, I need to build a portfolio for a photographer and am trying to figure out the best approach. I could use some suggestions here! REQS: - 3 layers of images (groups) with a parallaxe like effect, meaning: …

---

## [SWF Not loading](https://forum.kirupa.com/t/swf-not-loading/310099)

<div class="topic-metadata">

**Author:** [@mr\_k](https://forum.kirupa.com/u/mr_k)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 4:28pm UTC](https://forum.kirupa.com/t/swf-not-loading/310099 "2010-06-01T16:28:13Z")

</div>

So I have this website that I created for a company, which uses several SWFs on it. When I go to this site in Firefox/IE, only one of them doesn't load; the Header. This didn't occur until recently, when I initially upl…

---

## [\[AS2\] removing zero's](https://forum.kirupa.com/t/as2-removing-zeros/310097)

<div class="topic-metadata">

**Author:** [@540media](https://forum.kirupa.com/u/540media)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 3:13pm UTC](https://forum.kirupa.com/t/as2-removing-zeros/310097 "2010-06-01T15:13:38Z")

</div>

hi, can someone help me with this?? I've built a dynamic generating quiz the user enters their answer into a input box and then presses a button to check their answer... this all work fine except that if the answer i…

---

## [C# Async Socket](https://forum.kirupa.com/t/c-async-socket/310094)

<div class="topic-metadata">

**Author:** [@Dom\_1](https://forum.kirupa.com/u/Dom_1)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 1:18pm UTC](https://forum.kirupa.com/t/c-async-socket/310094 "2010-06-01T13:18:05Z")

</div>

Hi all, Here is the thing, I'm writing a C# app that allows you to view the state of a little network. I have a master server to which any client can connect to and send data about itself. The master server collects al…

---

## [User copying a portion of a swf](https://forum.kirupa.com/t/user-copying-a-portion-of-a-swf/310093)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 12:35pm UTC](https://forum.kirupa.com/t/user-copying-a-portion-of-a-swf/310093 "2010-06-01T12:35:04Z")

</div>

I just saw one of the Sears websites in which you can "copy" a portion of the swf using a selection window. Once they click and drag and release the selection window, another swf pops up with their selection in it. Can s…

---

## [Horizontal scroller how to](https://forum.kirupa.com/t/horizontal-scroller-how-to/310086)

<div class="topic-metadata">

**Author:** [@Ricky55](https://forum.kirupa.com/u/Ricky55)\
**Replies:** 0\
**Last updated:** [June 1, 2010, 9:08am UTC](https://forum.kirupa.com/t/horizontal-scroller-how-to/310086 "2010-06-01T09:08:15Z")

</div>

Hi How would you guys go about creating an horizontally scrolling panel of thumbnail images? I want a panel that scrolls for ever in both directions and it also needs to be controlled via two arrow buttons not a mou…

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

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