# programming

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

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

**Page:** 265

---

## [Playing a new video / hearing sound and seeing frame from previously loaded video](https://forum.kirupa.com/t/playing-a-new-video-hearing-sound-and-seeing-frame-from-previously-loaded-video/323039)

<div class="topic-metadata">

**Author:** [@dragonfly](https://forum.kirupa.com/u/dragonfly)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 10:01pm UTC](https://forum.kirupa.com/t/playing-a-new-video-hearing-sound-and-seeing-frame-from-previously-loaded-video/323039 "2011-06-14T22:01:45Z")

</div>

Hi, I play back videos in my application. When a video completes or finishes, the user may play it again. However, when I reload a new video, I see and hear a brief moment from the previously loaded video. I am repla…

---

## [String.search problem](https://forum.kirupa.com/t/string-search-problem/323034)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 5:35pm UTC](https://forum.kirupa.com/t/string-search-problem/323034 "2011-06-14T17:35:25Z")

</div>

This seems like it must be ridiculously easy to fix, which is why is it is so frustrating. Essentially actionscript seems to be unable to find question marks in a string (and I have found it responds oddly to periods as …

---

## [TLF text, eventlistener and line breaks](https://forum.kirupa.com/t/tlf-text-eventlistener-and-line-breaks/323033)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 5:03pm UTC](https://forum.kirupa.com/t/tlf-text-eventlistener-and-line-breaks/323033 "2011-06-14T17:03:02Z")

</div>

Hi, I just started using TLF text and it's interesting. I have this issue however. I made an swf to demonstrate the problem and you can try it here: http://megaswf.com/serve/1131617 But this is the problem: I have an…

---

## [\[As3\] Level screen problem](https://forum.kirupa.com/t/as3-level-screen-problem/323031)

<div class="topic-metadata">

**Author:** [@mvrb](https://forum.kirupa.com/u/mvrb)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 2:29pm UTC](https://forum.kirupa.com/t/as3-level-screen-problem/323031 "2011-06-14T14:29:25Z")

</div>

Hey there. I have a little problem with my game. I have coded a level selection screen, with 15 levels. The problem is, only the first 5 of them works, after you've completed a level. I have added comments in the code an…

---

## [TIP: "Add item to an Array" as an operator](https://forum.kirupa.com/t/tip-add-item-to-an-array-as-an-operator/323027)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 9:23am UTC](https://forum.kirupa.com/t/tip-add-item-to-an-array-as-an-operator/323027 "2011-06-14T09:23:43Z")

</div>

In nearly every tutorial (including the php manual) you add items to the end of an Array by writing this: $array\[\] = $item; Which is a tad odd, but I have just gotten used to it. But today I stumbled across a peice…

---

## [Bouncing some game ideas around : Crafting](https://forum.kirupa.com/t/bouncing-some-game-ideas-around-crafting/323024)

<div class="topic-metadata">

**Author:** [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 6:57am UTC](https://forum.kirupa.com/t/bouncing-some-game-ideas-around-crafting/323024 "2011-06-14T06:57:38Z")

</div>

Hey all, Ok, so I'm making this RPG and I want to implement a crafting system. Since it's an rpg, player will naturally go around killing stuff and finding different items. But that's no fun, unless you can do someth…

---

## [\[AS3\] Print data in DataGrid](https://forum.kirupa.com/t/as3-print-data-in-datagrid/323022)

<div class="topic-metadata">

**Author:** [@celestale](https://forum.kirupa.com/u/celestale)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 5:09am UTC](https://forum.kirupa.com/t/as3-print-data-in-datagrid/323022 "2011-06-14T05:09:56Z")

</div>

Dear all, I would want to print out all the data inside my Datagrid which were populated in flash AS3. Taking into consideration that my datagrid has horizontalScrollPolicy and verticalScrollPolicy activated, how do I …

---

## [AS3 Movieclip and Main timeline trouble](https://forum.kirupa.com/t/as3-movieclip-and-main-timeline-trouble/323021)

<div class="topic-metadata">

**Author:** [@Nuwa](https://forum.kirupa.com/u/Nuwa)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 5:08am UTC](https://forum.kirupa.com/t/as3-movieclip-and-main-timeline-trouble/323021 "2011-06-14T05:08:56Z")

</div>

Hi all.. im new here. im having some AS3 trouble and was hoping you guys may know the answer. im doing a sort of a website thingi on flash for one of my college projects. i have the main menu buttons in the main time…

---

## [Random name generator slot machine](https://forum.kirupa.com/t/random-name-generator-slot-machine/323019)

<div class="topic-metadata">

**Author:** [@kaidy](https://forum.kirupa.com/u/kaidy)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 4:42am UTC](https://forum.kirupa.com/t/random-name-generator-slot-machine/323019 "2011-06-14T04:42:42Z")

</div>

Hi people, I'm new to action scripting, just wondering if anyone can help me on how to create a name generator like this one ? http://breadlinedesign.com/naming\_machine/index.htm

---

## [Number of lines in TextField](https://forum.kirupa.com/t/number-of-lines-in-textfield/323018)

<div class="topic-metadata">

**Author:** [@murli2308](https://forum.kirupa.com/u/murli2308)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 4:17am UTC](https://forum.kirupa.com/t/number-of-lines-in-textfield/323018 "2011-06-14T04:17:05Z")

</div>

How to detect the no of lines in dynamic of input textfield at runtime in as3 if wordwrap is set to true please answer me fast.

---

## [Quiz on Flash Basics](https://forum.kirupa.com/t/quiz-on-flash-basics/323078)

<div class="topic-metadata">

**Author:** [@FlashAj325](https://forum.kirupa.com/u/FlashAj325)\
**Replies:** 0\
**Last updated:** [June 14, 2011, 3:07am UTC](https://forum.kirupa.com/t/quiz-on-flash-basics/323078 "2011-06-14T03:07:50Z")

</div>

\[FONT=Courier New\]I have a problem. I made a thirty-question quiz, and after the 2nd/3rd question, the quiz starts skipping questions (frames) by 2's. I made an array that keeps track of the answers answered correctly an…

---

## [Help with dynamic text field](https://forum.kirupa.com/t/help-with-dynamic-text-field/323013)

<div class="topic-metadata">

**Author:** [@WarKirby](https://forum.kirupa.com/u/WarKirby)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 10:40pm UTC](https://forum.kirupa.com/t/help-with-dynamic-text-field/323013 "2011-06-13T22:40:28Z")

</div>

Hello everyone. I'm having a bit of trouble creating some dynamic text elements for a game UI As far as I understand, they take a variable as the value to show, which is presumably automatically updated whenever that v…

---

## [Silverlight issue: Image on button doesn't visible in application or in VS2010](https://forum.kirupa.com/t/silverlight-issue-image-on-button-doesnt-visible-in-application-or-in-vs2010/323012)

<div class="topic-metadata">

**Author:** [@hunsoul](https://forum.kirupa.com/u/hunsoul)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 10:13pm UTC](https://forum.kirupa.com/t/silverlight-issue-image-on-button-doesnt-visible-in-application-or-in-vs2010/323012 "2011-06-13T22:13:16Z")

</div>

Hi All! This is my first post here. \[smile\] Let's see... I created a button and placed an Image on it in Silverlight. I'm using the latest version 5 (beta) and Expression Blend preview for Silverlight 5. I really …

---

## [Slideshow doesn't work when placed inside a MC](https://forum.kirupa.com/t/slideshow-doesnt-work-when-placed-inside-a-mc/323011)

<div class="topic-metadata">

**Author:** [@flasher333](https://forum.kirupa.com/u/flasher333)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 10:02pm UTC](https://forum.kirupa.com/t/slideshow-doesnt-work-when-placed-inside-a-mc/323011 "2011-06-13T22:02:43Z")

</div>

How come the following AS3 works fine when placed in Scene 1, but throws multiple "1120 Access of undefined property" errors when the code is placed inside a movie clip? Somehow none of the variables in the code are reco…

---

## [How to do make movieclip follow mouse tween movement?](https://forum.kirupa.com/t/how-to-do-make-movieclip-follow-mouse-tween-movement/323009)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 8:35pm UTC](https://forum.kirupa.com/t/how-to-do-make-movieclip-follow-mouse-tween-movement/323009 "2011-06-13T20:35:03Z")

</div>

Hello, I'm not sure what to call this particular way of making the movieclip follow the mouse. Here's an example animation to show what I mean: http://www.swfcabin.com/open/1307994341 When the mouse moves up, the m…

---

## [Touchevent Roll\_Out Issue](https://forum.kirupa.com/t/touchevent-roll-out-issue/323008)

<div class="topic-metadata">

**Author:** [@itscloudy614](https://forum.kirupa.com/u/itscloudy614)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 6:07pm UTC](https://forum.kirupa.com/t/touchevent-roll-out-issue/323008 "2011-06-13T18:07:55Z")

</div>

I am writing an android app. In one section, I have a bunch of movie clips tiled on the screen. When a roll\_over function is called, a glow filter is applied to that particular mc; and a roll\_out function that removes t…

---

## [ComboBox in a DataGrid AS3](https://forum.kirupa.com/t/combobox-in-a-datagrid-as3/323007)

<div class="topic-metadata">

**Author:** [@supersaj](https://forum.kirupa.com/u/supersaj)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 3:37pm UTC](https://forum.kirupa.com/t/combobox-in-a-datagrid-as3/323007 "2011-06-13T15:37:56Z")

</div>

Does anyone have any examples of how to insert a ComboBox into a DataGrid in AS3? I can find examples in AS2 but none for AS3.

---

## [Preloader without external file?](https://forum.kirupa.com/t/preloader-without-external-file/323006)

<div class="topic-metadata">

**Author:** [@Donutfiend84](https://forum.kirupa.com/u/Donutfiend84)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 3:36pm UTC](https://forum.kirupa.com/t/preloader-without-external-file/323006 "2011-06-13T15:36:36Z")

</div>

I'm working on a project that requires a swf file to have a built in preloader. In the past, puting a preloader in caused problems, because the preloader, wouldn't load until about 90% of the swf had allready loaded. Is …

---

## [RadioGroup - how de deselect both](https://forum.kirupa.com/t/radiogroup-how-de-deselect-both/323005)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 2:55pm UTC](https://forum.kirupa.com/t/radiogroup-how-de-deselect-both/323005 "2011-06-13T14:55:38Z")

</div>

Hello I have a radioGroup of 2 radios. When one is selected, the other is deselected. But I can´t deselect any of them. I´d like to deselect the radio that is selected, by clicking on it. How do I do it? Thanks!

---

## [Help required for my Photo Website](https://forum.kirupa.com/t/help-required-for-my-photo-website/323003)

<div class="topic-metadata">

**Author:** [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 1:50pm UTC](https://forum.kirupa.com/t/help-required-for-my-photo-website/323003 "2011-06-13T13:50:25Z")

</div>

Regards from Dr.Jatin Talwar here . Have been reading a lot on this forum for customization of my website www.jatinphotography.com as a serious hobby . This forum has really helped me a lot ..... Would appreciate help in…

---

## [Working with IK Armatures in AS3](https://forum.kirupa.com/t/working-with-ik-armatures-in-as3/323001)

<div class="topic-metadata">

**Author:** [@WarKirby](https://forum.kirupa.com/u/WarKirby)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 10:30am UTC](https://forum.kirupa.com/t/working-with-ik-armatures-in-as3/323001 "2011-06-13T10:30:03Z")

</div>

Hi everyone. I'm atm trying to get a little proof of concept up and running for armature control. I've gotten an armature of a top-down human figure setup, to point its arms at something. This worked perfectly initially. …

---

## [Text formatting advices - TextFormat vs StyleSheet](https://forum.kirupa.com/t/text-formatting-advices-textformat-vs-stylesheet/323000)

<div class="topic-metadata">

**Author:** [@flashgroove](https://forum.kirupa.com/u/flashgroove)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 8:16am UTC](https://forum.kirupa.com/t/text-formatting-advices-textformat-vs-stylesheet/323000 "2011-06-13T08:16:08Z")

</div>

I am working on a large project that displays a fair amount of text and I am looking for advices on how to best handle the formatting of the text globally. I am looking for advices from people that have had experience …

---

## [Check simple form](https://forum.kirupa.com/t/check-simple-form/322999)

<div class="topic-metadata">

**Author:** [@Stela](https://forum.kirupa.com/u/Stela)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 6:51am UTC](https://forum.kirupa.com/t/check-simple-form/322999 "2011-06-13T06:51:56Z")

</div>

Hi, I'm trying to do a simple form validation, but I get this error: "Error #1010: A term is undefined and has no properties" Using this code: movNewsletter.btnEnviar.addEventListener(MouseEvent.MOUSE\_DOWN, functChec…

---

## [Constructor and destructor](https://forum.kirupa.com/t/constructor-and-destructor/322998)

<div class="topic-metadata">

**Author:** [@microScript](https://forum.kirupa.com/u/microScript)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 5:36am UTC](https://forum.kirupa.com/t/constructor-and-destructor/322998 "2011-06-13T05:36:40Z")

</div>

Hi Guys, Can any one send me the link, which explains Constructor and Destructor in Actionscript 3.0 in any tutorial link, not in C++.

---

## [Problem with parent](https://forum.kirupa.com/t/problem-with-parent/322997)

<div class="topic-metadata">

**Author:** [@mgriffen](https://forum.kirupa.com/u/mgriffen)\
**Replies:** 0\
**Last updated:** [June 13, 2011, 2:46am UTC](https://forum.kirupa.com/t/problem-with-parent/322997 "2011-06-13T02:46:09Z")

</div>

Ok, I cannot figure this out. I have a custom Class that extends Movieclip called Nav, and a container clip on stage. I've referenced the Nav Class and called it as such: import com.Nav; public var navigation:Nav; n…

---

## [How to unload xml](https://forum.kirupa.com/t/how-to-unload-xml/322991)

<div class="topic-metadata">

**Author:** [@anu\_sona](https://forum.kirupa.com/u/anu_sona)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 5:27pm UTC](https://forum.kirupa.com/t/how-to-unload-xml/322991 "2011-06-12T17:27:30Z")

</div>

Hi I create a flash as3 where my stage has 3 buttons home button2 and button3. when i click home button a thumbnail xml gallery will loaded. when button 2 and button3 clicked it loads some text from another xml file. Al…

---

## [TLF text line break issue](https://forum.kirupa.com/t/tlf-text-line-break-issue/322990)

<div class="topic-metadata">

**Author:** [@McLucky](https://forum.kirupa.com/u/McLucky)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 5:06pm UTC](https://forum.kirupa.com/t/tlf-text-line-break-issue/322990 "2011-06-12T17:06:29Z")

</div>

Hi all, I just started using TLF text and it's interesting \[smile\] I'm running into an issue though, the first line break isn't showing in the TLF output field. Users can input text in an input field, this text is th…

---

## [Dynamically assign a class into an element in an array](https://forum.kirupa.com/t/dynamically-assign-a-class-into-an-element-in-an-array/322989)

<div class="topic-metadata">

**Author:** [@meetspin](https://forum.kirupa.com/u/meetspin)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 1:23pm UTC](https://forum.kirupa.com/t/dynamically-assign-a-class-into-an-element-in-an-array/322989 "2011-06-12T13:23:49Z")

</div>

Hey guys, Not sure if the title of this topic is correct, but what I'm trying to do is store a movieclip inside each array element using a for loop. However, I have 2 movieclips to choose from and I want the movieclip to…

---

## [How to handle displaying buttons](https://forum.kirupa.com/t/how-to-handle-displaying-buttons/322988)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 1:18pm UTC](https://forum.kirupa.com/t/how-to-handle-displaying-buttons/322988 "2011-06-12T13:18:04Z")

</div>

I have been wondering how other people handle displaying different buttons at different times. For instance, let's say that a user clicks on a button and once they do that you don't want them to see that button again unt…

---

## [Flash projector that uses XML for local assets with cool player effects](https://forum.kirupa.com/t/flash-projector-that-uses-xml-for-local-assets-with-cool-player-effects/322987)

<div class="topic-metadata">

**Author:** [@circler](https://forum.kirupa.com/u/circler)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 3:02am UTC](https://forum.kirupa.com/t/flash-projector-that-uses-xml-for-local-assets-with-cool-player-effects/322987 "2011-06-12T03:02:25Z")

</div>

I found a cool Flash projector that loads images, FLVs, and PDFs from local assets in folders for each keyframe on the stage, using XML. The FLVs play with the Flash Media Player, but the images show with what I've seen …

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

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