# programming

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

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

**Page:** 162

---

## [\[as3\]Submiting score](https://forum.kirupa.com/t/as3-submiting-score/328833)

<div class="topic-metadata">

**Author:** [@kestor](https://forum.kirupa.com/u/kestor)\
**Replies:** 0\
**Last updated:** [June 21, 2012, 6:31pm UTC](https://forum.kirupa.com/t/as3-submiting-score/328833 "2012-06-21T18:31:37Z")

</div>

Hello there! I have finished a game which involves score. Could someone help me as to what code should i write so when the game is online i submit score to some leaderboard? I have no idea how to do that.

---

## [Keeping a Score Box Static on a Game Screen](https://forum.kirupa.com/t/keeping-a-score-box-static-on-a-game-screen/328832)

<div class="topic-metadata">

**Author:** [@11quinmi](https://forum.kirupa.com/u/11quinmi)\
**Replies:** 0\
**Last updated:** [June 21, 2012, 6:30pm UTC](https://forum.kirupa.com/t/keeping-a-score-box-static-on-a-game-screen/328832 "2012-06-21T18:30:14Z")

</div>

Hi i need help with getting a score to count up as my character runs along the screen also to make the score box remain static. Here is the code below please comment on it and give me advise Thank you \[smiley\] Als…

---

## [AS3 text preloader](https://forum.kirupa.com/t/as3-text-preloader/328831)

<div class="topic-metadata">

**Author:** [@jeponkz](https://forum.kirupa.com/u/jeponkz)\
**Replies:** 0\
**Last updated:** [June 21, 2012, 1:16pm UTC](https://forum.kirupa.com/t/as3-text-preloader/328831 "2012-06-21T13:16:42Z")

</div>

Can anyone tell me how to make a pure as3 text preloader, only text preloader from 0% to 100%. Because all of the tutorials in the internet are coding in flash IDE, and putting the code in the timeline. then using the go…

---

## [Prototypes and Object.create](https://forum.kirupa.com/t/prototypes-and-object-create/328827)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [June 21, 2012, 10:40am UTC](https://forum.kirupa.com/t/prototypes-and-object-create/328827 "2012-06-21T10:40:13Z")

</div>

Am trying to summarise a way of working in javascript that seems best of worlds to me. I want to generate an object, use prototyping, and use object.create to do this with some level of basic security and inheritance. I…

---

## [Instantiate Class with Dynamic Name](https://forum.kirupa.com/t/instantiate-class-with-dynamic-name/328825)

<div class="topic-metadata">

**Author:** [@klmillis](https://forum.kirupa.com/u/klmillis)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 10:59pm UTC](https://forum.kirupa.com/t/instantiate-class-with-dynamic-name/328825 "2012-06-20T22:59:49Z")

</div>

Hello all, I have no idea how to do this, but I'm sure it is relatively straightforward... or so I hope. I've gone through many good hits, but can't make it work the way it's discussed. import flash.display.Sprite; i…

---

## [Font Embedding for use into Content Scroller](https://forum.kirupa.com/t/font-embedding-for-use-into-content-scroller/328824)

<div class="topic-metadata">

**Author:** [@SpindizZzy](https://forum.kirupa.com/u/SpindizZzy)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 7:41pm UTC](https://forum.kirupa.com/t/font-embedding-for-use-into-content-scroller/328824 "2012-06-20T19:41:50Z")

</div>

Hi guys, I'm developing a site where I use a 'ContentScroller' for text. I would like to embed a font into the Scroller, so every browser displays the same font-type. I've added this into my code: @font-face { …

---

## [Adding Mousewheel functionality to Kirupa simple scrollbar](https://forum.kirupa.com/t/adding-mousewheel-functionality-to-kirupa-simple-scrollbar/328823)

<div class="topic-metadata">

**Author:** [@Matt\_Laskodi](https://forum.kirupa.com/u/Matt_Laskodi)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 6:31pm UTC](https://forum.kirupa.com/t/adding-mousewheel-functionality-to-kirupa-simple-scrollbar/328823 "2012-06-20T18:31:53Z")

</div>

Hello all, I have a project in which I used the Kirupa custom scrollbar featured here since I needed a modular, easily skinnable scrollbar. However, now I need to make the scrollbar mousewheel-enabled. Does anyone know…

---

## [Load Rss with separate image](https://forum.kirupa.com/t/load-rss-with-separate-image/328822)

<div class="topic-metadata">

**Author:** [@Igor\_Rolim](https://forum.kirupa.com/u/Igor_Rolim)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 4:21pm UTC](https://forum.kirupa.com/t/load-rss-with-separate-image/328822 "2012-06-20T16:21:53Z")

</div>

\[LEFT\]\[COLOR=#333333\]\[FONT=arial\]Hello folks, I have to load rss live on swf. But when i load the tag \<description\> it loads with the content image tag. \<img src=…\>, he is the code of xml.rss \[COLOR=#bb2510\]\<\[/COLOR\]i…

---

## [Session manager, prob when clearing browser cookies](https://forum.kirupa.com/t/session-manager-prob-when-clearing-browser-cookies/328821)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 10:32am UTC](https://forum.kirupa.com/t/session-manager-prob-when-clearing-browser-cookies/328821 "2012-06-20T10:32:35Z")

</div>

Hi there, i rewrote my session management but i am encounting a prob when i clear my browser's cache and cookies. I can prompt the user to log in again but i realised that my session file are not being deleted. so if i s…

---

## [Menus not working after decompile AS1](https://forum.kirupa.com/t/menus-not-working-after-decompile-as1/328820)

<div class="topic-metadata">

**Author:** [@chrissyb](https://forum.kirupa.com/u/chrissyb)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 8:30am UTC](https://forum.kirupa.com/t/menus-not-working-after-decompile-as1/328820 "2012-06-20T08:30:39Z")

</div>

Hi all, It's ages since I've been around here. I have an old, old Flash site with a missing source file that I decompiled. I understand that decompiling can cause issues with script, but I have the original template…

---

## [What is the best way to load a vector image in flash?](https://forum.kirupa.com/t/what-is-the-best-way-to-load-a-vector-image-in-flash/328819)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 6:53am UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-load-a-vector-image-in-flash/328819 "2012-06-20T06:53:19Z")

</div>

hey, i have a vector file (.ai) of a "map" which i want to zoom and pan in flash. I also need to add some buttons on that map which will zoom and pan along with the map. I have converted the image to .swf file and import…

---

## [Base64 decoding and converting to xml](https://forum.kirupa.com/t/base64-decoding-and-converting-to-xml/328818)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 6:14am UTC](https://forum.kirupa.com/t/base64-decoding-and-converting-to-xml/328818 "2012-06-20T06:14:56Z")

</div>

Hi frnds, I am working on a task where I have to convert the Flex application to HTML5. I am stuck at the very first step where the Flex application is provided a Base64 encoded string and application converts it to …

---

## [Tutorial: Shuffling an Array in JavaScript](https://forum.kirupa.com/t/tutorial-shuffling-an-array-in-javascript/328817)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 6:14am UTC](https://forum.kirupa.com/t/tutorial-shuffling-an-array-in-javascript/328817 "2012-06-20T06:14:44Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[FONT=Segoe UI\]This is the happening place to discuss all things related…

---

## [Fixed element messing everything up when you zoom on a mobile device](https://forum.kirupa.com/t/fixed-element-messing-everything-up-when-you-zoom-on-a-mobile-device/328813)

<div class="topic-metadata">

**Author:** [@jpf566](https://forum.kirupa.com/u/jpf566)\
**Replies:** 0\
**Last updated:** [June 19, 2012, 6:56pm UTC](https://forum.kirupa.com/t/fixed-element-messing-everything-up-when-you-zoom-on-a-mobile-device/328813 "2012-06-19T18:56:54Z")

</div>

Alright, so I'm implementing a “fixedfloating menu” that you can see here http://jqueryfordesigners.com/fixed-floating-elements/ Here's the page sheffieldfurniture.com/furniture/bedroom.html It works great on desktop…

---

## [Pushing to an array with multiple properties (Not sure of correct term...)](https://forum.kirupa.com/t/pushing-to-an-array-with-multiple-properties-not-sure-of-correct-term/328812)

<div class="topic-metadata">

**Author:** [@Tedri\_Mark](https://forum.kirupa.com/u/Tedri_Mark)\
**Replies:** 0\
**Last updated:** [June 19, 2012, 3:03pm UTC](https://forum.kirupa.com/t/pushing-to-an-array-with-multiple-properties-not-sure-of-correct-term/328812 "2012-06-19T15:03:03Z")

</div>

Hi, I have an array with a number of properties, and I want to push a number of items to it. Currently I can do: objArray.push ( { path:"assets/bikeobj/constants/alumConstantsLOW.obj", …

---

## [Building own media library - php mysql - performance](https://forum.kirupa.com/t/building-own-media-library-php-mysql-performance/328810)

<div class="topic-metadata">

**Author:** [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Replies:** 0\
**Last updated:** [June 19, 2012, 1:22pm UTC](https://forum.kirupa.com/t/building-own-media-library-php-mysql-performance/328810 "2012-06-19T13:22:49Z")

</div>

Hi there, I was wondering if anybody could give me some tips and hints when building my media library. For the moment, i keep reading my folder and sort the whole arrray to get tree structure. but it is a bit slow and …

---

## [Downsizing in Flash CS5](https://forum.kirupa.com/t/downsizing-in-flash-cs5/328809)

<div class="topic-metadata">

**Author:** [@iMitchellHD](https://forum.kirupa.com/u/iMitchellHD)\
**Replies:** 0\
**Last updated:** [June 19, 2012, 9:49am UTC](https://forum.kirupa.com/t/downsizing-in-flash-cs5/328809 "2012-06-19T09:49:46Z")

</div>

okay ive got a .swf file and im running it on a mac with 4gb RAM so it should be fluent but it runs really slowly its not the FPS because its all one frame with a carousel componant. is there a way i can downsize the fil…

---

## [Unable to reference XML from a loaded movie](https://forum.kirupa.com/t/unable-to-reference-xml-from-a-loaded-movie/328808)

<div class="topic-metadata">

**Author:** [@Frg10](https://forum.kirupa.com/u/Frg10)\
**Replies:** 0\
**Last updated:** [June 19, 2012, 7:29am UTC](https://forum.kirupa.com/t/unable-to-reference-xml-from-a-loaded-movie/328808 "2012-06-19T07:29:36Z")

</div>

Hi All, I have been trying to figure out how to do this but still having zero luck! I have a flash file "contentHolder.fla" place on the root of the directory. Another file "photoGallery.swf" which is under the galle…

---

## [Simple AS2 button calling javascript not working](https://forum.kirupa.com/t/simple-as2-button-calling-javascript-not-working/328807)

<div class="topic-metadata">

**Author:** [@peterfconn](https://forum.kirupa.com/u/peterfconn)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 10:30pm UTC](https://forum.kirupa.com/t/simple-as2-button-calling-javascript-not-working/328807 "2012-06-18T22:30:33Z")

</div>

anyone help me please. I have a button with the following AS2 code. I want the browser to go back to the top but it doesn't work. any ideas?? on (press) { import flash.external.ExternalInterface; ExternalInterface.ca…

---

## [Chrome viewport width/height detection problem?](https://forum.kirupa.com/t/chrome-viewport-width-height-detection-problem/328806)

<div class="topic-metadata">

**Author:** [@Thovas](https://forum.kirupa.com/u/Thovas)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 6:06pm UTC](https://forum.kirupa.com/t/chrome-viewport-width-height-detection-problem/328806 "2012-06-18T18:06:48Z")

</div>

I have made small script that need to resize image to fit the entire stage of the browser code: function resizeBg() { if ( (theWindow.width() / theWindow.height()) \< aspectRatio ) { $bg …

---

## [Horizontal to Vertical Menu](https://forum.kirupa.com/t/horizontal-to-vertical-menu/328805)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 5:25pm UTC](https://forum.kirupa.com/t/horizontal-to-vertical-menu/328805 "2012-06-18T17:25:51Z")

</div>

I've created a horizontal menu but my client wants vertical so since this is my first time doing this I was wondering if someone could assist me converting it from Horizontal to Vertical. Here is the code. \<div id="bl…

---

## [Random load 16 frames in 16 rectangles in stage](https://forum.kirupa.com/t/random-load-16-frames-in-16-rectangles-in-stage/328803)

<div class="topic-metadata">

**Author:** [@kareez](https://forum.kirupa.com/u/kareez)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 3:45pm UTC](https://forum.kirupa.com/t/random-load-16-frames-in-16-rectangles-in-stage/328803 "2012-06-18T15:45:01Z")

</div>

Hi I have 16 empty rectangles in stage and 16 frames in a movie clip (in library) and need to random load all frames in 16 rectangles in each run my swf. everybody can help me?(flash Action script 3) thanks

---

## [Scale makes my mc move... how to avoid this?](https://forum.kirupa.com/t/scale-makes-my-mc-move-how-to-avoid-this/328801)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 2:19pm UTC](https://forum.kirupa.com/t/scale-makes-my-mc-move-how-to-avoid-this/328801 "2012-06-18T14:19:46Z")

</div>

Hello everyone, When i scale my movie clip it moves it down and to the left. How can i avoid this? Thanks, Regards, Leo.

---

## [Barcode Reader](https://forum.kirupa.com/t/barcode-reader/328799)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 10:46am UTC](https://forum.kirupa.com/t/barcode-reader/328799 "2012-06-18T10:46:00Z")

</div>

Hello all, Does anyone have any code for a barcode reader... I've looked on the old Google but can't seem to find anything with source code. Thanks

---

## [Getting free HTTPS](https://forum.kirupa.com/t/getting-free-https/328798)

<div class="topic-metadata">

**Author:** [@gopik3](https://forum.kirupa.com/u/gopik3)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 6:31am UTC](https://forum.kirupa.com/t/getting-free-https/328798 "2012-06-18T06:31:53Z")

</div>

hi Am created website by using free web host in netai.net i want to getting https how can i get it for free.is it possible Thank you

---

## [AS2 3D carousel menu items linking to a frame or label](https://forum.kirupa.com/t/as2-3d-carousel-menu-items-linking-to-a-frame-or-label/328797)

<div class="topic-metadata">

**Author:** [@News2Me](https://forum.kirupa.com/u/News2Me)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 3:44am UTC](https://forum.kirupa.com/t/as2-3d-carousel-menu-items-linking-to-a-frame-or-label/328797 "2012-06-18T03:44:56Z")

</div>

Hi there, Is it possible to have a 3D carousel menu item go to a frame or label in the timeline, not a url, when clicked? Please help. Thank you.

---

## [Stopping all audio except background music?](https://forum.kirupa.com/t/stopping-all-audio-except-background-music/328794)

<div class="topic-metadata">

**Author:** [@Profitemole](https://forum.kirupa.com/u/Profitemole)\
**Replies:** 0\
**Last updated:** [June 17, 2012, 5:25pm UTC](https://forum.kirupa.com/t/stopping-all-audio-except-background-music/328794 "2012-06-17T17:25:37Z")

</div>

I have a few sounds embedded in certain frames and buttons. I also have a background music track that I would like to play over my whole project. My problem is, that when I use SoundMixer.stopAll() it (obviously) stops…

---

## [Display text and image using txt-file](https://forum.kirupa.com/t/display-text-and-image-using-txt-file/328793)

<div class="topic-metadata">

**Author:** [@Magnus\_Dyngen](https://forum.kirupa.com/u/Magnus_Dyngen)\
**Replies:** 0\
**Last updated:** [June 17, 2012, 4:12pm UTC](https://forum.kirupa.com/t/display-text-and-image-using-txt-file/328793 "2012-06-17T16:12:37Z")

</div>

Hi! In connection with an oral exam, I have been given the task of making a program where a user can choose which knots he has completed using a combo box and a button. When the user completes a knot, the name of the…

---

## [Webcam Painting](https://forum.kirupa.com/t/webcam-painting/328792)

<div class="topic-metadata">

**Author:** [@Almonimus](https://forum.kirupa.com/u/Almonimus)\
**Replies:** 0\
**Last updated:** [June 17, 2012, 2:41pm UTC](https://forum.kirupa.com/t/webcam-painting/328792 "2012-06-17T14:41:34Z")

</div>

Here's my experiment (made for fun) (I've got to the idea \[from this file in \[URL="http://www.flong.com/texts/lists/slit\_scan/"\]this article\](http://www.flong.com/storage/images/texts/slit\_scan/slitscancamera\_flash.zi…

---

## [A countdown timer than when finished, takes you to a different frame](https://forum.kirupa.com/t/a-countdown-timer-than-when-finished-takes-you-to-a-different-frame/328791)

<div class="topic-metadata">

**Author:** [@Profitemole](https://forum.kirupa.com/u/Profitemole)\
**Replies:** 0\
**Last updated:** [June 17, 2012, 2:31pm UTC](https://forum.kirupa.com/t/a-countdown-timer-than-when-finished-takes-you-to-a-different-frame/328791 "2012-06-17T14:31:36Z")

</div>

EDIT: \*that when finished EDIT2: I have found a solution, sorry! I don't really know what I'm doing with this timer, so I put together a few mismatched pieces of code hoping it would work, but it doesn't here's what I'…

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

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