# programming

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

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

**Page:** 565

---

## [Checking if an unnamed object exists](https://forum.kirupa.com/t/checking-if-an-unnamed-object-exists/304599)

<div class="topic-metadata">

**Author:** [@bhjodokast](https://forum.kirupa.com/u/bhjodokast)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 4:23pm UTC](https://forum.kirupa.com/t/checking-if-an-unnamed-object-exists/304599 "2010-02-10T16:23:29Z")

</div>

I have a name for the object, but it doesn't seem to work. Anyone know why this doesn't work? if (sprite) { removeChild(sprite); } else { // there is no sprite. } sprite = new Sprite(); sprite.…

---

## [HELP- converting videos to flv](https://forum.kirupa.com/t/help-converting-videos-to-flv/304597)

<div class="topic-metadata">

**Author:** [@peacock](https://forum.kirupa.com/u/peacock)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 3:34pm UTC](https://forum.kirupa.com/t/help-converting-videos-to-flv/304597 "2010-02-10T15:34:50Z")

</div>

Hi, I need to convert a wmv to flv. I have heard that if you just use Flash import video it will cause the filesize to increase. What is the best way to convert? I have looked at lots of software both pc and mac (i pref…

---

## [Bugs with my site](https://forum.kirupa.com/t/bugs-with-my-site/304590)

<div class="topic-metadata">

**Author:** [@rockinruler](https://forum.kirupa.com/u/rockinruler)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 3:12pm UTC](https://forum.kirupa.com/t/bugs-with-my-site/304590 "2010-02-10T15:12:32Z")

</div>

Hi, I've worked hard to make a logo and website for my college's cultural festival. The site's not really complete yet, I've created a skeleton kind of thing, but it has bugs. I'm uploading the source itself. Could you p…

---

## [Graphics Class Library?](https://forum.kirupa.com/t/graphics-class-library/304587)

<div class="topic-metadata">

**Author:** [@bhjodokast](https://forum.kirupa.com/u/bhjodokast)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 2:35pm UTC](https://forum.kirupa.com/t/graphics-class-library/304587 "2010-02-10T14:35:43Z")

</div>

Anyone have some good graphics libraries they can recommend for AS3? Need glass, textures, effects. The more the better. Using Astral but it is limited to 6 skinnable components. Looking more for something for "Advance…

---

## [AS3 block grow/shifter help?](https://forum.kirupa.com/t/as3-block-grow-shifter-help/304584)

<div class="topic-metadata">

**Author:** [@n\_k1](https://forum.kirupa.com/u/n_k1)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 1:19pm UTC](https://forum.kirupa.com/t/as3-block-grow-shifter-help/304584 "2010-02-10T13:19:10Z")

</div>

Hi, I've got a row of boxes (named box01, box 02 etc) in AS3 I'm trying to get it so that when you rollover one of the boxes, it scales up using tweenmax, and all the boxes to the right of the current box shift along by …

---

## [AS 2: Transitions between external SWFs](https://forum.kirupa.com/t/as-2-transitions-between-external-swfs/304582)

<div class="topic-metadata">

**Author:** [@leetech](https://forum.kirupa.com/u/leetech)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 11:37am UTC](https://forum.kirupa.com/t/as-2-transitions-between-external-swfs/304582 "2010-02-10T11:37:51Z")

</div>

Hi, I was following this tutorial http://www.kirupa.com/developer/mx2004/transitions2.htm and I was wondering if there is anyway to combine the SWF so there is only 1 not multiples. Because when I uploaded them to my M…

---

## [JPGEncoder = only way to convert BitmapData to ByteArray?](https://forum.kirupa.com/t/jpgencoder-only-way-to-convert-bitmapdata-to-bytearray/304580)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 10:54am UTC](https://forum.kirupa.com/t/jpgencoder-only-way-to-convert-bitmapdata-to-bytearray/304580 "2010-02-10T10:54:22Z")

</div>

So JPGEncoder is amazing and everything, but I'm coming across a case, where I'm loading (at runtime) a jpg image, of unknown compression, might be small in size or large in size. I'm doing some bitwise manipulations on …

---

## [TextFieldAutoSize.LEFT and new line](https://forum.kirupa.com/t/textfieldautosize-left-and-new-line/304575)

<div class="topic-metadata">

**Author:** [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 8:37am UTC](https://forum.kirupa.com/t/textfieldautosize-left-and-new-line/304575 "2010-02-10T08:37:51Z")

</div>

I have two text fields TextField1 and TextField2. I basically copy the text from TextField1 to TextField2 with actionscript on textChange. I notice that with TextFieldAutoSize.LEFT on, the TextField2 automatically puts i…

---

## [X Movement Help](https://forum.kirupa.com/t/x-movement-help/304574)

<div class="topic-metadata">

**Author:** [@Kainevg](https://forum.kirupa.com/u/Kainevg)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 8:16am UTC](https://forum.kirupa.com/t/x-movement-help/304574 "2010-02-10T08:16:10Z")

</div>

Hey guys, This is my first post here on the forums (as you can probably tell), but anyway, I am creating my flash game and I have my character, I was originially going to make him move by using the arrow keys which I h…

---

## [Tweening scaleX, scaleY, x and y properties of sprite producing jumpy results](https://forum.kirupa.com/t/tweening-scalex-scaley-x-and-y-properties-of-sprite-producing-jumpy-results/304572)

<div class="topic-metadata">

**Author:** [@marlonpando](https://forum.kirupa.com/u/marlonpando)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 6:29am UTC](https://forum.kirupa.com/t/tweening-scalex-scaley-x-and-y-properties-of-sprite-producing-jumpy-results/304572 "2010-02-10T06:29:12Z")

</div>

I'm trying to make a textfield inside a sprite zoom upon mousing over the sprite. I'm instantiating tweens on the x, y, scaleX, and scaleY properties of the sprite. The x and y tweens are needed due to the top left reg…

---

## [Steps in ActionScript](https://forum.kirupa.com/t/steps-in-actionscript/304570)

<div class="topic-metadata">

**Author:** [@nunozz](https://forum.kirupa.com/u/nunozz)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 6:08am UTC](https://forum.kirupa.com/t/steps-in-actionscript/304570 "2010-02-10T06:08:24Z")

</div>

Bump! we cant delete posts -\_-

---

## [removeChild not working](https://forum.kirupa.com/t/removechild-not-working/304569)

<div class="topic-metadata">

**Author:** [@taha0khan](https://forum.kirupa.com/u/taha0khan)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 4:27am UTC](https://forum.kirupa.com/t/removechild-not-working/304569 "2010-02-10T04:27:42Z")

</div>

Hey everyone, I am new to flash as3, I am trying to figure out how do I remove a child after I add one into a mc. here is my code: var two\_mc:Two=new Two(); pic\_mc.addChild(two\_mc); pic\_mc.removeChild(pic\_mc.two\_mc); …

---

## [sendAndLoad not loading with mysql](https://forum.kirupa.com/t/sendandload-not-loading-with-mysql/304568)

<div class="topic-metadata">

**Author:** [@evmania](https://forum.kirupa.com/u/evmania)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 3:45am UTC](https://forum.kirupa.com/t/sendandload-not-loading-with-mysql/304568 "2010-02-10T03:45:12Z")

</div>

Coding in AS2 Using Flash CS4 I have a project where I am using sendAndLoad to send a username and password, once verified the php sends back the account number. The code works fine when the php is: \<?php echo("…

---

## [Bitmap Fill + Drawing API = no good?](https://forum.kirupa.com/t/bitmap-fill-drawing-api-no-good/304567)

<div class="topic-metadata">

**Author:** [@TheByteBandit](https://forum.kirupa.com/u/TheByteBandit)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 3:06am UTC](https://forum.kirupa.com/t/bitmap-fill-drawing-api-no-good/304567 "2010-02-10T03:06:54Z")

</div>

I'm trying to use a bitmap fill, but I can't seem to get it to work. I'm using FlashDevelop with assets imported from CS4 - this isn't the problem, I can instantiate the asset I'm targeting perfectly fine, so I suspe…

---

## [Calling function on main stage from within a movieclip](https://forum.kirupa.com/t/calling-function-on-main-stage-from-within-a-movieclip/304566)

<div class="topic-metadata">

**Author:** [@stofferd](https://forum.kirupa.com/u/stofferd)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 2:27am UTC](https://forum.kirupa.com/t/calling-function-on-main-stage-from-within-a-movieclip/304566 "2010-02-10T02:27:49Z")

</div>

Hi I'm new to as3 and going round in circles. I want to make 5 buttons visible after a logo has animated. I have a function called vis that successfully makes the buttons visible. How do I call this from within the movie…

---

## [Buy New Sidekick Lx 2009 $130, BlackBerry Bold 9700 $200,HTC Touch HD2 $190](https://forum.kirupa.com/t/buy-new-sidekick-lx-2009-130-blackberry-bold-9700-200-htc-touch-hd2-190/304564)

<div class="topic-metadata">

**Author:** [@desktop01](https://forum.kirupa.com/u/desktop01)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 2:07am UTC](https://forum.kirupa.com/t/buy-new-sidekick-lx-2009-130-blackberry-bold-9700-200-htc-touch-hd2-190/304564 "2010-02-10T02:07:13Z")

</div>

Xylotrade Limited is one of the leading supplier of high-end products to customers, we deal primarily in genuine and brand new electronics, all items are sourced directly from the manufacturers and carry the manufacturer…

---

## [RemoveMovieClip Problem](https://forum.kirupa.com/t/removemovieclip-problem/304562)

<div class="topic-metadata">

**Author:** [@Danny0123](https://forum.kirupa.com/u/Danny0123)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 1:56am UTC](https://forum.kirupa.com/t/removemovieclip-problem/304562 "2010-02-10T01:56:21Z")

</div>

I defined my duplicated movie clip under a variable var duped:MovieClip = duplicateMovieClip(\_root.MC, "MC"+\_root.getNextHighestDepth, \_root.getNextHighestDepth); But I can't remove the movieclip when I use remove…

---

## [TextFolowingMouse](https://forum.kirupa.com/t/textfolowingmouse/304561)

<div class="topic-metadata">

**Author:** [@espmilosj](https://forum.kirupa.com/u/espmilosj)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 1:35am UTC](https://forum.kirupa.com/t/textfolowingmouse/304561 "2010-02-10T01:35:57Z")

</div>

Hi!!! This is my first post here and at the begining I want to say hallo to everyone on this forum!!! I'm wondering if someone can help me about one problem. I'm trying to create something like this:http://www.a-to-s.co.…

---

## [Reposition Symbols on the Stage w/out Creating Motion](https://forum.kirupa.com/t/reposition-symbols-on-the-stage-w-out-creating-motion/304557)

<div class="topic-metadata">

**Author:** [@ManOfEarth](https://forum.kirupa.com/u/ManOfEarth)\
**Replies:** 0\
**Last updated:** [February 10, 2010, 12:10am UTC](https://forum.kirupa.com/t/reposition-symbols-on-the-stage-w-out-creating-motion/304557 "2010-02-10T00:10:03Z")

</div>

Hello. I am using CS4. I have my Flash all setup and running perfect now w/ motion tweens etc.:\*( But I am trying to reposition some of my symbols on the stage (to get them into better alignment with other symbols), …

---

## [Functions in an exteral .as file](https://forum.kirupa.com/t/functions-in-an-exteral-as-file/304554)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 11:09pm UTC](https://forum.kirupa.com/t/functions-in-an-exteral-as-file/304554 "2010-02-09T23:09:11Z")

</div>

I have an external .as file (just starting with external files) and I would like to have more than one function in there so that this .as file can hold all of my similar functions, let's say drawing shapes. Is this possi…

---

## [///RollOvers not working properly](https://forum.kirupa.com/t/rollovers-not-working-properly/304552)

<div class="topic-metadata">

**Author:** [@mujaji](https://forum.kirupa.com/u/mujaji)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 10:03pm UTC](https://forum.kirupa.com/t/rollovers-not-working-properly/304552 "2010-02-09T22:03:50Z")

</div>

Can someone help me with this? Am actually a visual designer who is pretty familiar with AS 3.0, but does everything way longer than needed. Had an actionscriptor friend of mine help me clean up my code A LOT more! U…

---

## [Key press](https://forum.kirupa.com/t/key-press/304551)

<div class="topic-metadata">

**Author:** [@Laptopbuster](https://forum.kirupa.com/u/Laptopbuster)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 9:44pm UTC](https://forum.kirupa.com/t/key-press/304551 "2010-02-09T21:44:40Z")

</div>

I know there is coding that you can do it make something happen when you press things like up, down, space ect. But what coding do I use so that something can happen when I press a key such as 'A' or '1' or '#'

---

## [Serialize a movie clip or graphic?](https://forum.kirupa.com/t/serialize-a-movie-clip-or-graphic/304549)

<div class="topic-metadata">

**Author:** [@flashinapan](https://forum.kirupa.com/u/flashinapan)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 9:31pm UTC](https://forum.kirupa.com/t/serialize-a-movie-clip-or-graphic/304549 "2010-02-09T21:31:16Z")

</div>

Is it possible to serialize (or equivalent) a Flash movie clip object or graphic object? I'm trying to find out if it's possible to send such an object via XMLSocket.send.

---

## [Trying to get the main tween to stop on rollover](https://forum.kirupa.com/t/trying-to-get-the-main-tween-to-stop-on-rollover/304548)

<div class="topic-metadata">

**Author:** [@TommyP](https://forum.kirupa.com/u/TommyP)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 9:22pm UTC](https://forum.kirupa.com/t/trying-to-get-the-main-tween-to-stop-on-rollover/304548 "2010-02-09T21:22:22Z")

</div>

Hey everyone, New to the forums and still a newbie to flash cs4 so be nice \[stuck\_out\_tongue\] I'm trying to do something that i think is pretty simple but after 3 hours of about pulling my hair out i gave up and deci…

---

## [Load a MC on the main timeline from a MC in AS3](https://forum.kirupa.com/t/load-a-mc-on-the-main-timeline-from-a-mc-in-as3/304546)

<div class="topic-metadata">

**Author:** [@wxmaster](https://forum.kirupa.com/u/wxmaster)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 9:03pm UTC](https://forum.kirupa.com/t/load-a-mc-on-the-main-timeline-from-a-mc-in-as3/304546 "2010-02-09T21:03:36Z")

</div>

I have a movie clip on the main timeline. The movieclip contains buttons that I would like to use to display other movieclips on the main timeline. Any help please, I am new to AS3.

---

## [Java Runtime](https://forum.kirupa.com/t/java-runtime/304545)

<div class="topic-metadata">

**Author:** [@FlashDave](https://forum.kirupa.com/u/FlashDave)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 8:58pm UTC](https://forum.kirupa.com/t/java-runtime/304545 "2010-02-09T20:58:03Z")

</div>

I have recently gotten an error when I open Flash, or when I test a or Publish a movie. I get the following Error Message. Error initializing Java Runtime Environment. You may need to reinstall Flash. The movie (actually…

---

## [Can I dynamically change color tone in Flash?](https://forum.kirupa.com/t/can-i-dynamically-change-color-tone-in-flash/304542)

<div class="topic-metadata">

**Author:** [@talonxz](https://forum.kirupa.com/u/talonxz)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 6:31pm UTC](https://forum.kirupa.com/t/can-i-dynamically-change-color-tone-in-flash/304542 "2010-02-09T18:31:28Z")

</div>

Hi! I am creating a game on Facebook in which you create a character and then choose from a wide array of costumes. I am wondering if I can load just one art asset for each piece of costume (like boots, gloves, belt, …

---

## [AS3 Delay a for loop](https://forum.kirupa.com/t/as3-delay-a-for-loop/304540)

<div class="topic-metadata">

**Author:** [@itbkris](https://forum.kirupa.com/u/itbkris)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 4:56pm UTC](https://forum.kirupa.com/t/as3-delay-a-for-loop/304540 "2010-02-09T16:56:20Z")

</div>

I'm writing an upload program to upload multiple files. It works great as long as I only upload one file but as soon as I add a second file it throws an error saying it can only perform one upload at a time. Is there a…

---

## [\[FMX\] How to loop the code](https://forum.kirupa.com/t/fmx-how-to-loop-the-code/304539)

<div class="topic-metadata">

**Author:** [@zeeto](https://forum.kirupa.com/u/zeeto)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 4:46pm UTC](https://forum.kirupa.com/t/fmx-how-to-loop-the-code/304539 "2010-02-09T16:46:47Z")

</div>

Hi, I need some help to loop the below code: Banner1.setMask(BannerMask1); Banner2.setMask(BannerMask2); Banner3.setMask(BannerMask3); Banner4.setMask(BannerMask4); Banner5.setMask(BannerMask5); T…

---

## [AS3 - Simple problem (I think)](https://forum.kirupa.com/t/as3-simple-problem-i-think/304533)

<div class="topic-metadata">

**Author:** [@neys](https://forum.kirupa.com/u/neys)\
**Replies:** 0\
**Last updated:** [February 9, 2010, 3:12pm UTC](https://forum.kirupa.com/t/as3-simple-problem-i-think/304533 "2010-02-09T15:12:01Z")

</div>

Hello there, Long time reader - first time poster \[smile\] I have a problem, which I've been googling for hours now without finding just what I need. It should be said that I'm pretty new to AS and Flash, so bear with…

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

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