# programming

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

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

**Page:** 379

---

## [Input and dynamic tect](https://forum.kirupa.com/t/input-and-dynamic-tect/316195)

<div class="topic-metadata">

**Author:** [@supermao](https://forum.kirupa.com/u/supermao)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 10:24pm UTC](https://forum.kirupa.com/t/input-and-dynamic-tect/316195 "2010-11-15T22:24:08Z")

</div>

I have some questions as I am a newbie to the world of AS2 (have not dared to even look at AS 3 yet). I guess that all of them are really stupid and simple to solve \[smile\] Question 1) I have an input text field with …

---

## [Passing information backwards - help!](https://forum.kirupa.com/t/passing-information-backwards-help/316193)

<div class="topic-metadata">

**Author:** [@Kainevg](https://forum.kirupa.com/u/Kainevg)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 9:14pm UTC](https://forum.kirupa.com/t/passing-information-backwards-help/316193 "2010-11-15T21:14:37Z")

</div>

Hey guys, I'm currently working on a platformer game, I have already made a working version with most things I want in it but I have started recoding from scratch as to make it easier for me to implement new features. …

---

## [Styling TextField with CSS (restrictions/limitations?)](https://forum.kirupa.com/t/styling-textfield-with-css-restrictions-limitations/316192)

<div class="topic-metadata">

**Author:** [@Rasper](https://forum.kirupa.com/u/Rasper)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 7:56pm UTC](https://forum.kirupa.com/t/styling-textfield-with-css-restrictions-limitations/316192 "2010-11-15T19:56:02Z")

</div>

I'm dynamically loading a CSS file and text file to populate a TextField. As far as the default styles are concerned, no problem! But as soon as I try stuff like p.title, the style is not applied. Is this a restriction…

---

## [NetStream woes (concurrent playback? buffering percentage?)](https://forum.kirupa.com/t/netstream-woes-concurrent-playback-buffering-percentage/316191)

<div class="topic-metadata">

**Author:** [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 7:31pm UTC](https://forum.kirupa.com/t/netstream-woes-concurrent-playback-buffering-percentage/316191 "2010-11-15T19:31:27Z")

</div>

I'm losing my mind. \[frowning\] I have two identical-length videos that I need to stream and play back concurrently while staying in sync. The best I can do so far is keep them about a second apart, but I'm wondering if…

---

## [Refresh flash page](https://forum.kirupa.com/t/refresh-flash-page/316184)

<div class="topic-metadata">

**Author:** [@Hommer](https://forum.kirupa.com/u/Hommer)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 3:31pm UTC](https://forum.kirupa.com/t/refresh-flash-page/316184 "2010-11-15T15:31:41Z")

</div>

Hello. I've made a homepage entirely in Flash. I choose to export both the .swf and the .html-file and use them on my web-site. But the code Flash generates in the HTML doesn't reload the .swf when I refresh the page i…

---

## [AS2: Split a string](https://forum.kirupa.com/t/as2-split-a-string/316180)

<div class="topic-metadata">

**Author:** [@540media](https://forum.kirupa.com/u/540media)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 11:42am UTC](https://forum.kirupa.com/t/as2-split-a-string/316180 "2010-11-15T11:42:18Z")

</div>

Hi, can somebody help with this, just cant get a solution to the problem I have an input box where users are entering they answer to a randomly generating algebra equations, I need to be able to break the string apart …

---

## [Couldn't connect server](https://forum.kirupa.com/t/couldnt-connect-server/316178)

<div class="topic-metadata">

**Author:** [@freshy](https://forum.kirupa.com/u/freshy)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 11:33am UTC](https://forum.kirupa.com/t/couldnt-connect-server/316178 "2010-11-15T11:33:12Z")

</div>

I have this php code, \<?php $users="root"; $host="localhost"; $password=""; $database="kirupa"; $connection=mysql\_connect($host,$users,$password) or die("Couldn't connect to server"); $db=mysql\_select\_db($database,$con…

---

## [FLVPlayback: Property onFCSubscribe not found on fl.video.ConnectClient](https://forum.kirupa.com/t/flvplayback-property-onfcsubscribe-not-found-on-fl-video-connectclient/316177)

<div class="topic-metadata">

**Author:** [@predajob](https://forum.kirupa.com/u/predajob)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 11:24am UTC](https://forum.kirupa.com/t/flvplayback-property-onfcsubscribe-not-found-on-fl-video-connectclient/316177 "2010-11-15T11:24:59Z")

</div>

Hi all, i'm having this error while trying to read a live feed with FLVPlayback: \[COLOR="Red"\]Property onFCSubscribe not found on fl.video.ConnectClient and there is no default value\[/COLOR\] This error doesn't preven…

---

## [Flash Website - External Image Loader - HELP!](https://forum.kirupa.com/t/flash-website-external-image-loader-help/316175)

<div class="topic-metadata">

**Author:** [@evdesignstudio](https://forum.kirupa.com/u/evdesignstudio)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 10:47am UTC](https://forum.kirupa.com/t/flash-website-external-image-loader-help/316175 "2010-11-15T10:47:59Z")

</div>

Hello. I've made my website entirely on Flash. I'm new to this, so I found it easier. It takes forever to load as I have a few images on it. The images are not big, but I'm planning to add some more and then I'm worried …

---

## [Help! Urgent! UILoader](https://forum.kirupa.com/t/help-urgent-uiloader/316172)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 9:01am UTC](https://forum.kirupa.com/t/help-urgent-uiloader/316172 "2010-11-15T09:01:51Z")

</div>

do anyone know how to load in an UIloader purely with action script withoud dragging it onto the stage? I have try the following code but it just can not work import fl.containers.UILoader var bg:UILoader = new UIL…

---

## [AS3 DataGrid NumericStepper ItemEditor](https://forum.kirupa.com/t/as3-datagrid-numericstepper-itemeditor/316170)

<div class="topic-metadata">

**Author:** [@icono](https://forum.kirupa.com/u/icono)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 7:09am UTC](https://forum.kirupa.com/t/as3-datagrid-numericstepper-itemeditor/316170 "2010-11-15T07:09:45Z")

</div>

My overall objective is to use the NumericStepper component in a Datagrid column. I would prefer that you don't have to "click to edit" such that the first click on the up arrow would increase the value by 1. You'd think…

---

## [Need Help. Soon will have job interview as actionscript developer](https://forum.kirupa.com/t/need-help-soon-will-have-job-interview-as-actionscript-developer/316169)

<div class="topic-metadata">

**Author:** [@Sargis](https://forum.kirupa.com/u/Sargis)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 6:46am UTC](https://forum.kirupa.com/t/need-help-soon-will-have-job-interview-as-actionscript-developer/316169 "2010-11-15T06:46:31Z")

</div>

Hi Guys, Two years I'm studying a lot of actionscript and flex. Last year I got a lot into the Flex (Flash Builder 4). I read a lot of books for flex and did a lot of practicing with flex. Now I want to go and appl…

---

## [Problem with FlashVars](https://forum.kirupa.com/t/problem-with-flashvars/316167)

<div class="topic-metadata">

**Author:** [@Cendent](https://forum.kirupa.com/u/Cendent)\
**Replies:** 0\
**Last updated:** [November 15, 2010, 5:58am UTC](https://forum.kirupa.com/t/problem-with-flashvars/316167 "2010-11-15T05:58:34Z")

</div>

Trying to load some variables into flash I've done it before and it's work fine for some reason it's not working with this project. I get undefined values. Here's the embed code: \<object classid="clsid:d27cdb6e-ae6d…

---

## [How to retrieve data from a ComboBox component?](https://forum.kirupa.com/t/how-to-retrieve-data-from-a-combobox-component/316162)

<div class="topic-metadata">

**Author:** [@deattached](https://forum.kirupa.com/u/deattached)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 10:13pm UTC](https://forum.kirupa.com/t/how-to-retrieve-data-from-a-combobox-component/316162 "2010-11-14T22:13:23Z")

</div>

Hey guys! I'm doing an order form, where the user can input his contact information and then choose a product in a dropdown menu. Untill now, I just gave the dynamic text fields a variable and used this code: on (re…

---

## [autoSize Help](https://forum.kirupa.com/t/autosize-help/316161)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 9:09pm UTC](https://forum.kirupa.com/t/autosize-help/316161 "2010-11-14T21:09:28Z")

</div>

All, I have the following code to populate a dynamic text box: myData = new LoadVars(); myData.onLoad = function() { trace ("The text box before autosize is: " + sailing\_txt.\_height); sailing\_txt.htmlText = unescape(t…

---

## [\[Q\] Oval / Rectangle Tool and Oval / Rectangle Primitive Tool](https://forum.kirupa.com/t/q-oval-rectangle-tool-and-oval-rectangle-primitive-tool/316160)

<div class="topic-metadata">

**Author:** [@DieByMacro](https://forum.kirupa.com/u/DieByMacro)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:53pm UTC](https://forum.kirupa.com/t/q-oval-rectangle-tool-and-oval-rectangle-primitive-tool/316160 "2010-11-14T20:53:19Z")

</div>

Okie since I'm new to Flash so I have some questions for you guys. Here is the thing, I do know how to use the oval / rectangle and oval / rectangle primitive tools in the tool bar and find them quite useful, but one thi…

---

## [Best way to implement menu into page](https://forum.kirupa.com/t/best-way-to-implement-menu-into-page/316158)

<div class="topic-metadata">

**Author:** [@Knedlo](https://forum.kirupa.com/u/Knedlo)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:24pm UTC](https://forum.kirupa.com/t/best-way-to-implement-menu-into-page/316158 "2010-11-14T20:24:07Z")

</div>

Hi there... I've spent last four hours looking for some ways of implementing flash menu in xhtml page, but I couldn't find any satisfying answers. What I would like is to have some opinions on how to make it in the mos…

---

## [Help, Sprite problem](https://forum.kirupa.com/t/help-sprite-problem/316156)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 6:14pm UTC](https://forum.kirupa.com/t/help-sprite-problem/316156 "2010-11-14T18:14:54Z")

</div>

below are the fundamental code of drawing a sprite and place it on stage: var list: Sprite = new Sprite (); list.graphics.beginFill(0x333333); list.graphics.drawRect(100,100,100,100); addChild (list); i'm trying make…

---

## [Listener create complete](https://forum.kirupa.com/t/listener-create-complete/316155)

<div class="topic-metadata">

**Author:** [@VeddyCent](https://forum.kirupa.com/u/VeddyCent)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 5:08pm UTC](https://forum.kirupa.com/t/listener-create-complete/316155 "2010-11-14T17:08:00Z")

</div>

Hi all, I generate thumbnail images for an XML file. So I loop through the XML and generate instance of a thumbnail class. These thumbnails are place in a sprite container. The problem I have is that after the loop I…

---

## [Cant wrap my head around how to do this](https://forum.kirupa.com/t/cant-wrap-my-head-around-how-to-do-this/316154)

<div class="topic-metadata">

**Author:** [@Rifts1103](https://forum.kirupa.com/u/Rifts1103)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 5:06pm UTC](https://forum.kirupa.com/t/cant-wrap-my-head-around-how-to-do-this/316154 "2010-11-14T17:06:20Z")

</div>

Hey! Say I have a game with 30 levels each level is on a different frame. Once completing a level you get a star. How can I set this up so if you complete the same level twice you do NOT get two stars? Thanks

---

## [\[Java\] Two dimensional array](https://forum.kirupa.com/t/java-two-dimensional-array/316152)

<div class="topic-metadata">

**Author:** [@glundy](https://forum.kirupa.com/u/glundy)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 3:21pm UTC](https://forum.kirupa.com/t/java-two-dimensional-array/316152 "2010-11-14T15:21:05Z")

</div>

I am very new to java and the following assignment has been set for me. Can someone please help me? \[LIST=1\] \[\*\]Empirical shuffle check. Run computational experiments to check that our shuffling code works as advertise…

---

## [NativeProcess: how to send variables between AIR and C#?](https://forum.kirupa.com/t/nativeprocess-how-to-send-variables-between-air-and-c/316151)

<div class="topic-metadata">

**Author:** [@Pattt](https://forum.kirupa.com/u/Pattt)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 11:11am UTC](https://forum.kirupa.com/t/nativeprocess-how-to-send-variables-between-air-and-c/316151 "2010-11-14T11:11:58Z")

</div>

Hi, how do I make AIR send variables to C#? And how do I make C# send variables back to AIR? Please help! :cantlook:

---

## [Help with AS3 menu](https://forum.kirupa.com/t/help-with-as3-menu/316149)

<div class="topic-metadata">

**Author:** [@mnkei](https://forum.kirupa.com/u/mnkei)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 11:03am UTC](https://forum.kirupa.com/t/help-with-as3-menu/316149 "2010-11-14T11:03:31Z")

</div>

Hi, i need help converting this drop down menu to 2 level menu so that the subcategories are beside each other as apposed to underneath each other. any help is greatly appreciated. thnx MNK //page & sub page btn …

---

## [Add particles per second (ENTER\_FRAME)](https://forum.kirupa.com/t/add-particles-per-second-enter-frame/316147)

<div class="topic-metadata">

**Author:** [@Esseti](https://forum.kirupa.com/u/Esseti)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:56am UTC](https://forum.kirupa.com/t/add-particles-per-second-enter-frame/316147 "2010-11-14T08:56:29Z")

</div>

How can I rig up an if statement that will add particles to the stage based on the ENTER\_FRAME update interval? stage.frameRate = 60; var currentParticles:uint = 0; var maxParticles:uint = 1000; var particlesPerSecon…

---

## [How do I initialize a 2D vector with a 2D array of values?](https://forum.kirupa.com/t/how-do-i-initialize-a-2d-vector-with-a-2d-array-of-values/316146)

<div class="topic-metadata">

**Author:** [@zeldalink](https://forum.kirupa.com/u/zeldalink)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 8:09am UTC](https://forum.kirupa.com/t/how-do-i-initialize-a-2d-vector-with-a-2d-array-of-values/316146 "2010-11-14T08:09:12Z")

</div>

How do I initialize a 2D vector with a 2D array of values? numbers = \[\[10,20,30\], \[10,20,30\]\]; nums = Vector.\<Vector.\<Number\>\>(numbers); I tried this but it gives me the error: TypeError: Error #1034: Type Coercion…

---

## [Why movieclip size does not bloat up when using getSize?](https://forum.kirupa.com/t/why-movieclip-size-does-not-bloat-up-when-using-getsize/316144)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 2:58am UTC](https://forum.kirupa.com/t/why-movieclip-size-does-not-bloat-up-when-using-getsize/316144 "2010-11-14T02:58:35Z")

</div>

Hi guys, this puzzles me. I added a big image 1.6megabytes into a movieclip, and use getSize to check the movieclip size, it shows 456 (bytes??) Then I added a 45kilobyte icon into a movieclip, and use getSize, it tr…

---

## [Vertical Sliding Buttons](https://forum.kirupa.com/t/vertical-sliding-buttons/316143)

<div class="topic-metadata">

**Author:** [@bellzax](https://forum.kirupa.com/u/bellzax)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 2:53am UTC](https://forum.kirupa.com/t/vertical-sliding-buttons/316143 "2010-11-14T02:53:11Z")

</div>

Hi, I am new here but have a good amount of knowledge in Flash and as2 but i am completely lost on a project I am doing. I am customizing vertical sliding buttons that i found here: http://www.flashkit.com/movies/Scripti…

---

## [scaleX and width change, but the image stays the same](https://forum.kirupa.com/t/scalex-and-width-change-but-the-image-stays-the-same/316142)

<div class="topic-metadata">

**Author:** [@wMattD](https://forum.kirupa.com/u/wMattD)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 1:51am UTC](https://forum.kirupa.com/t/scalex-and-width-change-but-the-image-stays-the-same/316142 "2010-11-14T01:51:02Z")

</div>

I'm trying to change the size of a 20 pixel by 20 pixel square. I have instances of this same class all throughout my code, and I can change them with scaleX and scaleY, no problem. But these particular instances do no…

---

## [removeChild gives me error 1009 :(](https://forum.kirupa.com/t/removechild-gives-me-error-1009/316141)

<div class="topic-metadata">

**Author:** [@tatsumaru](https://forum.kirupa.com/u/tatsumaru)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 9:55pm UTC](https://forum.kirupa.com/t/removechild-gives-me-error-1009/316141 "2010-11-13T21:55:32Z")

</div>

Cannot access a property or method of a null object reference. at object/removeObject() at document/objectCollide() I'm trying to remove objects when they collide (these objects are all of the same MC and class and con…

---

## [Flash photo gallery vs XML photo gallery: benefits?](https://forum.kirupa.com/t/flash-photo-gallery-vs-xml-photo-gallery-benefits/316140)

<div class="topic-metadata">

**Author:** [@azukizero](https://forum.kirupa.com/u/azukizero)\
**Replies:** 0\
**Last updated:** [November 13, 2010, 9:34pm UTC](https://forum.kirupa.com/t/flash-photo-gallery-vs-xml-photo-gallery-benefits/316140 "2010-11-13T21:34:29Z")

</div>

Hi all, I apologize if the answer to this has been posted here before. I searched this forum and Googled and can't seem to find a definitive answer. I'm trying to determine the best approach for a simple flash photo…

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

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