# programming

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

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

**Page:** 661

---

## [Embed images to different vars](https://forum.kirupa.com/t/embed-images-to-different-vars/298486)

<div class="topic-metadata">

**Author:** [@sir\_humus](https://forum.kirupa.com/u/sir_humus)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 11:41pm UTC](https://forum.kirupa.com/t/embed-images-to-different-vars/298486 "2009-10-19T23:41:28Z")

</div>

Hi, I have those images: img1.png, img2.png..., imgn.png. and I want to embed them without writing n lines of embed. so I want something like: for(i:Number=1;i\<n;i++) { \[embed(source="img"+i+".png")\] var img+i:o…

---

## [Triggering an event at the end of a MovieClip's timeline?](https://forum.kirupa.com/t/triggering-an-event-at-the-end-of-a-movieclips-timeline/298485)

<div class="topic-metadata">

**Author:** [@zachwlewis](https://forum.kirupa.com/u/zachwlewis)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 10:34pm UTC](https://forum.kirupa.com/t/triggering-an-event-at-the-end-of-a-movieclips-timeline/298485 "2009-10-19T22:34:42Z")

</div>

I've a MovieClip named "Player" that contains three MovieClips (one on each frame): "Idle", "Walk", and "Attack". Idle and Walk are working as intended—when Player is on the appropriate frame, the animation cycles consta…

---

## [Compiling in Flex vs WonderFL](https://forum.kirupa.com/t/compiling-in-flex-vs-wonderfl/298482)

<div class="topic-metadata">

**Author:** [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 9:29pm UTC](https://forum.kirupa.com/t/compiling-in-flex-vs-wonderfl/298482 "2009-10-19T21:29:12Z")

</div>

Hey, I have a weird problem.. If I compile this http://wonderfl.net/code/445a2a1f8d3da5a5c673d34919ff438f008e86bf in WonderFl it works great in both my browser and on my desktop. However, when trying to do it in Flex -…

---

## [Dynamic bold text seems to render while omitting character spaces](https://forum.kirupa.com/t/dynamic-bold-text-seems-to-render-while-omitting-character-spaces/298479)

<div class="topic-metadata">

**Author:** [@mike\_brook](https://forum.kirupa.com/u/mike_brook)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 9:12pm UTC](https://forum.kirupa.com/t/dynamic-bold-text-seems-to-render-while-omitting-character-spaces/298479 "2009-10-19T21:12:57Z")

</div>

Hello Everyone, I am currently running into an issue to which I cannot seem to find any answers for. Just to give you a little background, I am using CS4 and AS3, publishing to FP9. I am embedding fonts dynamically …

---

## [getElementById IE6 bug](https://forum.kirupa.com/t/getelementbyid-ie6-bug/298478)

<div class="topic-metadata">

**Author:** [@sjbohlman](https://forum.kirupa.com/u/sjbohlman)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 9:12pm UTC](https://forum.kirupa.com/t/getelementbyid-ie6-bug/298478 "2009-10-19T21:12:03Z")

</div>

Hello, I'm having a problem getting part of my code to work in IE6 and IE7. I've looked up my problem (which is with getElementById I think), and tried the solutions that are out there - but I still can't get my code to …

---

## [General/specific workflow problem](https://forum.kirupa.com/t/general-specific-workflow-problem/298477)

<div class="topic-metadata">

**Author:** [@Pancho](https://forum.kirupa.com/u/Pancho)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 9:00pm UTC](https://forum.kirupa.com/t/general-specific-workflow-problem/298477 "2009-10-19T21:00:47Z")

</div>

Well, after running my web page for some years the need to rewrite it causes a lot of mental pain. Migrating from AS2 to AS3 is a big time killer for me, so currently I get troubled by the following problem. In general…

---

## [Email Form problems](https://forum.kirupa.com/t/email-form-problems/298475)

<div class="topic-metadata">

**Author:** [@olicorse](https://forum.kirupa.com/u/olicorse)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 8:50pm UTC](https://forum.kirupa.com/t/email-form-problems/298475 "2009-10-19T20:50:22Z")

</div>

Hi, I just read the tutorial about making a PHP email form and it was great. There's just a couple of things I'd like to know how to change... First off, when the user hits submit, I don't want it to 'echo' a message…

---

## [Flex and CS3 doesn't like Flex and CS4](https://forum.kirupa.com/t/flex-and-cs3-doesnt-like-flex-and-cs4/298472)

<div class="topic-metadata">

**Author:** [@mrwil](https://forum.kirupa.com/u/mrwil)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 8:18pm UTC](https://forum.kirupa.com/t/flex-and-cs3-doesnt-like-flex-and-cs4/298472 "2009-10-19T20:18:52Z")

</div>

Hi I'm working on a project that was created using flex and CS3. I only have access to CS4 and the class paths normally located at: C:/Documents and Settings/wturrin/Local Settings/Application Data/Adobe/Flash CS3/en…

---

## [Total DUH question](https://forum.kirupa.com/t/total-duh-question/298470)

<div class="topic-metadata">

**Author:** [@axiomaticstatic](https://forum.kirupa.com/u/axiomaticstatic)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 7:29pm UTC](https://forum.kirupa.com/t/total-duh-question/298470 "2009-10-19T19:29:04Z")

</div>

Okay being new to this site I started going through one of the tutorials. Good stuff so far... It the tutorial it states you need to create a movie clip, name it and THEN make the art work to go inside it.... brakes …

---

## [Outline around button when clicked](https://forum.kirupa.com/t/outline-around-button-when-clicked/298466)

<div class="topic-metadata">

**Author:** [@rn325](https://forum.kirupa.com/u/rn325)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 6:17pm UTC](https://forum.kirupa.com/t/outline-around-button-when-clicked/298466 "2009-10-19T18:17:38Z")

</div>

I have created 4 buttons so far and when pressed they change the color of a box on the screen. I will be putting more buttons on the page. When a button is pressed, how can i get a black outline to show around the button…

---

## [Dictionary](https://forum.kirupa.com/t/dictionary/298465)

<div class="topic-metadata">

**Author:** [@werehunt](https://forum.kirupa.com/u/werehunt)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 6:16pm UTC](https://forum.kirupa.com/t/dictionary/298465 "2009-10-19T18:16:57Z")

</div>

i need to store 5 buttons in a i guess dictionary so i can access them later. if i store them in an array then i will have to remember which is where so i guess dictionary is more intuitive, but i dont get this: privat…

---

## [Efficient Background Movement](https://forum.kirupa.com/t/efficient-background-movement/298464)

<div class="topic-metadata">

**Author:** [@Nejuf](https://forum.kirupa.com/u/Nejuf)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 5:53pm UTC](https://forum.kirupa.com/t/efficient-background-movement/298464 "2009-10-19T17:53:26Z")

</div>

Hello, I'm working on a game and I want the background of the game to move or the view of it at least. I know that it is possible to create the image and have it move left and right, but for larger images this can creat…

---

## [Video MetaData not firing](https://forum.kirupa.com/t/video-metadata-not-firing/298463)

<div class="topic-metadata">

**Author:** [@mpelland](https://forum.kirupa.com/u/mpelland)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 5:01pm UTC](https://forum.kirupa.com/t/video-metadata-not-firing/298463 "2009-10-19T17:01:41Z")

</div>

Hey, I am trying to load a video (~ 1 hour long). Everything works fine except that the onMetaData is never firing. ActionScript Code: \[LEFT\]\[COLOR=#000000\]\*\*var\*\*\[/COLOR\] customClient:\[COLOR=#0000FF\]Object\[/COLOR\] …

---

## [Display outside boundaries of current stage?](https://forum.kirupa.com/t/display-outside-boundaries-of-current-stage/298461)

<div class="topic-metadata">

**Author:** [@juniorspecial](https://forum.kirupa.com/u/juniorspecial)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 3:50pm UTC](https://forum.kirupa.com/t/display-outside-boundaries-of-current-stage/298461 "2009-10-19T15:50:25Z")

</div>

What do I have to do so that a text field will display outside the boundaries of the current stage? For instance, let's say I have a stage that is 300 x 200, and I want to add a text field that is 100x400? And I want the…

---

## [TextField.length v's Mulitline TextField.length](https://forum.kirupa.com/t/textfield-length-vs-mulitline-textfield-length/298460)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 3:04pm UTC](https://forum.kirupa.com/t/textfield-length-vs-mulitline-textfield-length/298460 "2009-10-19T15:04:22Z")

</div>

Hello, Ran into this oddity or maybe a feature when making a validator class for some calculators I'm making. Basically one of the most simple validation routines is to check if the field is required, and if it is, t…

---

## [Loop- onRollOver animation](https://forum.kirupa.com/t/loop-onrollover-animation/298459)

<div class="topic-metadata">

**Author:** [@dougkoh](https://forum.kirupa.com/u/dougkoh)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 3:01pm UTC](https://forum.kirupa.com/t/loop-onrollover-animation/298459 "2009-10-19T15:01:54Z")

</div>

\*I want to play and loop the Movieclip onRollOver and stop it onRollout. It's simple. I know, but I have no clue\*\*. I need help!\*\*\*\*\* This is what I have so far on keyframe 1:\*\* stop(); this.onRollOver = function(…

---

## [CLONE movie clip when dragging and dropping](https://forum.kirupa.com/t/clone-movie-clip-when-dragging-and-dropping/298458)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 2:42pm UTC](https://forum.kirupa.com/t/clone-movie-clip-when-dragging-and-dropping/298458 "2009-10-19T14:42:20Z")

</div>

hi i've built a little game, where the user can drag and drop objects on a canvas. there's a button wheren the canvas turns black, and the objetcs (images) become white, like a photographic image. What I'm trying to …

---

## [Flex and linkage names](https://forum.kirupa.com/t/flex-and-linkage-names/298457)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 2:32pm UTC](https://forum.kirupa.com/t/flex-and-linkage-names/298457 "2009-10-19T14:32:20Z")

</div>

If you try to add an object out of an linkagename in Flex you get errors. Like: 1180: Call to a possibly undefined method \[linkage name\]. If I don't want to create classes for every library symbol I'd like to add, is t…

---

## [Site architechture question re: SEO](https://forum.kirupa.com/t/site-architechture-question-re-seo/298456)

<div class="topic-metadata">

**Author:** [@Reggie\_Schultz](https://forum.kirupa.com/u/Reggie_Schultz)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 2:28pm UTC](https://forum.kirupa.com/t/site-architechture-question-re-seo/298456 "2009-10-19T14:28:57Z")

</div>

Hi all, I am developing a simple XHTML/CSS site (using some small php require functions). I am looking at the simplest way to create clean URLs. I am considering putting each page in it's own folder, using an index.php…

---

## [Auto resize flash help](https://forum.kirupa.com/t/auto-resize-flash-help/298454)

<div class="topic-metadata">

**Author:** [@rboyart](https://forum.kirupa.com/u/rboyart)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 1:40pm UTC](https://forum.kirupa.com/t/auto-resize-flash-help/298454 "2009-10-19T13:40:11Z")

</div>

Hello! Im trying to make a website in AS3 with a dynamic background-video that fills all the page in my browser and keeps the proportions even if you are resizing the browser like this: http://www.luxdesign.com/ ht…

---

## [Blur Mc](https://forum.kirupa.com/t/blur-mc/298452)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 12:45pm UTC](https://forum.kirupa.com/t/blur-mc/298452 "2009-10-19T12:45:52Z")

</div>

How can I sent my movie clip to blur instead of gotoAndPlay? shirt.gotoAndPlay(2);

---

## [Button to open mc in another swf?](https://forum.kirupa.com/t/button-to-open-mc-in-another-swf/298447)

<div class="topic-metadata">

**Author:** [@As2\_Kills](https://forum.kirupa.com/u/As2_Kills)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 11:11am UTC](https://forum.kirupa.com/t/button-to-open-mc-in-another-swf/298447 "2009-10-19T11:11:14Z")

</div>

Hi all, This is what I am trying to do: I have a button on swf 1 and when clicked I want it to open a mc in swf 2. I am using a code .as file to do this. I have everything set up and it works in swf1 (ie on clicking the …

---

## [4GB RAM but get error msg: "Flash is out of memory"!?](https://forum.kirupa.com/t/4gb-ram-but-get-error-msg-flash-is-out-of-memory/298446)

<div class="topic-metadata">

**Author:** [@h3dg3h0g](https://forum.kirupa.com/u/h3dg3h0g)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 10:51am UTC](https://forum.kirupa.com/t/4gb-ram-but-get-error-msg-flash-is-out-of-memory/298446 "2009-10-19T10:51:32Z")

</div>

I need to move a massive movieclip that contains possibly 100MB of vector drawings and animation over to another file. It usually takes minutes to copy and then even longer to paste it into the other file. Recently tho…

---

## [Need to start two videos at the same time](https://forum.kirupa.com/t/need-to-start-two-videos-at-the-same-time/298445)

<div class="topic-metadata">

**Author:** [@bboybeatle](https://forum.kirupa.com/u/bboybeatle)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 10:21am UTC](https://forum.kirupa.com/t/need-to-start-two-videos-at-the-same-time/298445 "2009-10-19T10:21:45Z")

</div>

Hi, currently iv got 2 of the same movie clip. both containing an flvplayback component. One of them has a heavy blur effect, one of them doesnt. The blurred one is the 'reflection' of the other one, but the problem …

---

## [Removing images after preload](https://forum.kirupa.com/t/removing-images-after-preload/298444)

<div class="topic-metadata">

**Author:** [@jjdelv](https://forum.kirupa.com/u/jjdelv)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 10:09am UTC](https://forum.kirupa.com/t/removing-images-after-preload/298444 "2009-10-19T10:09:40Z")

</div>

Right, I have created this preloader which you can download from www.oooi.co.uk/oooicogs.zip My problem is that when it finishes loading index.swf, it doesn't remove the four images. I am assuming that I need to do som…

---

## [StartDrag Constrain to Rectangle](https://forum.kirupa.com/t/startdrag-constrain-to-rectangle/298442)

<div class="topic-metadata">

**Author:** [@donkeykong](https://forum.kirupa.com/u/donkeykong)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 9:31am UTC](https://forum.kirupa.com/t/startdrag-constrain-to-rectangle/298442 "2009-10-19T09:31:36Z")

</div>

hi there please can somone help with this little problem, I have a demo file that I am trying to created a constraint to a rectangle. I have the startDrag working and I am trying to constrain a square to the movie size…

---

## [Smooth pop up inside flash](https://forum.kirupa.com/t/smooth-pop-up-inside-flash/298439)

<div class="topic-metadata">

**Author:** [@KDS](https://forum.kirupa.com/u/KDS)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 8:50am UTC](https://forum.kirupa.com/t/smooth-pop-up-inside-flash/298439 "2009-10-19T08:50:06Z")

</div>

hi guys, can any one help for how to create a smooth pop up as seen here http://www.edenfx.com/#gallery when click a button appear a smooth pop up window and make all behind objects dark. thx in advance

---

## [XML/AS3 help creating a url link](https://forum.kirupa.com/t/xml-as3-help-creating-a-url-link/298436)

<div class="topic-metadata">

**Author:** [@donkeykong](https://forum.kirupa.com/u/donkeykong)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 8:14am UTC](https://forum.kirupa.com/t/xml-as3-help-creating-a-url-link/298436 "2009-10-19T08:14:28Z")

</div>

hi all would anyone beable to help me with this : ( ? I have been trying to understand how to create a url link with the xml file that my menu is driven by. what I have is a menu with text amd images reading from an …

---

## [Error 1010](https://forum.kirupa.com/t/error-1010/298430)

<div class="topic-metadata">

**Author:** [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 3:09am UTC](https://forum.kirupa.com/t/error-1010/298430 "2009-10-19T03:09:24Z")

</div>

Can anyone help me figure out what this error is? Everything seems to be working fine, but I still get this error. I have an RSS feed being pulled in from a twitter page. TypeError: Error #1010: A term is undefined a…

---

## [Solving Bitmap limits with ScrollRect in 3D](https://forum.kirupa.com/t/solving-bitmap-limits-with-scrollrect-in-3d/298429)

<div class="topic-metadata">

**Author:** [@enridp](https://forum.kirupa.com/u/enridp)\
**Replies:** 0\
**Last updated:** [October 19, 2009, 1:18am UTC](https://forum.kirupa.com/t/solving-bitmap-limits-with-scrollrect-in-3d/298429 "2009-10-19T01:18:02Z")

</div>

OK, I give up, this is the problem: If we have a Bitamp with more than 16777216 pixels (or one side larger than 8191 px) Flash 10 doesn't show it (Flash 9 and earlier has smaller limits even). One solution to this is to…

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

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