# programming

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

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

**Page:** 335

---

## [Slow drawing of objects](https://forum.kirupa.com/t/slow-drawing-of-objects/318929)

<div class="topic-metadata">

**Author:** [@lashdl](https://forum.kirupa.com/u/lashdl)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 5:18pm UTC](https://forum.kirupa.com/t/slow-drawing-of-objects/318929 "2011-02-03T17:18:25Z")

</div>

Hi. I am having this simple problem which I hope some of you can help me with. I've written a small program which detects my mouse movement and draws circles on the x- and y-position of the mouse. code: function dra…

---

## [FLV Playback Help?](https://forum.kirupa.com/t/flv-playback-help/318928)

<div class="topic-metadata">

**Author:** [@EFlash](https://forum.kirupa.com/u/EFlash)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 4:59pm UTC](https://forum.kirupa.com/t/flv-playback-help/318928 "2011-02-03T16:59:19Z")

</div>

Hi, I'm making a demo project for myself to learn. The project is somewhat similar to "The Story of Stuff" website. (Any insight as to how they do it is welcome...) But I'm making this demo and going step by step. …

---

## [Playing Video referenced from within a class](https://forum.kirupa.com/t/playing-video-referenced-from-within-a-class/318925)

<div class="topic-metadata">

**Author:** [@simon\_davies](https://forum.kirupa.com/u/simon_davies)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 4:27pm UTC](https://forum.kirupa.com/t/playing-video-referenced-from-within-a-class/318925 "2011-02-03T16:27:18Z")

</div>

I have this video button, with a class attached, All works ok but when I come to press the button I get my trace but the player does not work. MY BUTTON is in a Container MY FLVPlayer is in another Container my bu…

---

## [Rating and Hits](https://forum.kirupa.com/t/rating-and-hits/318924)

<div class="topic-metadata">

**Author:** [@shekargoud](https://forum.kirupa.com/u/shekargoud)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 4:21pm UTC](https://forum.kirupa.com/t/rating-and-hits/318924 "2011-02-03T16:21:40Z")

</div>

Hi to all I have rating and Hits problem in my child\_list.php page. In index page I am listing some children names, Visitor can select any children name they will get child details in child\_list.php. In child\_lis…

---

## [Problem with external swf and xml](https://forum.kirupa.com/t/problem-with-external-swf-and-xml/318922)

<div class="topic-metadata">

**Author:** [@Toke](https://forum.kirupa.com/u/Toke)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 3:27pm UTC](https://forum.kirupa.com/t/problem-with-external-swf-and-xml/318922 "2011-02-03T15:27:19Z")

</div>

Hi! Im using the actionscript and xml from this thread: http://www.kirupa.com/forum/showthread.php?t=212112&highlight=xml+gallery+autoplay To make an autoplaying gallery with xml. Works just fine. And I load it into my…

---

## [Action Script 2 to 3 Migration. HELP!](https://forum.kirupa.com/t/action-script-2-to-3-migration-help/318921)

<div class="topic-metadata">

**Author:** [@steff1010](https://forum.kirupa.com/u/steff1010)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 3:27pm UTC](https://forum.kirupa.com/t/action-script-2-to-3-migration-help/318921 "2011-02-03T15:27:02Z")

</div>

\[FONT=Arial\]I have a function that I am trying to migrate from action script 2.0 to 3.0. If someone could give me some help/guidance on where to begin that would be great! I'm stuck and I don't want to be held up on this…

---

## [SWF redirect to different sub domain. Crossdomain policy?](https://forum.kirupa.com/t/swf-redirect-to-different-sub-domain-crossdomain-policy/318920)

<div class="topic-metadata">

**Author:** [@PaulInPA](https://forum.kirupa.com/u/PaulInPA)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 3:05pm UTC](https://forum.kirupa.com/t/swf-redirect-to-different-sub-domain-crossdomain-policy/318920 "2011-02-03T15:05:46Z")

</div>

Hi, I have a SWF file that is served from a sub domain "sub1.mydomain.com/folder/myswf.swf" into a web page that is on another sub domain "sub2.mydomain.com/pages/page1.htm". When the user clicks on the SWF I am redire…

---

## [Any playback components for live streaming?](https://forum.kirupa.com/t/any-playback-components-for-live-streaming/318919)

<div class="topic-metadata">

**Author:** [@cselvan](https://forum.kirupa.com/u/cselvan)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 2:28pm UTC](https://forum.kirupa.com/t/any-playback-components-for-live-streaming/318919 "2011-02-03T14:28:01Z")

</div>

Hi guys, I used video component for live stream .It is working well. but I need play and pause button on mouse over video in live streaming. I do not know how i do in mouse over in live streaming. flvplayback componen…

---

## [Photoshop style multiply effect](https://forum.kirupa.com/t/photoshop-style-multiply-effect/318918)

<div class="topic-metadata">

**Author:** [@SticksStones](https://forum.kirupa.com/u/SticksStones)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 1:43pm UTC](https://forum.kirupa.com/t/photoshop-style-multiply-effect/318918 "2011-02-03T13:43:08Z")

</div>

Hi all, I've been playing with the color transform in actionscript and have discovered that using the multiplier functions it colors black areas and preserves white by default. I really need it work the other way aroun…

---

## [Playing a certain frame in another MovieClip(timeline)](https://forum.kirupa.com/t/playing-a-certain-frame-in-another-movieclip-timeline/318917)

<div class="topic-metadata">

**Author:** [@AntonL](https://forum.kirupa.com/u/AntonL)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 1:21pm UTC](https://forum.kirupa.com/t/playing-a-certain-frame-in-another-movieclip-timeline/318917 "2011-02-03T13:21:52Z")

</div>

Hi there, I was wondering if someone can help me. I have some difficulties playing a certain frame in another MovieClip. I have two MovieClips, MovieClip(content) and MovieClip(about\_page). The about me button is place…

---

## [Default Dynamic Text auto scale font, input from input text first](https://forum.kirupa.com/t/default-dynamic-text-auto-scale-font-input-from-input-text-first/318915)

<div class="topic-metadata">

**Author:** [@predatorkill](https://forum.kirupa.com/u/predatorkill)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 12:43pm UTC](https://forum.kirupa.com/t/default-dynamic-text-auto-scale-font-input-from-input-text-first/318915 "2011-02-03T12:43:56Z")

</div>

Hi guys, I have an issue with font scaling of a dynamic text box. Currently i have one input box named input\_1 with a variable attached to it named "choc\_1". Also, i have a dynamic text box named dynamic\_1 with var…

---

## [Flash Builder auto-completion](https://forum.kirupa.com/t/flash-builder-auto-completion/318914)

<div class="topic-metadata">

**Author:** [@cr4y](https://forum.kirupa.com/u/cr4y)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 12:12pm UTC](https://forum.kirupa.com/t/flash-builder-auto-completion/318914 "2011-02-03T12:12:05Z")

</div>

Hello, I have a problem: I started to use Flash Builder with Adobe Flash CS5. Everything seems to ork great, but auto code completion if FB works only for FlexSDK classes. For example, if I'll write "import fl." list wi…

---

## [Buttons behaving differently](https://forum.kirupa.com/t/buttons-behaving-differently/318913)

<div class="topic-metadata">

**Author:** [@Poemic](https://forum.kirupa.com/u/Poemic)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 12:09pm UTC](https://forum.kirupa.com/t/buttons-behaving-differently/318913 "2011-02-03T12:09:20Z")

</div>

Apologies, I'm a near total newbie at Flash (CS5), so this is probably dead simple. I have three buttons on screen that navigate to different places on the timeline. I have set them all up as buttons using a generic b…

---

## [Stop video from playing](https://forum.kirupa.com/t/stop-video-from-playing/318912)

<div class="topic-metadata">

**Author:** [@gwh](https://forum.kirupa.com/u/gwh)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 12:02pm UTC](https://forum.kirupa.com/t/stop-video-from-playing/318912 "2011-02-03T12:02:54Z")

</div>

Hi everyone, The following code causes a video to play and then when complete it fades out. import fl.video.FLVPlayback; import fl.video.VideoEvent; import flash.events.Event; import flash.events.MouseEvent; video.…

---

## [\[FLASH AS2.AS3\]Ecard With Photo Upload, Crop And Animate](https://forum.kirupa.com/t/flash-as2-as3-ecard-with-photo-upload-crop-and-animate/318911)

<div class="topic-metadata">

**Author:** [@svimp](https://forum.kirupa.com/u/svimp)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 11:23am UTC](https://forum.kirupa.com/t/flash-as2-as3-ecard-with-photo-upload-crop-and-animate/318911 "2011-02-03T11:23:21Z")

</div>

Hi, .. .. Does anyone knows how to build an ecard which the user upload .. their photo, resize and crop their head shot, animate the head then .. send it to their friend? .. .. I found a cool ecard site which is ex…

---

## [Passing variable between two AS2 files](https://forum.kirupa.com/t/passing-variable-between-two-as2-files/318910)

<div class="topic-metadata">

**Author:** [@Zoltar26](https://forum.kirupa.com/u/Zoltar26)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 10:22am UTC](https://forum.kirupa.com/t/passing-variable-between-two-as2-files/318910 "2011-02-03T10:22:32Z")

</div>

Hi I have a text field eWeight.txt in "a.as" and I need to pass the user input from this text field to antoher file "b.as". I'm using Actionscript 2. How to do it ? Thanks in advance.

---

## [urlLoader XML](https://forum.kirupa.com/t/urlloader-xml/318909)

<div class="topic-metadata">

**Author:** [@Spangle1187](https://forum.kirupa.com/u/Spangle1187)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 10:21am UTC](https://forum.kirupa.com/t/urlloader-xml/318909 "2011-02-03T10:21:32Z")

</div>

I have the following php file that generates an xml from a sql\_query: \<?php include("php/dbconnect.php"); //connects to the database //sql\_query $table\_id = 'booking'; $query = "SELECT \* FROM $table\_id WHERE (bo…

---

## [Easily adding additional movie clips to perform same task](https://forum.kirupa.com/t/easily-adding-additional-movie-clips-to-perform-same-task/318904)

<div class="topic-metadata">

**Author:** [@Eddie\_E](https://forum.kirupa.com/u/Eddie_E)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 6:44am UTC](https://forum.kirupa.com/t/easily-adding-additional-movie-clips-to-perform-same-task/318904 "2011-02-03T06:44:06Z")

</div>

Hey, I found a script that I use often to manipulate a movieclip to perform the old AS2 rewind function as shown below: var isOver = false; function onEnter(event) { if (isOver) { mcFlip.nextFrame() } el…

---

## [Flash 6 Help!- importing data into array and matching it to case switch](https://forum.kirupa.com/t/flash-6-help-importing-data-into-array-and-matching-it-to-case-switch/318902)

<div class="topic-metadata">

**Author:** [@mengaz](https://forum.kirupa.com/u/mengaz)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 5:01am UTC](https://forum.kirupa.com/t/flash-6-help-importing-data-into-array-and-matching-it-to-case-switch/318902 "2011-02-03T05:01:57Z")

</div>

Hi, I am new to flash and came across your forum while trying to solve an issue I have with flash. A quick review of the project, I am importing information from an xml file into an array. From there I have passed the …

---

## [Calling functions from other classes](https://forum.kirupa.com/t/calling-functions-from-other-classes/318901)

<div class="topic-metadata">

**Author:** [@cscape](https://forum.kirupa.com/u/cscape)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 4:06am UTC](https://forum.kirupa.com/t/calling-functions-from-other-classes/318901 "2011-02-03T04:06:18Z")

</div>

I know this is an oldie and a goodie, but I've been going around in circles trying every devious and creative thing I can think of to get from A to B. I am modifying a batch of classes that aren't mine, so it's not in …

---

## [Help to get a certain XML node](https://forum.kirupa.com/t/help-to-get-a-certain-xml-node/318900)

<div class="topic-metadata">

**Author:** [@treeleaf20](https://forum.kirupa.com/u/treeleaf20)\
**Replies:** 0\
**Last updated:** [February 3, 2011, 3:16am UTC](https://forum.kirupa.com/t/help-to-get-a-certain-xml-node/318900 "2011-02-03T03:16:57Z")

</div>

All, I currently have the following XML code: \<imagesGallery gallName="jbjects"\> \<images imagesSmall="gallery/tfile\_small\_3\_1.jpg" imagesBig="gallery/tfile\_gall\_3\_1.jpg" imageTitle="This is a test1"/\> \<images images…

---

## [Button Class referencing/controlling external MC](https://forum.kirupa.com/t/button-class-referencing-controlling-external-mc/318896)

<div class="topic-metadata">

**Author:** [@simon\_davies](https://forum.kirupa.com/u/simon_davies)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 10:25pm UTC](https://forum.kirupa.com/t/button-class-referencing-controlling-external-mc/318896 "2011-02-02T22:25:29Z")

</div>

I have this following class attached to some of my buttons to simply control the roll over and out states, as well as the click event. But i want to use the same class on my buttons but would like to control a moviecli…

---

## [Question about removing eventlistener on main timeline using code within mc](https://forum.kirupa.com/t/question-about-removing-eventlistener-on-main-timeline-using-code-within-mc/318895)

<div class="topic-metadata">

**Author:** [@matrixm5](https://forum.kirupa.com/u/matrixm5)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 10:18pm UTC](https://forum.kirupa.com/t/question-about-removing-eventlistener-on-main-timeline-using-code-within-mc/318895 "2011-02-02T22:18:41Z")

</div>

I have an event listener on my main timeline and I have an mc with some AS which sits on the main timeline. I was just wondering if the following code is correct if I wanted to remove the event listener on the maintimeli…

---

## [Dynamic mc and eventlisteners](https://forum.kirupa.com/t/dynamic-mc-and-eventlisteners/318894)

<div class="topic-metadata">

**Author:** [@simon\_davies](https://forum.kirupa.com/u/simon_davies)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 10:13pm UTC](https://forum.kirupa.com/t/dynamic-mc-and-eventlisteners/318894 "2011-02-02T22:13:17Z")

</div>

I am creating a small image gallery and I am creating the actual images dynamically. The images are stored via json and I am listing them underneath each other. No I can get all to work and they all load and position …

---

## [Featured Slider with Video Thumbnails](https://forum.kirupa.com/t/featured-slider-with-video-thumbnails/318893)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 9:47pm UTC](https://forum.kirupa.com/t/featured-slider-with-video-thumbnails/318893 "2011-02-02T21:47:17Z")

</div>

How do I go about creating a featured slider with thumbnails (some video thumbnails) similar to the 'featured slider' on ign.com?

---

## [FLASH PAYPAL PHP Redirect Problem](https://forum.kirupa.com/t/flash-paypal-php-redirect-problem/318890)

<div class="topic-metadata">

**Author:** [@hagop](https://forum.kirupa.com/u/hagop)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 7:49pm UTC](https://forum.kirupa.com/t/flash-paypal-php-redirect-problem/318890 "2011-02-02T19:49:44Z")

</div>

Help ! help ! help ! I have a Flash web desighned in AS3 and added the PAYPAL Checkout button on my Flash Web page. I call the PAYPAL SetExpressCheckout command using var \[\[COLOR=#0000ff\]url:URLRequest\[/COLOR\] = new …

---

## [Redirect Problem with PAYPAL FLASH /PHP](https://forum.kirupa.com/t/redirect-problem-with-paypal-flash-php/318889)

<div class="topic-metadata">

**Author:** [@hagop](https://forum.kirupa.com/u/hagop)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 7:47pm UTC](https://forum.kirupa.com/t/redirect-problem-with-paypal-flash-php/318889 "2011-02-02T19:47:10Z")

</div>

Help ! help ! help ! I have a Flash web desighned in AS3 and added the PAYPAL Checkout button on my Flash Web page. I call the PAYPAL SetExpressCheckout command using var url:URLRequest = new URLRequest \[URL="http://…

---

## [\[B\]Closebutton to terminate Flash app\[/B\]](https://forum.kirupa.com/t/b-closebutton-to-terminate-flash-app-b/318887)

<div class="topic-metadata">

**Author:** [@jaxz](https://forum.kirupa.com/u/jaxz)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 7:20pm UTC](https://forum.kirupa.com/t/b-closebutton-to-terminate-flash-app-b/318887 "2011-02-02T19:20:16Z")

</div>

Closebutton to terminate Flash app I wonder how one can do the following: How do I add a Close button to my Flash application? So that the app is terminated upon a click - and also if certain criteria are met (like …

---

## [Writing and retrieving variables from TXT file](https://forum.kirupa.com/t/writing-and-retrieving-variables-from-txt-file/318886)

<div class="topic-metadata">

**Author:** [@theptsman](https://forum.kirupa.com/u/theptsman)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 6:50pm UTC](https://forum.kirupa.com/t/writing-and-retrieving-variables-from-txt-file/318886 "2011-02-02T18:50:26Z")

</div>

Here is what I am trying to accomplish I am able to retrieve variables from a txt file that is stored with the SWF file in the same directory and display them in individual dynamic text fields. What I am unable to do is …

---

## [Sprite is larger than its children](https://forum.kirupa.com/t/sprite-is-larger-than-its-children/318883)

<div class="topic-metadata">

**Author:** [@Ninna](https://forum.kirupa.com/u/Ninna)\
**Replies:** 0\
**Last updated:** [February 2, 2011, 6:01pm UTC](https://forum.kirupa.com/t/sprite-is-larger-than-its-children/318883 "2011-02-02T18:01:50Z")

</div>

I have sprites with dynamically created children: combo-boxes, buttons, and textfields. The number of children is variable and they're positioned vertically one under the other. If a sprite contains textfields only, its …

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

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