# programming

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

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

**Page:** 457

---

## [Combo boxes](https://forum.kirupa.com/t/combo-boxes/311536)

<div class="topic-metadata">

**Author:** [@SephirothOWA](https://forum.kirupa.com/u/SephirothOWA)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 9:31am UTC](https://forum.kirupa.com/t/combo-boxes/311536 "2010-07-09T09:31:20Z")

</div>

Hey guys, I was wondering how to create combo boxes dynamically using action script? I know you can use the component object but tyhat's not what I want to do. Is there another way? What libraries would I have to impor…

---

## [Need help! Swap symbol with actionScript](https://forum.kirupa.com/t/need-help-swap-symbol-with-actionscript/311535)

<div class="topic-metadata">

**Author:** [@Adododin](https://forum.kirupa.com/u/Adododin)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 8:30am UTC](https://forum.kirupa.com/t/need-help-swap-symbol-with-actionscript/311535 "2010-07-09T08:30:19Z")

</div>

Hi, i want to know that when i click on a movie clip it is changed by a image on click using action script any ver.

---

## [Business model](https://forum.kirupa.com/t/business-model/311533)

<div class="topic-metadata">

**Author:** [@sirilu](https://forum.kirupa.com/u/sirilu)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 6:17am UTC](https://forum.kirupa.com/t/business-model/311533 "2010-07-09T06:17:22Z")

</div>

A bank can generate revenue in a variety of different ways including interest, transaction fees and financial advice. The main method is via charging interest on the capital it lends out to customers. The bank profits…

---

## [Compare Two Array](https://forum.kirupa.com/t/compare-two-array/311530)

<div class="topic-metadata">

**Author:** [@JaxNa](https://forum.kirupa.com/u/JaxNa)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 4:47am UTC](https://forum.kirupa.com/t/compare-two-array/311530 "2010-07-09T04:47:40Z")

</div>

Hi, can you plz help me. How i can compare two array. following my code.. var my\_array:Array=Array(5,10,15,20,25,30) var new\_array:Array=Array(7,8,9,10,11,12,13) for(var i:Number=0;i\<my\_array.length;i++){ if(my…

---

## [Cannot access a property](https://forum.kirupa.com/t/cannot-access-a-property/311528)

<div class="topic-metadata">

**Author:** [@flashDubai](https://forum.kirupa.com/u/flashDubai)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 3:23am UTC](https://forum.kirupa.com/t/cannot-access-a-property/311528 "2010-07-09T03:23:05Z")

</div>

Hi Everybody I am working in flash cs3 past 1 years i have small error in flash cs3 coding. I create external class file, // package { import flash.display.MovieClip; import flash.events.MouseEvent; import flash.eve…

---

## [attachMovie with names from an array](https://forum.kirupa.com/t/attachmovie-with-names-from-an-array/311525)

<div class="topic-metadata">

**Author:** [@yani](https://forum.kirupa.com/u/yani)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 2:19am UTC](https://forum.kirupa.com/t/attachmovie-with-names-from-an-array/311525 "2010-07-09T02:19:48Z")

</div>

Hi, I'm trying to reduce repetition in my code by using a for loop with an attachMovie call. var names:Array = new Array(name0, name1, name2); for (i = 0; i \< names.length; i++) { attachMovie(nam…

---

## [Adding a scrollbar in Flash CS5 using AS1.0?](https://forum.kirupa.com/t/adding-a-scrollbar-in-flash-cs5-using-as1-0/311518)

<div class="topic-metadata">

**Author:** [@bryantjcoffey](https://forum.kirupa.com/u/bryantjcoffey)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 7:58pm UTC](https://forum.kirupa.com/t/adding-a-scrollbar-in-flash-cs5-using-as1-0/311518 "2010-07-08T19:58:03Z")

</div>

Hey all, I am attempting to add a scrollbar to A) Text fields in an AS1.0 Flash CS5 file, and B) to a movie clip in the same file. Everywhere I look for the answer they say to use the UIScrollbar component, however in…

---

## [ToobPlayer flashvars](https://forum.kirupa.com/t/toobplayer-flashvars/311516)

<div class="topic-metadata">

**Author:** [@elefen](https://forum.kirupa.com/u/elefen)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 7:22pm UTC](https://forum.kirupa.com/t/toobplayer-flashvars/311516 "2010-07-08T19:22:45Z")

</div>

hi there, i am trying to use ToobPlayer and i have problem with adding flv movie by flash vars using swfobject. Any idea what i am doin wrong ? here is the code i am using: &lt;script type="text/javascript"&gt; …

---

## [Loading Fonts with Javascript](https://forum.kirupa.com/t/loading-fonts-with-javascript/311515)

<div class="topic-metadata">

**Author:** [@jwilliam](https://forum.kirupa.com/u/jwilliam)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 7:17pm UTC](https://forum.kirupa.com/t/loading-fonts-with-javascript/311515 "2010-07-08T19:17:46Z")

</div>

I'm having trouble figuring this out. I will not be able to add @font-face rules to the css when the page loads. The loading of the fonts will have to happen at runtime. Can someone toss me a bone? I use jQuery, by t…

---

## [Can Flash Player 10 Natively Deblock JPEGs Authored Elswhere?](https://forum.kirupa.com/t/can-flash-player-10-natively-deblock-jpegs-authored-elswhere/311512)

<div class="topic-metadata">

**Author:** [@audiohominis](https://forum.kirupa.com/u/audiohominis)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 6:40pm UTC](https://forum.kirupa.com/t/can-flash-player-10-natively-deblock-jpegs-authored-elswhere/311512 "2010-07-08T18:40:48Z")

</div>

The idea, of course, is to apply deblocking to externally loaded \[FONT=Courier New\].jpg\[/FONT\] images. If not natively, then are there any other solutions? Thanks.

---

## [Create local.xml file with customible fields using PHP?](https://forum.kirupa.com/t/create-local-xml-file-with-customible-fields-using-php/311511)

<div class="topic-metadata">

**Author:** [@skullmonkey](https://forum.kirupa.com/u/skullmonkey)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 6:25pm UTC](https://forum.kirupa.com/t/create-local-xml-file-with-customible-fields-using-php/311511 "2010-07-08T18:25:18Z")

</div>

I just went through http://www.kirupa.com/web/php\_contact\_form.htm and its basicly what I need with a litle modification. Can someone tell me what to change that I will receive local.xml or local.txt file in some folder …

---

## [Select items of a layer from TimeLine window](https://forum.kirupa.com/t/select-items-of-a-layer-from-timeline-window/311510)

<div class="topic-metadata">

**Author:** [@PumpkinSkull](https://forum.kirupa.com/u/PumpkinSkull)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 6:18pm UTC](https://forum.kirupa.com/t/select-items-of-a-layer-from-timeline-window/311510 "2010-07-08T18:18:49Z")

</div>

Is there anyway to select the items in a layer from timeline? Always been a nagging thing for me. I mean you click the layers frame 1, for instance, how do I get the item on the frame without having to hide other item…

---

## [Need Circular Video Scrubber Funtionality](https://forum.kirupa.com/t/need-circular-video-scrubber-funtionality/311508)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 5:44pm UTC](https://forum.kirupa.com/t/need-circular-video-scrubber-funtionality/311508 "2010-07-08T17:44:33Z")

</div>

Hello Friends, I need a small help from you guys. I will tell you what exactly i need. I need a video scrubber and it should be in a circular shape. I will tell you how it has to work. I want to rotate with a small c…

---

## [Making Polygons Over Colored Image Parts: Possible?](https://forum.kirupa.com/t/making-polygons-over-colored-image-parts-possible/311507)

<div class="topic-metadata">

**Author:** [@thegnome54](https://forum.kirupa.com/u/thegnome54)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 5:07pm UTC](https://forum.kirupa.com/t/making-polygons-over-colored-image-parts-possible/311507 "2010-07-08T17:07:34Z")

</div>

Hey guys, I'm new here but I've been using the site as a resource for a while. I've got a tough problem. I have .ppm files which are the result of using a segmentation algorithm on images of things. These basically lo…

---

## [Rollover Button (onMouseover) Issues](https://forum.kirupa.com/t/rollover-button-onmouseover-issues/311505)

<div class="topic-metadata">

**Author:** [@Mordeh](https://forum.kirupa.com/u/Mordeh)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 3:53pm UTC](https://forum.kirupa.com/t/rollover-button-onmouseover-issues/311505 "2010-07-08T15:53:39Z")

</div>

Hello all, I am pretty new to ActionScript as a concept (have only worked on animations in Flash really), and entirely new to AS3. I am trying to create a Flash file that has 5 buttons, and the idea is that when you sc…

---

## [Reverse direction of AS3 ComboBox?](https://forum.kirupa.com/t/reverse-direction-of-as3-combobox/311503)

<div class="topic-metadata">

**Author:** [@malamin](https://forum.kirupa.com/u/malamin)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 2:42pm UTC](https://forum.kirupa.com/t/reverse-direction-of-as3-combobox/311503 "2010-07-08T14:42:27Z")

</div>

I've got a comboBox positioned close to the bottom of a frame. Is it possible to reverse the direction of the drop-down so that it "drops-up" and doesn't get clipped off? Thanks

---

## [Query post thumbnail](https://forum.kirupa.com/t/query-post-thumbnail/311501)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 11:43am UTC](https://forum.kirupa.com/t/query-post-thumbnail/311501 "2010-07-08T11:43:46Z")

</div>

I know I been asking a lot of image queastions lately but it's because it seems to be such a mission get get right in wordpress. I am trying to use the Featured Thumbnail option in wordpress 3.0 (otherwise know as post…

---

## [Publishing a swf from a swf](https://forum.kirupa.com/t/publishing-a-swf-from-a-swf/311499)

<div class="topic-metadata">

**Author:** [@krs0307](https://forum.kirupa.com/u/krs0307)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 11:15am UTC](https://forum.kirupa.com/t/publishing-a-swf-from-a-swf/311499 "2010-07-08T11:15:34Z")

</div>

hi goodies, I have a task quite interesting. (dynamic swf generation \[banner creation\]) a. I have a stage with tools such as importing images (resize, rotate etc..) b. I have a text tool to create a textfield (change…

---

## [MVC package structure question](https://forum.kirupa.com/t/mvc-package-structure-question/311498)

<div class="topic-metadata">

**Author:** [@oybrator](https://forum.kirupa.com/u/oybrator)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 10:20am UTC](https://forum.kirupa.com/t/mvc-package-structure-question/311498 "2010-07-08T10:20:17Z")

</div>

Forgive the slightly vague thread title, but I'm struggling with finding info on this because I can't seem to phrase my queries right. Simply: Usually I have separate packages for model, view and controller. This how…

---

## [Stackoverflow](https://forum.kirupa.com/t/stackoverflow/311497)

<div class="topic-metadata">

**Author:** [@punk123123123](https://forum.kirupa.com/u/punk123123123)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 9:33am UTC](https://forum.kirupa.com/t/stackoverflow/311497 "2010-07-08T09:33:50Z")

</div>

i have no idea what is going on with this error stackoverflow.. i went to check out websites regarding the problem and they state something with private functions unable to get the objects within it as AS 3.0 have "prote…

---

## [Mutual Dependencies](https://forum.kirupa.com/t/mutual-dependencies/311495)

<div class="topic-metadata">

**Author:** [@Krabex](https://forum.kirupa.com/u/Krabex)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 9:23am UTC](https://forum.kirupa.com/t/mutual-dependencies/311495 "2010-07-08T09:23:35Z")

</div>

Hey there - I'm trying to get my head around avoiding 'Mutual Dependencies'. As in class A including class B and class B including class A. But I've run into a scenario where i feel like its the only option. Your op…

---

## [\[CS5\]\[AS2\] Input boxes sending formatted variables to PHP](https://forum.kirupa.com/t/cs5-as2-input-boxes-sending-formatted-variables-to-php/311492)

<div class="topic-metadata">

**Author:** [@skadoo](https://forum.kirupa.com/u/skadoo)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 8:12am UTC](https://forum.kirupa.com/t/cs5-as2-input-boxes-sending-formatted-variables-to-php/311492 "2010-07-08T08:12:42Z")

</div>

I'm following this tutorial http://www.kirupa.com/developer/actionscript/displayinphp.htm and here's what I have: http://wooskadoo.com/testbet/PHPvariables.swf Notice if you just click the black button on the bot…

---

## [Can't stop SWF from upscaling](https://forum.kirupa.com/t/cant-stop-swf-from-upscaling/311491)

<div class="topic-metadata">

**Author:** [@Geowil](https://forum.kirupa.com/u/Geowil)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 8:09am UTC](https://forum.kirupa.com/t/cant-stop-swf-from-upscaling/311491 "2010-07-08T08:09:34Z")

</div>

Hello everyone, I am trying to figure out how to make my SWF stay at the project resolution. When ever I play the swf in Firefox it upscales the swf to fit the screen, but that is not a behavior I want it to have as th…

---

## [How to Convert Video to AVI/MP4//MP3/WMV/3GP for Mac Users](https://forum.kirupa.com/t/how-to-convert-video-to-avi-mp4-mp3-wmv-3gp-for-mac-users/311487)

<div class="topic-metadata">

**Author:** [@sorrymiss88](https://forum.kirupa.com/u/sorrymiss88)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 6:42am UTC](https://forum.kirupa.com/t/how-to-convert-video-to-avi-mp4-mp3-wmv-3gp-for-mac-users/311487 "2010-07-08T06:42:29Z")

</div>

I believe you all have at least one of these Sansa, iPod, iPhone, Walkman, Creative Zen, Apple TV, Nokia, Zune, PSP. Actually these portable devices cannot accept all formats of video, so lots of wonderful video can only…

---

## [Using VARS with Switch/Case: Is this possible?](https://forum.kirupa.com/t/using-vars-with-switch-case-is-this-possible/311485)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [July 8, 2010, 2:34am UTC](https://forum.kirupa.com/t/using-vars-with-switch-case-is-this-possible/311485 "2010-07-08T02:34:51Z")

</div>

I have an object that contains times to call a function. Would like to use Switch/Case to test against video stream time. Right now using a For loop every second to test against 50 times is causing super sluggishness. Ho…

---

## [Filtering XML with multiple conditions](https://forum.kirupa.com/t/filtering-xml-with-multiple-conditions/311483)

<div class="topic-metadata">

**Author:** [@gilbejam](https://forum.kirupa.com/u/gilbejam)\
**Replies:** 0\
**Last updated:** [July 7, 2010, 11:40pm UTC](https://forum.kirupa.com/t/filtering-xml-with-multiple-conditions/311483 "2010-07-07T23:40:39Z")

</div>

I am trying to filter xml data based on a varying amount of factors, both category and range (code below). Is it even possible to put more than one conditional statement in an XML filter? Thanks in advance for any help o…

---

## [id3.artist works locally but not on server](https://forum.kirupa.com/t/id3-artist-works-locally-but-not-on-server/311482)

<div class="topic-metadata">

**Author:** [@phastings](https://forum.kirupa.com/u/phastings)\
**Replies:** 0\
**Last updated:** [July 7, 2010, 11:26pm UTC](https://forum.kirupa.com/t/id3-artist-works-locally-but-not-on-server/311482 "2010-07-07T23:26:25Z")

</div>

i inherited an old as2 mp3 player. i'm trying to read id3.artist from the mp3 playing. it gets it and displays fine locally but as soon as i put it on a server it always returns 'undefined'. do i need some kind of …

---

## [Increment number by 1](https://forum.kirupa.com/t/increment-number-by-1/311478)

<div class="topic-metadata">

**Author:** [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Replies:** 0\
**Last updated:** [July 7, 2010, 9:56pm UTC](https://forum.kirupa.com/t/increment-number-by-1/311478 "2010-07-07T21:56:50Z")

</div>

Hi all. I want to increase value by 1 (up to 7), every time my functions is called. But at the moment, my function runs up to 7 at once. This is my code: function changePageStatus () { for ( var i:uint=1; i\<7…

---

## [Question about Flash and Javascript](https://forum.kirupa.com/t/question-about-flash-and-javascript/311477)

<div class="topic-metadata">

**Author:** [@jesse2000](https://forum.kirupa.com/u/jesse2000)\
**Replies:** 0\
**Last updated:** [July 7, 2010, 7:10pm UTC](https://forum.kirupa.com/t/question-about-flash-and-javascript/311477 "2010-07-07T19:10:33Z")

</div>

I want to send a variable to javascript, then in the javascript for it to take that flash variable and then evalute it using an if statement. Can I use the loadvars command? \[COLOR="red"\]\[COLOR="DarkOliveGreen"\]import…

---

## [Cloning array](https://forum.kirupa.com/t/cloning-array/311476)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [July 7, 2010, 6:15pm UTC](https://forum.kirupa.com/t/cloning-array/311476 "2010-07-07T18:15:20Z")

</div>

I have been trying for an hour to clone an array, It seems that nobody has a true reference on how to do it. Two arrays - movieClipArray 1 and movieClipArray2 I want to duplicate movieClipArray1 entirely so that whe…

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

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