# programming

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

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

**Page:** 685

---

## [Want to place advanced color behavior in XML file](https://forum.kirupa.com/t/want-to-place-advanced-color-behavior-in-xml-file/296929)

<div class="topic-metadata">

**Author:** [@chrisdegrote](https://forum.kirupa.com/u/chrisdegrote)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 9:10pm UTC](https://forum.kirupa.com/t/want-to-place-advanced-color-behavior-in-xml-file/296929 "2009-09-22T21:10:40Z")

</div>

Hey all, I've got a question about how to integrate advanced color/radial effects. I'm new to XML and got not a clue how to integrate the one code in the other. Hopefully somebody can point out to me how to integrate …

---

## [Reflection Class question](https://forum.kirupa.com/t/reflection-class-question/296927)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 8:30pm UTC](https://forum.kirupa.com/t/reflection-class-question/296927 "2009-09-22T20:30:35Z")

</div>

Hello, I have an xml gallery and I am trying to add reflections to the images. Is there a way I can add the reflections to a loader? Or what do I have to do? If I can't and I have to make a mc to do this I am not sur…

---

## [Taking an existing VS project to Blend 3 and binding to an instantiated object?](https://forum.kirupa.com/t/taking-an-existing-vs-project-to-blend-3-and-binding-to-an-instantiated-object/296926)

<div class="topic-metadata">

**Author:** [@Gazman](https://forum.kirupa.com/u/Gazman)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 7:52pm UTC](https://forum.kirupa.com/t/taking-an-existing-vs-project-to-blend-3-and-binding-to-an-instantiated-object/296926 "2009-09-22T19:52:22Z")

</div>

I am trying to continue developing a Visual Studio C# Express project in Blend 3. In this existing project in Window1.xaml.cs I have a Window\_Loaded method. In this method I have instantiated an object called EditBuffe…

---

## [Help w/ Y-Intersect Formula](https://forum.kirupa.com/t/help-w-y-intersect-formula/296925)

<div class="topic-metadata">

**Author:** [@shade\_v2](https://forum.kirupa.com/u/shade_v2)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 7:50pm UTC](https://forum.kirupa.com/t/help-w-y-intersect-formula/296925 "2009-09-22T19:50:32Z")

</div>

Apologies if I'm off forum. Nothing seemed to fit. I recently educated myself on how to find the intersection of two lines and I've been stumped by a certain formula found at http://www.euclideanspace.com/maths/geometr…

---

## [AS3 and TweenMax and reverse() function](https://forum.kirupa.com/t/as3-and-tweenmax-and-reverse-function/296924)

<div class="topic-metadata">

**Author:** [@soatman](https://forum.kirupa.com/u/soatman)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 7:20pm UTC](https://forum.kirupa.com/t/as3-and-tweenmax-and-reverse-function/296924 "2009-09-22T19:20:29Z")

</div>

I am trying to get my animation to play in reverse order and this is a pain in my leg. I have most of it figured out, this script below. I need to know if and how do I get this forward function to stop at a labled fra…

---

## [Converting code for timer project from AS2 to AS3](https://forum.kirupa.com/t/converting-code-for-timer-project-from-as2-to-as3/296922)

<div class="topic-metadata">

**Author:** [@Coolidge](https://forum.kirupa.com/u/Coolidge)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 7:17pm UTC](https://forum.kirupa.com/t/converting-code-for-timer-project-from-as2-to-as3/296922 "2009-09-22T19:17:09Z")

</div>

Hi all, Would anyone be interested in helping me convert this code from AS2 to AS3? Any tips or assistance would be greatly appreciated \[smile\] Thank you! Timer = function () { }; Timer.prototype.Play = function(de…

---

## [DataGrid horizontal scroll speed](https://forum.kirupa.com/t/datagrid-horizontal-scroll-speed/296920)

<div class="topic-metadata">

**Author:** [@robamacaf](https://forum.kirupa.com/u/robamacaf)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 7:06pm UTC](https://forum.kirupa.com/t/datagrid-horizontal-scroll-speed/296920 "2009-09-22T19:06:17Z")

</div>

Hey everyone. I am building an app and have a datagrid with about 100 items in it. If you pick up the slider and move it up and down it moves all fast and nice. But if you click the down arrow or up arrow in the datagrid…

---

## [Form field validation](https://forum.kirupa.com/t/form-field-validation/296917)

<div class="topic-metadata">

**Author:** [@Rainy](https://forum.kirupa.com/u/Rainy)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 6:17pm UTC](https://forum.kirupa.com/t/form-field-validation/296917 "2009-09-22T18:17:31Z")

</div>

Hello, I just created a simple form in flash CS3 and trying to validate it. The problem is when I check the script for any error, the message I get is "script contains no errors" but when I run it, the contact form sta…

---

## [Upload Form Script](https://forum.kirupa.com/t/upload-form-script/296915)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 6:00pm UTC](https://forum.kirupa.com/t/upload-form-script/296915 "2009-09-22T18:00:00Z")

</div>

Does anybody know where I can find a working form script (first name, last name, email address, etc..) with an 'upload file' option? I want this form to email me the person's information (that they enter) and maybe send …

---

## [FLV works local, not on Webserver](https://forum.kirupa.com/t/flv-works-local-not-on-webserver/296914)

<div class="topic-metadata">

**Author:** [@scottiebitter](https://forum.kirupa.com/u/scottiebitter)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 5:44pm UTC](https://forum.kirupa.com/t/flv-works-local-not-on-webserver/296914 "2009-09-22T17:44:13Z")

</div>

Hi Folks, I've created an animation that plays an FLV and listens for cue points. I have it working locally perfectly, but when I upload to a web server it will not work. It thows an asyncError that I am handling, bu…

---

## [Referring to other movie clips inside a movie clip](https://forum.kirupa.com/t/referring-to-other-movie-clips-inside-a-movie-clip/296913)

<div class="topic-metadata">

**Author:** [@Danief](https://forum.kirupa.com/u/Danief)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 5:41pm UTC](https://forum.kirupa.com/t/referring-to-other-movie-clips-inside-a-movie-clip/296913 "2009-09-22T17:41:09Z")

</div>

Okay, SO i have a movie clip, and to stop it i use stop(); and to stop the main timeline I use \_root.stop(); and if I'm on the main timeline and i want to stop a movie clip i use movieclipname.stop(); …

---

## [Flash/xml image align center](https://forum.kirupa.com/t/flash-xml-image-align-center/296910)

<div class="topic-metadata">

**Author:** [@muertos](https://forum.kirupa.com/u/muertos)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 4:24pm UTC](https://forum.kirupa.com/t/flash-xml-image-align-center/296910 "2009-09-22T16:24:33Z")

</div>

Firstly, I'm not sure what section I should put this in, so I apologise if it is totally in the wrong section. Here is the problem I have, I am loading in text as a news feed, and it is in xml, my flash txt box has th…

---

## [Can't put app to fullscreen only maximized](https://forum.kirupa.com/t/cant-put-app-to-fullscreen-only-maximized/296907)

<div class="topic-metadata">

**Author:** [@Greg767](https://forum.kirupa.com/u/Greg767)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 3:24pm UTC](https://forum.kirupa.com/t/cant-put-app-to-fullscreen-only-maximized/296907 "2009-09-22T15:24:08Z")

</div>

Hi all, I made a small AIR app that I'd like to put in full screen when starting, but it goes only maximized. Here is how I try to achieve this in the constructor: stage.displayState = StageDisplayState.FULL\_SCREEN\_…

---

## [Getting screenshot](https://forum.kirupa.com/t/getting-screenshot/296906)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 2:54pm UTC](https://forum.kirupa.com/t/getting-screenshot/296906 "2009-09-22T14:54:03Z")

</div>

Hi. Is there any method using javascript or other front-end technology that allows you to take screenshot of a given area or object (like an swf) of a webpage?

---

## [Center app window on launch](https://forum.kirupa.com/t/center-app-window-on-launch/296905)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 2:46pm UTC](https://forum.kirupa.com/t/center-app-window-on-launch/296905 "2009-09-22T14:46:50Z")

</div>

How can I spec my window's initial x,y position to be centered on the user's display? Is there something I can spec in the Descriptor File .xml?

---

## [Flex and AS2.0](https://forum.kirupa.com/t/flex-and-as2-0/296904)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 2:28pm UTC](https://forum.kirupa.com/t/flex-and-as2-0/296904 "2009-09-22T14:28:52Z")

</div>

I'm used to Flex builder but is now forced to create a project in AS2. Is there any version of Flex that supports AS2?

---

## [PHP: Simple Email Form](https://forum.kirupa.com/t/php-simple-email-form/296902)

<div class="topic-metadata">

**Author:** [@rubberduckie](https://forum.kirupa.com/u/rubberduckie)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 1:31pm UTC](https://forum.kirupa.com/t/php-simple-email-form/296902 "2009-09-22T13:31:03Z")

</div>

Hi, I have been trying to make a more difficult email that I still cannot get to work correctly I am now trying to make a more simple form but I still am not doing something right. Will someone please point out to me wha…

---

## [What does this mean: \[SWF(...)\]?](https://forum.kirupa.com/t/what-does-this-mean-swf/296897)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 12:29pm UTC](https://forum.kirupa.com/t/what-does-this-mean-swf/296897 "2009-09-22T12:29:31Z")

</div>

Hi! There's one thing I can't understand yet. Things like this I sometimes find in classes code: \[SWF( width='600', height='400', frameRate='30', backgroundColor='#FFFFFF' )\] It seems more a flax syntax than a flash…

---

## [Do i need to worry about.....?](https://forum.kirupa.com/t/do-i-need-to-worry-about/296896)

<div class="topic-metadata">

**Author:** [@cinimod3](https://forum.kirupa.com/u/cinimod3)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 12:22pm UTC](https://forum.kirupa.com/t/do-i-need-to-worry-about/296896 "2009-09-22T12:22:44Z")

</div>

Hi all. As part of my roll over /pop up menu function i've added 'stop's to movieclips that aren't always on the stage (basically to stop everything while the menu is on) and of course i get the old error "Cannot acces…

---

## [Stopping sound from video](https://forum.kirupa.com/t/stopping-sound-from-video/296893)

<div class="topic-metadata">

**Author:** [@m\_h\_w](https://forum.kirupa.com/u/m_h_w)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 12:07pm UTC](https://forum.kirupa.com/t/stopping-sound-from-video/296893 "2009-09-22T12:07:18Z")

</div>

Ok ill try to explai my problem. In my website i have some videos. When i import the video.swf to my main swf. everything works fine. But if i navigate away from the video part the video goes away but the sound keeps …

---

## [Various problems](https://forum.kirupa.com/t/various-problems/296890)

<div class="topic-metadata">

**Author:** [@Timmytots](https://forum.kirupa.com/u/Timmytots)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 10:25am UTC](https://forum.kirupa.com/t/various-problems/296890 "2009-09-22T10:25:50Z")

</div>

I'm working on my portfolio and am having a few problems. Link: http://www.timothy-clark.com/newfolio/ Firstly, why doesn't the "wrap" div center horizontally on the screen, because it's within the "body" which is te…

---

## [Help costumizing a sticker button](https://forum.kirupa.com/t/help-costumizing-a-sticker-button/296888)

<div class="topic-metadata">

**Author:** [@simich](https://forum.kirupa.com/u/simich)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 9:58am UTC](https://forum.kirupa.com/t/help-costumizing-a-sticker-button/296888 "2009-09-22T09:58:20Z")

</div>

Hey, I need help costumizing a sticker button. It's an ordinary button, nothing too fancy. I'd imagine it would only take minutes for someone fairly knowledgable in flash but for me (I've tried) it wont work. If you're…

---

## [AFlash AS2/CS3 Kirupa XML Gallery Thumbnail Issue](https://forum.kirupa.com/t/aflash-as2-cs3-kirupa-xml-gallery-thumbnail-issue/296887)

<div class="topic-metadata">

**Author:** [@deyssen](https://forum.kirupa.com/u/deyssen)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 9:53am UTC](https://forum.kirupa.com/t/aflash-as2-cs3-kirupa-xml-gallery-thumbnail-issue/296887 "2009-09-22T09:53:59Z")

</div>

Hello all, I've used this rather old tutorial on creating an xml photogallery with thumbnails here: http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm with some success but am experiencing an issue with …

---

## [TextLayout xmlText not loading in Firefox](https://forum.kirupa.com/t/textlayout-xmltext-not-loading-in-firefox/296885)

<div class="topic-metadata">

**Author:** [@rulz1980](https://forum.kirupa.com/u/rulz1980)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 9:32am UTC](https://forum.kirupa.com/t/textlayout-xmltext-not-loading-in-firefox/296885 "2009-09-22T09:32:23Z")

</div>

Hi, I want to dynamically insert text into a TextLayout component. I read the contents of the XML at runtime and put them into TextLayout.xmlText. Everything works fine in the standalone Flash Player and in Internet …

---

## [Sending values to PHP](https://forum.kirupa.com/t/sending-values-to-php/296884)

<div class="topic-metadata">

**Author:** [@rafimmedia](https://forum.kirupa.com/u/rafimmedia)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 9:31am UTC](https://forum.kirupa.com/t/sending-values-to-php/296884 "2009-09-22T09:31:33Z")

</div>

Hello ,, I have 5 scene's in my flash the first 3 scene are animations. 4 th scene has 4 textinput Box 1 chk box, 1 button.. in this scene i am passing varibles from my form to php file. here is the code For scene4(…

---

## [Does trace() slow down execution?](https://forum.kirupa.com/t/does-trace-slow-down-execution/296883)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 9:08am UTC](https://forum.kirupa.com/t/does-trace-slow-down-execution/296883 "2009-09-22T09:08:00Z")

</div>

One simple question: does trace() slow down execution? Should I omit trace actions in production files?

---

## [How to optimize FLVPlayback playback?](https://forum.kirupa.com/t/how-to-optimize-flvplayback-playback/296882)

<div class="topic-metadata">

**Author:** [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 9:06am UTC](https://forum.kirupa.com/t/how-to-optimize-flvplayback-playback/296882 "2009-09-22T09:06:39Z")

</div>

Hi, got some FLVPlayback playback problems on IE7. Videos start after too much time. try and click on the right banners: http://www.videomakersrl.com/video-maker.html Did you ever had some similar problem? Do you th…

---

## [Searching for in depth knowledge of audio](https://forum.kirupa.com/t/searching-for-in-depth-knowledge-of-audio/296881)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 8:44am UTC](https://forum.kirupa.com/t/searching-for-in-depth-knowledge-of-audio/296881 "2009-09-22T08:44:55Z")

</div>

I'm trying to nail down the latency problems in AS3 Sound.play() method. After collecting and calculating delays it seems that the latency basically always is a multiplier of approx 46 milliseconds, from 0 up to 185 (0, …

---

## [Simple Sliders and Math](https://forum.kirupa.com/t/simple-sliders-and-math/296880)

<div class="topic-metadata">

**Author:** [@daaan](https://forum.kirupa.com/u/daaan)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 8:40am UTC](https://forum.kirupa.com/t/simple-sliders-and-math/296880 "2009-09-22T08:40:49Z")

</div>

Hi! I am producing an interesting interactive project. I have 9 sliders that will adjust a figure each and should add up to 100. If they add up to 100, it should stopDrag(); Now this works, however if you move the …

---

## [Flash Player error messages from browser?](https://forum.kirupa.com/t/flash-player-error-messages-from-browser/296878)

<div class="topic-metadata">

**Author:** [@GenericUserName](https://forum.kirupa.com/u/GenericUserName)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 7:04am UTC](https://forum.kirupa.com/t/flash-player-error-messages-from-browser/296878 "2009-09-22T07:04:16Z")

</div>

Hello. So a client I'm building assorted things for gets these annoying error dialog boxes popping up in web pages that I never see myself. But they are akin to those I would see if I were running a SWF locally from my…

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

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