# programming

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

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

**Page:** 662

---

## [Combobox won't allow selection of 1st item](https://forum.kirupa.com/t/combobox-wont-allow-selection-of-1st-item/298428)

<div class="topic-metadata">

**Author:** [@cortezcreations](https://forum.kirupa.com/u/cortezcreations)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 12:52am UTC](https://forum.kirupa.com/t/combobox-wont-allow-selection-of-1st-item/298428 "2009-10-19T00:52:08Z")

</div>

Hello out there. Like the title says I can't seem to get my combobox to allow the first item to be selected after loading. If I select any other item in the list it works fine and I can immediately come back and select t…

---

## [UILoader help](https://forum.kirupa.com/t/uiloader-help/298427)

<div class="topic-metadata">

**Author:** [@eturley](https://forum.kirupa.com/u/eturley)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 11:54pm UTC](https://forum.kirupa.com/t/uiloader-help/298427 "2009-10-18T23:54:50Z")

</div>

\*\*Hello! I am using the UILoader to load images but I want both .jpg and .swf files to be loaded in this sequence. Right now as you click the next button it scrolls thru all the .jpg in my images folder but I need thi…

---

## [Urgent : Objects Sorting](https://forum.kirupa.com/t/urgent-objects-sorting/298426)

<div class="topic-metadata">

**Author:** [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 11:54pm UTC](https://forum.kirupa.com/t/urgent-objects-sorting/298426 "2009-10-18T23:54:35Z")

</div>

Hi there, i have a little problem , i have four objects, obj01, obj02 , obj03, obj04, all these objects have two properties, "power", "interest".... now if i want to sort them in an array that object with higher po…

---

## [Array with negative indices?](https://forum.kirupa.com/t/array-with-negative-indices/298425)

<div class="topic-metadata">

**Author:** [@deafdigit](https://forum.kirupa.com/u/deafdigit)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 10:54pm UTC](https://forum.kirupa.com/t/array-with-negative-indices/298425 "2009-10-18T22:54:58Z")

</div>

Hi guys, I have a question regarding arrays. As far as I know, you can't refer to an array using negative indices in actionsscript, can you? I know it's possible in C, C++ and D, but not in actionsscript - to my know…

---

## [YuMe Ads Network Integration](https://forum.kirupa.com/t/yume-ads-network-integration/298423)

<div class="topic-metadata">

**Author:** [@Ronny\_Depp](https://forum.kirupa.com/u/Ronny_Depp)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 9:48pm UTC](https://forum.kirupa.com/t/yume-ads-network-integration/298423 "2009-10-18T21:48:12Z")

</div>

I'm having same inconvenience while integrating YuMe Ads Module in my project. YuMe's documentation is really bad & pretty confusing. I would like any helping blog post or forums thread elaborating the solution in th…

---

## [Full Screen SWF?](https://forum.kirupa.com/t/full-screen-swf/298420)

<div class="topic-metadata">

**Author:** [@ROFLMAO](https://forum.kirupa.com/u/ROFLMAO)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 9:12pm UTC](https://forum.kirupa.com/t/full-screen-swf/298420 "2009-10-18T21:12:51Z")

</div>

I appreciate this question has been asked in the past, but I can only find tutorials for use with HTML... Basically when the user loads the SWF on their computer, I want it to jump to full screen - PREFERABLY with no t…

---

## ["A term is undefined and has no properties"-error](https://forum.kirupa.com/t/a-term-is-undefined-and-has-no-properties-error/298417)

<div class="topic-metadata">

**Author:** [@deafdigit](https://forum.kirupa.com/u/deafdigit)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 7:16pm UTC](https://forum.kirupa.com/t/a-term-is-undefined-and-has-no-properties-error/298417 "2009-10-18T19:16:01Z")

</div>

Hi everyone, I'm trying to convert an old apple-dock-ish flash-script file to as3 and I've ALMOST got it, but now flash has started giving me the following error: TypeError: Error #1010: A term is undefined and has …

---

## [Solved, nvm](https://forum.kirupa.com/t/solved-nvm/298416)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 7:10pm UTC](https://forum.kirupa.com/t/solved-nvm/298416 "2009-10-18T19:10:32Z")

</div>

Really, really stupid question. Nevermind.

---

## [ActionScript Help: Looping onRollOver](https://forum.kirupa.com/t/actionscript-help-looping-onrollover/298415)

<div class="topic-metadata">

**Author:** [@dougkoh](https://forum.kirupa.com/u/dougkoh)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 6:14pm UTC](https://forum.kirupa.com/t/actionscript-help-looping-onrollover/298415 "2009-10-18T18:14:11Z")

</div>

Hi, I'm fairly new to flash and I need some help. This is what I have so far on keyframe 1: stop(); this.onRollOver = function(){ play(); var loop:Number = 0; } this.onRollOut = function(){ gotoAnd…

---

## [Encryption/Decryption of a string](https://forum.kirupa.com/t/encryption-decryption-of-a-string/298414)

<div class="topic-metadata">

**Author:** [@minopharma](https://forum.kirupa.com/u/minopharma)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 5:41pm UTC](https://forum.kirupa.com/t/encryption-decryption-of-a-string/298414 "2009-10-18T17:41:37Z")

</div>

Hi, I'm using as3crypto classes for encryption/decryption of a string. The encryption is ok (I'm using the following encryption method): var cut:ByteArray = new ByteArray(); cut.writeUTFBytes(iutime); var key:ByteA…

---

## [Question about kirupa's mail form](https://forum.kirupa.com/t/question-about-kirupas-mail-form/298411)

<div class="topic-metadata">

**Author:** [@charmander](https://forum.kirupa.com/u/charmander)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 4:51pm UTC](https://forum.kirupa.com/t/question-about-kirupas-mail-form/298411 "2009-10-18T16:51:59Z")

</div>

Hi there, I ask about kirupa's flash mail form, you can find it here: http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm I tried to linked it to a hotmail account, and it worked and I started to receive mes…

---

## [Pass a variable via url during development](https://forum.kirupa.com/t/pass-a-variable-via-url-during-development/298410)

<div class="topic-metadata">

**Author:** [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 4:36pm UTC](https://forum.kirupa.com/t/pass-a-variable-via-url-during-development/298410 "2009-10-18T16:36:37Z")

</div>

When debugging an app I'd like to be able to quickly change some startup values by changing the url. For example, when I run an app in Flex, it opens a url like this: file:///somepath/GameClient/bin-debug/GameClient.h…

---

## [How to close](https://forum.kirupa.com/t/how-to-close/298409)

<div class="topic-metadata">

**Author:** [@jonas1976](https://forum.kirupa.com/u/jonas1976)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 3:57pm UTC](https://forum.kirupa.com/t/how-to-close/298409 "2009-10-18T15:57:34Z")

</div>

Hi, how to close two swf´s at the same time and de main stils open course \[smile\] , i show the figure. \[image\] the button close is in contacts.swf and the foto.swf is a button inside contacts.swf and when we click o…

---

## [HELP!BEX crashing when editing text](https://forum.kirupa.com/t/help-bex-crashing-when-editing-text/298406)

<div class="topic-metadata">

**Author:** [@cpdavidd](https://forum.kirupa.com/u/cpdavidd)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 1:42pm UTC](https://forum.kirupa.com/t/help-bex-crashing-when-editing-text/298406 "2009-10-18T13:42:25Z")

</div>

Hello, I have a problem. Normally I open a .fla file and ask me to choose subtitles. Then i try edit text and crashed. I have tried edit text in CS4 but crashes too... :{ Anyone help?

---

## [Lightbox using AS3](https://forum.kirupa.com/t/lightbox-using-as3/298405)

<div class="topic-metadata">

**Author:** [@sarah3585](https://forum.kirupa.com/u/sarah3585)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 11:55am UTC](https://forum.kirupa.com/t/lightbox-using-as3/298405 "2009-10-18T11:55:42Z")

</div>

I can't seem to find any tutorials on this for AS3 on the web. I have images set up already in a flash gallery that I want to use lightbox to show larger and maybe even a few more images per thumbnail. I have my java…

---

## [C# name files incrementally](https://forum.kirupa.com/t/c-name-files-incrementally/298401)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 10:46am UTC](https://forum.kirupa.com/t/c-name-files-incrementally/298401 "2009-10-18T10:46:18Z")

</div>

Hi. Can someone tell me how to name files incrementally. For example, I'm trying to make an app that downloads once a day a file from the same site. The problem I'm facing is: I want to name the files that are downloaded…

---

## [\[Embed(source = 'transparent.png')\] as JPEG (and set quality)?](https://forum.kirupa.com/t/embed-source-transparent-png-as-jpeg-and-set-quality/298398)

<div class="topic-metadata">

**Author:** [@audiohominis](https://forum.kirupa.com/u/audiohominis)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 8:31am UTC](https://forum.kirupa.com/t/embed-source-transparent-png-as-jpeg-and-set-quality/298398 "2009-10-18T08:31:25Z")

</div>

And that would pretty much be my question today, fellow AS3ers. Ever since I got the hang of AS3 and discovered FlashDevelop, I pretty much abandoned \[FONT=Courier New\]fla\[/FONT\]. Back in the days, before switching to …

---

## [Conflict between MovieClip & Combobox](https://forum.kirupa.com/t/conflict-between-movieclip-combobox/298396)

<div class="topic-metadata">

**Author:** [@hagop](https://forum.kirupa.com/u/hagop)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 7:21am UTC](https://forum.kirupa.com/t/conflict-between-movieclip-combobox/298396 "2009-10-18T07:21:26Z")

</div>

Hi all This is a bit tricky. I load a movieclip through a swf file with a loader function which has a class attached to it. The class listens to keyboard event, so that when the up and down keyboard arrows are presse…

---

## [Help with Movie Clip Rollover](https://forum.kirupa.com/t/help-with-movie-clip-rollover/298393)

<div class="topic-metadata">

**Author:** [@comvat25](https://forum.kirupa.com/u/comvat25)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 2:24am UTC](https://forum.kirupa.com/t/help-with-movie-clip-rollover/298393 "2009-10-18T02:24:29Z")

</div>

Im trying to add a advertisement to a site where a user can see the top of the tab-Ad sticking out from behind the menu and if they rollover it the Ad will move up to reveal itself. When the user takes his mouse off the…

---

## [Is it possible to blur a dynamic line?](https://forum.kirupa.com/t/is-it-possible-to-blur-a-dynamic-line/298391)

<div class="topic-metadata">

**Author:** [@cyan](https://forum.kirupa.com/u/cyan)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 1:28am UTC](https://forum.kirupa.com/t/is-it-possible-to-blur-a-dynamic-line/298391 "2009-10-18T01:28:46Z")

</div>

Hi, I was wondering if it is possible to blur something that is drawn dynamically? I have a dynamic line that zig zags, but when I attempt to put a blur action on to it, it does not appear blurred. Does anyone have an id…

---

## [Can someone tell me how for loops work?](https://forum.kirupa.com/t/can-someone-tell-me-how-for-loops-work/298390)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [October 18, 2009, 12:30am UTC](https://forum.kirupa.com/t/can-someone-tell-me-how-for-loops-work/298390 "2009-10-18T00:30:51Z")

</div>

Um... I think there is something I'm getting wrong. Theoretically, this should work, but it's giving me some unexpected results: var i:int; for (init(); i \< total(); addi()) { trace("In loop"); } function init()…

---

## [Page Not Fitting Window 100%](https://forum.kirupa.com/t/page-not-fitting-window-100/298387)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 10:05pm UTC](https://forum.kirupa.com/t/page-not-fitting-window-100/298387 "2009-10-17T22:05:00Z")

</div>

For some reason whenever I post my flash site online it does not fill the entire window properly. The scroll bar is always on the side making it so I have to scroll down to see the tiny bottom part that is cut off. And t…

---

## [Load image for image button](https://forum.kirupa.com/t/load-image-for-image-button/298386)

<div class="topic-metadata">

**Author:** [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 10:03pm UTC](https://forum.kirupa.com/t/load-image-for-image-button/298386 "2009-10-17T22:03:00Z")

</div>

I have a button object named "thumb1\_mc". In one layer, I put an empty movieclip "image\_mc". I want to write actionscript 2.0 code to load a jpg into this movieclip. I've tried ... loadMovie("img/slide1.jpg", root.c…

---

## [How to call a function on the main timeline](https://forum.kirupa.com/t/how-to-call-a-function-on-the-main-timeline/298385)

<div class="topic-metadata">

**Author:** [@alucardac](https://forum.kirupa.com/u/alucardac)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 9:56pm UTC](https://forum.kirupa.com/t/how-to-call-a-function-on-the-main-timeline/298385 "2009-10-17T21:56:33Z")

</div>

I have a button in a movieclip and im trying to tell it to call a function on the main timeline. How do I do this? root something? Here is the function on the main timeline im trying to call function hallwaylurkerlo…

---

## [Enter\_frame & exit\_frame](https://forum.kirupa.com/t/enter-frame-exit-frame/298384)

<div class="topic-metadata">

**Author:** [@Raabi](https://forum.kirupa.com/u/Raabi)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 8:40pm UTC](https://forum.kirupa.com/t/enter-frame-exit-frame/298384 "2009-10-17T20:40:37Z")

</div>

Hello everybody! I frequently see the usage of ENTER\_FRAME and EXIT\_FRAME event types in AS3 code. I can even use the first event type just blindly to get certain things done. But I want to clear my concepts on these v…

---

## [Load SWF help](https://forum.kirupa.com/t/load-swf-help/298383)

<div class="topic-metadata">

**Author:** [@sluke](https://forum.kirupa.com/u/sluke)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 8:23pm UTC](https://forum.kirupa.com/t/load-swf-help/298383 "2009-10-17T20:23:20Z")

</div>

Hi all, I've recently started to learn AS3.0 and have hit a problem. I need to load an external SWF into a movieclip, and get the name of the SWF from a variable from a class. The variable is called getSWF and is de…

---

## [AS 2.0 - simple if/else input text quiz](https://forum.kirupa.com/t/as-2-0-simple-if-else-input-text-quiz/298379)

<div class="topic-metadata">

**Author:** [@design8creative](https://forum.kirupa.com/u/design8creative)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 5:30pm UTC](https://forum.kirupa.com/t/as-2-0-simple-if-else-input-text-quiz/298379 "2009-10-17T17:30:59Z")

</div>

Hi everyone, Let me first start by saying how great of a resource this forum is. Very informative and helpful to read through. I have a question regarding an if/else statement I am creating for a simple quiz test in …

---

## [Secure "remember me" login](https://forum.kirupa.com/t/secure-remember-me-login/298378)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 5:09pm UTC](https://forum.kirupa.com/t/secure-remember-me-login/298378 "2009-10-17T17:09:01Z")

</div>

I've been reading quite a few tutorials on "remember me" login implementation. Many of them store the username and a double hashed password in a cookie. This is so that hackers will neither know the plain text nor the d…

---

## [AS3: need help with dynamically adding multiple mc to one mask](https://forum.kirupa.com/t/as3-need-help-with-dynamically-adding-multiple-mc-to-one-mask/298377)

<div class="topic-metadata">

**Author:** [@kakku](https://forum.kirupa.com/u/kakku)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 5:08pm UTC](https://forum.kirupa.com/t/as3-need-help-with-dynamically-adding-multiple-mc-to-one-mask/298377 "2009-10-17T17:08:39Z")

</div>

hello, i'm trying to add movieclips to a single mask. but i cant seem to get it to work. is there a easy way to do this? or do i have to remove the mask-child and add a new one again? thanks for replying.

---

## [How to loop an FLV](https://forum.kirupa.com/t/how-to-loop-an-flv/298376)

<div class="topic-metadata">

**Author:** [@tonystarks](https://forum.kirupa.com/u/tonystarks)\
**Replies:** 0\
**Last updated:** [October 17, 2009, 4:44pm UTC](https://forum.kirupa.com/t/how-to-loop-an-flv/298376 "2009-10-17T16:44:10Z")

</div>

Hello, I have a problem with my flv; I want it to loop, NOT TO THE BEGINNING, but to a certain time or cue point on the timeline. Can anyone help with this? Thanks

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

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