# programming

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

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

**Page:** 179

---

## [as3 youtube api grey screen](https://forum.kirupa.com/t/as3-youtube-api-grey-screen/327927)

<div class="topic-metadata">

**Author:** [@bluebo](https://forum.kirupa.com/u/bluebo)\
**Replies:** 0\
**Last updated:** [April 6, 2012, 4:07am UTC](https://forum.kirupa.com/t/as3-youtube-api-grey-screen/327927 "2012-04-06T04:07:24Z")

</div>

hello everyone, ive been going at this for the past three days, and i cant solve it for the life of me. i dont know where in the heck im going wrong, but the screen turns grey... import flash.events.MouseEvent; import…

---

## [IE opening two windows from my flash link, IE only](https://forum.kirupa.com/t/ie-opening-two-windows-from-my-flash-link-ie-only/327923)

<div class="topic-metadata">

**Author:** [@wrzdzn](https://forum.kirupa.com/u/wrzdzn)\
**Replies:** 0\
**Last updated:** [April 6, 2012, 1:44am UTC](https://forum.kirupa.com/t/ie-opening-two-windows-from-my-flash-link-ie-only/327923 "2012-04-06T01:44:57Z")

</div>

I have an issue where my flash link opens two windows in internet explorer one is blank. Firefox, chrome and safari are fine. Has anyone experienced this and Is it a IE or flash problem. \*\*opens an extra window in IE8 o…

---

## [Displaying textfield input on stage](https://forum.kirupa.com/t/displaying-textfield-input-on-stage/327922)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 9:17pm UTC](https://forum.kirupa.com/t/displaying-textfield-input-on-stage/327922 "2012-04-05T21:17:01Z")

</div>

Hey, Another quick question. I have code for the user to enter their name in a text box. Once the submit button is clicked I want the name entered to be dispatched with an event as well as displayed on the stage. The…

---

## [Convert loadMovie to not use flashVars in object code](https://forum.kirupa.com/t/convert-loadmovie-to-not-use-flashvars-in-object-code/327921)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 7:02pm UTC](https://forum.kirupa.com/t/convert-loadmovie-to-not-use-flashvars-in-object-code/327921 "2012-04-05T19:02:14Z")

</div>

I found this great rotator on Flashkit. http://www.flashkit.com/movies/Scripting/Using\_External\_Files/Dynamic\_-Jason\_Ca-12196/index.php Love the user interface. Unfortunately it is using FlasVars in the object code to…

---

## [Uploading name and game time to Twitter](https://forum.kirupa.com/t/uploading-name-and-game-time-to-twitter/327920)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 5:16pm UTC](https://forum.kirupa.com/t/uploading-name-and-game-time-to-twitter/327920 "2012-04-05T17:16:29Z")

</div>

Hey all, Still working on a series of games and ran into a problem with uploading from AS3 to Twitter. What I want to happen is the player enters their name at the start of the game. When the player completes the gam…

---

## [Adding penalty feature to timer](https://forum.kirupa.com/t/adding-penalty-feature-to-timer/327919)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 3:06pm UTC](https://forum.kirupa.com/t/adding-penalty-feature-to-timer/327919 "2012-04-05T15:06:24Z")

</div>

Hey all, I've got a serious of games built and I've run into a problem with the scoring system. The game contains a timer which displays on screen and counts up displaying hours, minutes and seconds. When the hint …

---

## [Upload PPT](https://forum.kirupa.com/t/upload-ppt/327918)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 3:00pm UTC](https://forum.kirupa.com/t/upload-ppt/327918 "2012-04-05T15:00:48Z")

</div>

Hello, I'm really stuck on this - I'm supposed to be delivering the project today. I need to be able upload a PPT without user interaction (so no FileReference) Can anyone help me out pleeeeease. Thanks

---

## [AS3 Game Scoreboard](https://forum.kirupa.com/t/as3-game-scoreboard/327917)

<div class="topic-metadata">

**Author:** [@jbsosbj](https://forum.kirupa.com/u/jbsosbj)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 2:18pm UTC](https://forum.kirupa.com/t/as3-game-scoreboard/327917 "2012-04-05T14:18:44Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I am making my very first AS3 game, and though it's quite simple I'm having trouble setting up a scoring system.\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]The concept of the game is simpl…

---

## [Error code 28, help needed urgently](https://forum.kirupa.com/t/error-code-28-help-needed-urgently/327916)

<div class="topic-metadata">

**Author:** [@kayeones](https://forum.kirupa.com/u/kayeones)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 1:54pm UTC](https://forum.kirupa.com/t/error-code-28-help-needed-urgently/327916 "2012-04-05T13:54:46Z")

</div>

Hello, My shop has been up and running for few weeks now. Today I wanted to add new product and here's what happened. I went admin/configure/categories/products and I see the following error: 1 Can't create/write to …

---

## [Upload/Save ByteArray (Urgent Please)](https://forum.kirupa.com/t/upload-save-bytearray-urgent-please/327915)

<div class="topic-metadata">

**Author:** [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 11:20am UTC](https://forum.kirupa.com/t/upload-save-bytearray-urgent-please/327915 "2012-04-05T11:20:03Z")

</div>

Hello all, I'm tying to upload a file to my server, for a project due by EOP today 0\_o... I'm stuck on the ServerSide code though.. I think it's the ASP code that I've got wrong... Has anyone got some examples? I'm s…

---

## [Storing check box data to a local file](https://forum.kirupa.com/t/storing-check-box-data-to-a-local-file/327914)

<div class="topic-metadata">

**Author:** [@tonks](https://forum.kirupa.com/u/tonks)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 10:27am UTC](https://forum.kirupa.com/t/storing-check-box-data-to-a-local-file/327914 "2012-04-05T10:27:47Z")

</div>

Hello, Could somebody help me or tell me if this is even possible. I want to make a simple tick box questionaire in Flash (AS2) that stores data to a local text file when the user has submitted the form. So simple stuff…

---

## [Faster caching of bitmapData](https://forum.kirupa.com/t/faster-caching-of-bitmapdata/327913)

<div class="topic-metadata">

**Author:** [@fikontrollet](https://forum.kirupa.com/u/fikontrollet)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 9:33am UTC](https://forum.kirupa.com/t/faster-caching-of-bitmapdata/327913 "2012-04-05T09:33:21Z")

</div>

I have a test that loads and pre-caches 20 images(1280x720 px). After the loading is done I use copyPixel to cache the loaded data. I'm left with a catching time of about 2 seconds, resulting in an average of 100ms per i…

---

## [Accordion how to open particular header using script](https://forum.kirupa.com/t/accordion-how-to-open-particular-header-using-script/327912)

<div class="topic-metadata">

**Author:** [@nitinmukesh](https://forum.kirupa.com/u/nitinmukesh)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 5:12am UTC](https://forum.kirupa.com/t/accordion-how-to-open-particular-header-using-script/327912 "2012-04-05T05:12:23Z")

</div>

Hi, I have created a accordion menu using the following code \[LEFT\] \[COLOR=#000000\] \[COLOR=#007700\]&lt;\[/COLOR\]\[COLOR=#0000BB\]h3\[/COLOR\]\[COLOR=#007700\]&gt;\[/COLOR\]\[COLOR=#0000BB\]Level 1\[/COLOR\]\[C…

---

## [Game Health bar/Frame Label - Help please](https://forum.kirupa.com/t/game-health-bar-frame-label-help-please/327911)

<div class="topic-metadata">

**Author:** [@MAGG0T](https://forum.kirupa.com/u/MAGG0T)\
**Replies:** 0\
**Last updated:** [April 5, 2012, 12:25am UTC](https://forum.kirupa.com/t/game-health-bar-frame-label-help-please/327911 "2012-04-05T00:25:23Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I have my Health bar that works perfect it goes down when a enemy attacks it etc how ever when it reaches \<=0 it does not play the 'fail\_mc' and Label, infact the fail\_mc apears by itself wit…

---

## [Is there a way to force a code stop](https://forum.kirupa.com/t/is-there-a-way-to-force-a-code-stop/327908)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 9:01pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-force-a-code-stop/327908 "2012-04-04T21:01:37Z")

</div>

Hello, What I would like to do is, once some condition is met, tell the parser to 'gotoAndStop' on the next frame AND ignore the rest of the code on the page below the 'gotoAndStop'. Is there a way to do this? I know…

---

## [Input text Font color](https://forum.kirupa.com/t/input-text-font-color/327906)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 7:55pm UTC](https://forum.kirupa.com/t/input-text-font-color/327906 "2012-04-04T19:55:13Z")

</div>

I am adding INPUTTEXT through actionscript and want to change the text color through color picker component var mainContainer:MovieClip = new MovieClip(); var fontsContainer:MovieClip; fontColorPicker.addEventListen…

---

## [Problem with button functionality in CS5](https://forum.kirupa.com/t/problem-with-button-functionality-in-cs5/327899)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 3:23pm UTC](https://forum.kirupa.com/t/problem-with-button-functionality-in-cs5/327899 "2012-04-04T15:23:12Z")

</div>

Hello, I am trying to add a button from the library to the stage using code. It seems to work fine except that when I hover over the button it does not work like a button. I don't get the over state of the button, I do…

---

## [Simple tweenlite oncomplete question, function isn't called?](https://forum.kirupa.com/t/simple-tweenlite-oncomplete-question-function-isnt-called/327898)

<div class="topic-metadata">

**Author:** [@keitai](https://forum.kirupa.com/u/keitai)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 2:51pm UTC](https://forum.kirupa.com/t/simple-tweenlite-oncomplete-question-function-isnt-called/327898 "2012-04-04T14:51:59Z")

</div>

Hi Been a while. I am trying to combine TweenLite with some of my own functions. Now for testing i have this: function playGeb(indG):Void { if (indG \< 8) { clearInterval(restartG); gebArr\[indG\].play(); ch…

---

## [Key press Animation help](https://forum.kirupa.com/t/key-press-animation-help/327895)

<div class="topic-metadata">

**Author:** [@MAGG0T](https://forum.kirupa.com/u/MAGG0T)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 1:24pm UTC](https://forum.kirupa.com/t/key-press-animation-help/327895 "2012-04-04T13:24:05Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I have a Animated character which moves Left and right (up and down comming later) lol \[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]Anyway! it walks perfectly when walking RIGHT but when i ad…

---

## [as3 to as2 for swiffy problem](https://forum.kirupa.com/t/as3-to-as2-for-swiffy-problem/327893)

<div class="topic-metadata">

**Author:** [@tinyisland](https://forum.kirupa.com/u/tinyisland)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 10:58am UTC](https://forum.kirupa.com/t/as3-to-as2-for-swiffy-problem/327893 "2012-04-04T10:58:16Z")

</div>

I have a movie in as3 with the following code on the first frame in the main timeline and I am trying to conver it in as2 so i can output it with swiffy however I guess I have something wrong in the code as I am getting …

---

## [Flash 8 : my text layer mask is not working when i test the movie](https://forum.kirupa.com/t/flash-8-my-text-layer-mask-is-not-working-when-i-test-the-movie/327888)

<div class="topic-metadata">

**Author:** [@jkdesignwork](https://forum.kirupa.com/u/jkdesignwork)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 8:14am UTC](https://forum.kirupa.com/t/flash-8-my-text-layer-mask-is-not-working-when-i-test-the-movie/327888 "2012-04-04T08:14:57Z")

</div>

Hello, Please help me!!! I download "scrollbar\_vfinal\_2004 from this site and use it my own movie but when I test the movie, the text is not showing. Without text lay mask, the scrollbar works. Is there anybody could h…

---

## [I need to implement Vintage effect using HTML5, Canvas and JS on an image. Need help?](https://forum.kirupa.com/t/i-need-to-implement-vintage-effect-using-html5-canvas-and-js-on-an-image-need-help/327886)

<div class="topic-metadata">

**Author:** [@Balraj\_Singh](https://forum.kirupa.com/u/Balraj_Singh)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 5:38am UTC](https://forum.kirupa.com/t/i-need-to-implement-vintage-effect-using-html5-canvas-and-js-on-an-image-need-help/327886 "2012-04-04T05:38:17Z")

</div>

I am trying to implement Vintage effect, Cartoon effect and other advance effect like these. But i am not able to find the algorithm to do so. I need algorithm to implement using JavaScript and pixel manipulation. I don…

---

## [Action script 3: Export object to image with PNG format - make transparent](https://forum.kirupa.com/t/action-script-3-export-object-to-image-with-png-format-make-transparent/327885)

<div class="topic-metadata">

**Author:** [@ngocquynh\_183](https://forum.kirupa.com/u/ngocquynh_183)\
**Replies:** 0\
**Last updated:** [April 4, 2012, 3:55am UTC](https://forum.kirupa.com/t/action-script-3-export-object-to-image-with-png-format-make-transparent/327885 "2012-04-04T03:55:43Z")

</div>

Hi! I have a problem in export a object to image .PNG (and make transparent). When i add a object TextField in stage and add effect for my object. Then i export to image with format is .PNG.I use BlendMode.NORMAL prope…

---

## [Remembering keypress Issue](https://forum.kirupa.com/t/remembering-keypress-issue/327879)

<div class="topic-metadata">

**Author:** [@cat101](https://forum.kirupa.com/u/cat101)\
**Replies:** 0\
**Last updated:** [April 3, 2012, 10:24am UTC](https://forum.kirupa.com/t/remembering-keypress-issue/327879 "2012-04-03T10:24:28Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]I am new to AS and generally have very little knowledge of coding languages. I've hit a problem where I am making a 'game' where the user watches a video, and where they see an object which t…

---

## [Flash Website Template help](https://forum.kirupa.com/t/flash-website-template-help/327877)

<div class="topic-metadata">

**Author:** [@finishedfirst](https://forum.kirupa.com/u/finishedfirst)\
**Replies:** 0\
**Last updated:** [April 3, 2012, 6:54am UTC](https://forum.kirupa.com/t/flash-website-template-help/327877 "2012-04-03T06:54:35Z")

</div>

Hey, i have a flash website template and i want to add an external user created swf page. But when i go to click on the link in created for the external swf the website freezes and the swf doesn't load up. Is any body wi…

---

## [Grouping & Adding my query results together](https://forum.kirupa.com/t/grouping-adding-my-query-results-together/327876)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [April 3, 2012, 5:43am UTC](https://forum.kirupa.com/t/grouping-adding-my-query-results-together/327876 "2012-04-03T05:43:16Z")

</div>

Once I query my MYSQL database I need to take the results and add the records with the same salesperson. Right now here is my PHP: \<?php$query="(SELECT \`sales\_person\_1\` AS sales\_person, SUM(\`system\_size\`)\*\`commission1\` …

---

## [How to create an Auction website?](https://forum.kirupa.com/t/how-to-create-an-auction-website/327872)

<div class="topic-metadata">

**Author:** [@Suzanne\_M](https://forum.kirupa.com/u/Suzanne_M)\
**Replies:** 0\
**Last updated:** [April 3, 2012, 2:37am UTC](https://forum.kirupa.com/t/how-to-create-an-auction-website/327872 "2012-04-03T02:37:09Z")

</div>

I want to create an auction website in Flash using Action Script. Any suggestions how I can go about doing that? If anyone has any code snippets for auction website, pls share, thanks a lot. M clueless how I will come up…

---

## [Removing Listeners That Only Exist on Child](https://forum.kirupa.com/t/removing-listeners-that-only-exist-on-child/327871)

<div class="topic-metadata">

**Author:** [@DanDaMan](https://forum.kirupa.com/u/DanDaMan)\
**Replies:** 0\
**Last updated:** [April 2, 2012, 10:27pm UTC](https://forum.kirupa.com/t/removing-listeners-that-only-exist-on-child/327871 "2012-04-02T22:27:46Z")

</div>

I am trying to have a single parent class that a wide variety of classes can extend. Each of them has the exact same event listeners and remove function so I thought I would try to write the function a single time in th…

---

## [Edit specific node value in XML and save to file](https://forum.kirupa.com/t/edit-specific-node-value-in-xml-and-save-to-file/327869)

<div class="topic-metadata">

**Author:** [@tonystech](https://forum.kirupa.com/u/tonystech)\
**Replies:** 0\
**Last updated:** [April 2, 2012, 4:53pm UTC](https://forum.kirupa.com/t/edit-specific-node-value-in-xml-and-save-to-file/327869 "2012-04-02T16:53:10Z")

</div>

Hey everyone, I'm creating an in-house application in flash for my company. I'm pulling a ton of info from a single XML file located on our server. Ten interns will be using the application on their laptops (Air 2.0)…

---

## [AS3 to AS2 help](https://forum.kirupa.com/t/as3-to-as2-help/327864)

<div class="topic-metadata">

**Author:** [@MAGG0T](https://forum.kirupa.com/u/MAGG0T)\
**Replies:** 0\
**Last updated:** [April 2, 2012, 2:39pm UTC](https://forum.kirupa.com/t/as3-to-as2-help/327864 "2012-04-02T14:39:05Z")

</div>

\[COLOR=#000000\]\[FONT=verdana\]Can anyone convert this AS3 code into AS2 for me please? \[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]import fl.transitions.Tween;\[/FONT\]\[/COLOR\] \[COLOR=#000000\]\[FONT=verdana\]import fl.tra…

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

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