# programming

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

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

**Page:** 950

---

## [Changing mc's content on certain coordinate](https://forum.kirupa.com/t/changing-mcs-content-on-certain-coordinate/279887)

<div class="topic-metadata">

**Author:** [@2\_C](https://forum.kirupa.com/u/2_C)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 12:37pm UTC](https://forum.kirupa.com/t/changing-mcs-content-on-certain-coordinate/279887 "2009-01-20T12:37:34Z")

</div>

I have this moving mc, and I'm trying to change the mc's content on certain place/border on stage. With coordinate comparison I'm able to call change function. But there are some problems with the comparison, like if the…

---

## [1120 error](https://forum.kirupa.com/t/1120-error/279880)

<div class="topic-metadata">

**Author:** [@OlaB](https://forum.kirupa.com/u/OlaB)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 9:46am UTC](https://forum.kirupa.com/t/1120-error/279880 "2009-01-20T09:46:23Z")

</div>

\[FONT=Arial\]Hi!\[/FONT\] \[FONT=Arial\]I have very strange error when I am trying use e.target inside MouseEvent function or inside EnterFrame function.\[/FONT\] \[FONT=Arial\]“ 1120: Access of undefined property e.”\[/FONT\] \[FON…

---

## [How to read a variable from a custom component](https://forum.kirupa.com/t/how-to-read-a-variable-from-a-custom-component/279878)

<div class="topic-metadata">

**Author:** [@ryosaeb4](https://forum.kirupa.com/u/ryosaeb4)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 9:34am UTC](https://forum.kirupa.com/t/how-to-read-a-variable-from-a-custom-component/279878 "2009-01-20T09:34:34Z")

</div>

Dear Friends I'm new in the Flex world. I've a problem with a my custom component. I've make a TitleWindow with this code \<?xml version="1.0" encoding="utf-8"?\> \<mx:TitleWindow xmlns:mx="http://www.adobe.com/200…

---

## [Problem with Ranking code](https://forum.kirupa.com/t/problem-with-ranking-code/279876)

<div class="topic-metadata">

**Author:** [@selliott](https://forum.kirupa.com/u/selliott)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 8:37am UTC](https://forum.kirupa.com/t/problem-with-ranking-code/279876 "2009-01-20T08:37:15Z")

</div>

I need help fine tuning my code. This code shows ranking like: Rank - Points 1 - 120 2 - 100 2 - 100 3 - 99 But I need it to show it like: 1 - 120 2 - 100 2 - 100 4 - 99 \*\*Notice the 4th result is ranked 4th ins…

---

## [Any good background tile tutorials out there?](https://forum.kirupa.com/t/any-good-background-tile-tutorials-out-there/279872)

<div class="topic-metadata">

**Author:** [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 5:31am UTC](https://forum.kirupa.com/t/any-good-background-tile-tutorials-out-there/279872 "2009-01-20T05:31:40Z")

</div>

Hey All, I have an image that Im trying to tile, but I'm having a heck of a time getting it to work the way that I want. I have a horizontal based 200 x 5 image with a 1px vertical stroke on the far left end. I basi…

---

## [Time Display....!](https://forum.kirupa.com/t/time-display/279871)

<div class="topic-metadata">

**Author:** [@enzyme](https://forum.kirupa.com/u/enzyme)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 5:16am UTC](https://forum.kirupa.com/t/time-display/279871 "2009-01-20T05:16:12Z")

</div>

i have used the following script to display time on my web site, since recently i noticed that the time isn't getting updated, but showing the right system time on refresh.... pls help i am attaching the script herewith …

---

## [\[jQuery\] Sync two or more jScrollPanes](https://forum.kirupa.com/t/jquery-sync-two-or-more-jscrollpanes/279870)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 5:04am UTC](https://forum.kirupa.com/t/jquery-sync-two-or-more-jscrollpanes/279870 "2009-01-20T05:04:49Z")

</div>

I'm trying to figure out a way to sync a jScrollPane in one window with a jScrollPane in another window - so scrolling one would scroll the other at the same time. Is there an easy way to do this? Thanksies \[smile\]

---

## [Weird problem with preloader (very basic)](https://forum.kirupa.com/t/weird-problem-with-preloader-very-basic/279869)

<div class="topic-metadata">

**Author:** [@ChrisLove](https://forum.kirupa.com/u/ChrisLove)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 4:56am UTC](https://forum.kirupa.com/t/weird-problem-with-preloader-very-basic/279869 "2009-01-20T04:56:13Z")

</div>

ok, i have simpley 2 keyframes.. and all i want is a basic preloader where the bar expands horizontally... 1 keyframe is the preloader, 2nd keyframe is the content... heres my code stop(); loaderInt = setInterval (…

---

## [Object sort](https://forum.kirupa.com/t/object-sort/279868)

<div class="topic-metadata">

**Author:** [@mfsiddiq](https://forum.kirupa.com/u/mfsiddiq)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 4:39am UTC](https://forum.kirupa.com/t/object-sort/279868 "2009-01-20T04:39:59Z")

</div>

i am sorting an arrayCollection and then adding the sorted collection as object variables.But the object is getting sorted by default in the ascending order of the variable name for eg i have a collection like this col…

---

## [Loading Bar of Preloader Fits to Stage Width](https://forum.kirupa.com/t/loading-bar-of-preloader-fits-to-stage-width/279867)

<div class="topic-metadata">

**Author:** [@butbeautiful](https://forum.kirupa.com/u/butbeautiful)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 4:15am UTC](https://forum.kirupa.com/t/loading-bar-of-preloader-fits-to-stage-width/279867 "2009-01-20T04:15:56Z")

</div>

Hi everyone. I am currently using the preloader script below and I would like to make my loading bar auto stretch to stage width. Can anyone kindly give me the directions what I ought to change or addon? Thanks! // PRE…

---

## [How to display color names after drag and drop?](https://forum.kirupa.com/t/how-to-display-color-names-after-drag-and-drop/279862)

<div class="topic-metadata">

**Author:** [@hotdog](https://forum.kirupa.com/u/hotdog)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 2:28am UTC](https://forum.kirupa.com/t/how-to-display-color-names-after-drag-and-drop/279862 "2009-01-20T02:28:23Z")

</div>

In my webpage I've created a colour palette with a drag and drop action. It works fine! But my problem is when a colour is draged in to a certain area, How can I make the name of the colour display in a text box? There…

---

## [Error #1009 - help please noob!](https://forum.kirupa.com/t/error-1009-help-please-noob/279861)

<div class="topic-metadata">

**Author:** [@jessiej](https://forum.kirupa.com/u/jessiej)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 1:44am UTC](https://forum.kirupa.com/t/error-1009-help-please-noob/279861 "2009-01-20T01:44:13Z")

</div>

Hi, I'm getting an Error #1009 and I'm not sure how to fix it: // Importing classes from fl package must be done explicitly stop(); import fl.transitions.Tween; import fl.transitions.easing.\*; import flash.filters.Blu…

---

## [Animation doesnt happend after I click](https://forum.kirupa.com/t/animation-doesnt-happend-after-i-click/279858)

<div class="topic-metadata">

**Author:** [@sepu](https://forum.kirupa.com/u/sepu)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 1:23am UTC](https://forum.kirupa.com/t/animation-doesnt-happend-after-i-click/279858 "2009-01-20T01:23:12Z")

</div>

Hey guys, I have not got into much deep in AS3 and I can not figure out this thing. When I rollover or rollout the animation filter does happen without any problem but as soon as I click the MC "logoBtn\_mc" doesn't a…

---

## [Particals + ENTER\_FRAME](https://forum.kirupa.com/t/particals-enter-frame/279857)

<div class="topic-metadata">

**Author:** [@trickeyd](https://forum.kirupa.com/u/trickeyd)\
**Replies:** 0\
**Last updated:** [January 20, 2009, 1:16am UTC](https://forum.kirupa.com/t/particals-enter-frame/279857 "2009-01-20T01:16:47Z")

</div>

Hi everyone. I looked through the posts and don't think this has been covered yet. I'm creating a smoke trail effect that moves from the left of the screen to the right using particles. In order to know where to go…

---

## [Help with my project!](https://forum.kirupa.com/t/help-with-my-project/279852)

<div class="topic-metadata">

**Author:** [@crucifix](https://forum.kirupa.com/u/crucifix)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 11:54pm UTC](https://forum.kirupa.com/t/help-with-my-project/279852 "2009-01-19T23:54:55Z")

</div>

I have been working on a little gun test and i have got most of it working and i started to add the use of multiple guns in it. i drew up my shotty and stashed him in the library. And i made a mousewheel function and i …

---

## [Browser compatibility issues](https://forum.kirupa.com/t/browser-compatibility-issues/279848)

<div class="topic-metadata">

**Author:** [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 10:43pm UTC](https://forum.kirupa.com/t/browser-compatibility-issues/279848 "2009-01-19T22:43:54Z")

</div>

Hello, The web standards have obviously changed because IE7 does not like the \<embed\> tag anymore. I embedded quick time audio (in javascript) into my site and it works great on firefox. However when i try on IE7 & Ope…

---

## [Tweening bitmap sections gone?](https://forum.kirupa.com/t/tweening-bitmap-sections-gone/279844)

<div class="topic-metadata">

**Author:** [@daneyuleb](https://forum.kirupa.com/u/daneyuleb)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 10:26pm UTC](https://forum.kirupa.com/t/tweening-bitmap-sections-gone/279844 "2009-01-19T22:26:48Z")

</div>

I believe in CS3 it was possible to place a bitmap at a keyframe, then create a later keyframe, and break that bitmap up and move the sections. Then, create a motion tween to animate the peices flying apart (or back tog…

---

## [Getting Dynamic Image for Coloring Book](https://forum.kirupa.com/t/getting-dynamic-image-for-coloring-book/279840)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 9:54pm UTC](https://forum.kirupa.com/t/getting-dynamic-image-for-coloring-book/279840 "2009-01-19T21:54:59Z")

</div>

Hello! My new post ... I love Kirupa -- very neat! The tutorial on coloring book: http://www.kirupa.com/developer/mx2004/coloringbook3.htm was very helpful. I have many images that I need to make available for coloring…

---

## [Large Background Images?](https://forum.kirupa.com/t/large-background-images/279839)

<div class="topic-metadata">

**Author:** [@mrhines1](https://forum.kirupa.com/u/mrhines1)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 9:39pm UTC](https://forum.kirupa.com/t/large-background-images/279839 "2009-01-19T21:39:50Z")

</div>

Is there a certain way to include a large background image on a web page? Here is an example: http://365daysofastronomy.org/ This site has a large photo for a background but it is a non-repeating image. I guess my q…

---

## [Loading/Unloading Levels](https://forum.kirupa.com/t/loading-unloading-levels/279838)

<div class="topic-metadata">

**Author:** [@andrthad](https://forum.kirupa.com/u/andrthad)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 9:19pm UTC](https://forum.kirupa.com/t/loading-unloading-levels/279838 "2009-01-19T21:19:48Z")

</div>

Hi All, I am currently programming a dynamic menu where I start out with an empty movie clip on the stage. I then attach movie clips dynamically from the library and define the leves (level, 100, 200, etc). This all …

---

## [Analyze image before upload](https://forum.kirupa.com/t/analyze-image-before-upload/279836)

<div class="topic-metadata">

**Author:** [@forza\_stiinta](https://forum.kirupa.com/u/forza_stiinta)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 8:59pm UTC](https://forum.kirupa.com/t/analyze-image-before-upload/279836 "2009-01-19T20:59:03Z")

</div>

Hello! How can I analyse an image before upload? I mean, I want to determine the size of the file and the image resolution before it is actually sent to the server, using Javascript, or something client-side?

---

## [3dwall](https://forum.kirupa.com/t/3dwall/279833)

<div class="topic-metadata">

**Author:** [@oodya](https://forum.kirupa.com/u/oodya)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 8:47pm UTC](https://forum.kirupa.com/t/3dwall/279833 "2009-01-19T20:47:33Z")

</div>

Hi, I have the 3dwall feature - but i don't know how to add a title/description to the image. I have followed the instructions, but because I am new to it - I don't understand what it is asking me to do. Can anyone hel…

---

## [Problems import XML](https://forum.kirupa.com/t/problems-import-xml/279831)

<div class="topic-metadata">

**Author:** [@kokx](https://forum.kirupa.com/u/kokx)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 8:30pm UTC](https://forum.kirupa.com/t/problems-import-xml/279831 "2009-01-19T20:30:27Z")

</div>

Hello, From a XML file I want show the picture & description in the root. The movie with buttons is in a movieclip. The picture works, but the text didn't show. I hope somebody can help me with this! Thanks! Kokx va…

---

## [Goto and Play won't take me where needed](https://forum.kirupa.com/t/goto-and-play-wont-take-me-where-needed/279830)

<div class="topic-metadata">

**Author:** [@veninz](https://forum.kirupa.com/u/veninz)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 8:03pm UTC](https://forum.kirupa.com/t/goto-and-play-wont-take-me-where-needed/279830 "2009-01-19T20:03:45Z")

</div>

hi, i have a flash animation which consits of images going up and down and text (done in cs4). it is for a website and i want the animation to continue playing where it left if the link on the page is changed (the animat…

---

## [Writing from flash to local text file](https://forum.kirupa.com/t/writing-from-flash-to-local-text-file/279829)

<div class="topic-metadata">

**Author:** [@tglenn](https://forum.kirupa.com/u/tglenn)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 7:56pm UTC](https://forum.kirupa.com/t/writing-from-flash-to-local-text-file/279829 "2009-01-19T19:56:33Z")

</div>

Thanks in advance! I have a simple form in Flash. I need to write the data from the input text fields to a local text file. I need the text file to append after each submission of the form to include all entries. Sound…

---

## [JavaScript Tile-Based Game](https://forum.kirupa.com/t/javascript-tile-based-game/279828)

<div class="topic-metadata">

**Author:** [@weka](https://forum.kirupa.com/u/weka)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 7:50pm UTC](https://forum.kirupa.com/t/javascript-tile-based-game/279828 "2009-01-19T19:50:16Z")

</div>

I have a good knowledge in: PHP, MySQL, HTML, JavaScript, and CSS. I want to know if you know any good JavaScript Tile Based Game engines. You know.. with click to walk (or keyboard), inventory, grab items, talk to peo…

---

## [Changing background color?](https://forum.kirupa.com/t/changing-background-color/279825)

<div class="topic-metadata">

**Author:** [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 7:24pm UTC](https://forum.kirupa.com/t/changing-background-color/279825 "2009-01-19T19:24:43Z")

</div>

I would like to have ability to change background color of my web page. I would have few buttons for few different colors. Anybody got some code which does that with actionscript 3? First of all, can I change backgrou…

---

## [Customizing the slider component](https://forum.kirupa.com/t/customizing-the-slider-component/279824)

<div class="topic-metadata">

**Author:** [@rleuchovius](https://forum.kirupa.com/u/rleuchovius)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 7:07pm UTC](https://forum.kirupa.com/t/customizing-the-slider-component/279824 "2009-01-19T19:07:17Z")

</div>

I'm using Flash CS3 and the built in Slider component. I want to customize the slider in the following ways: Make the hit area of the slider bar larger. The original hit area makes the slider bar hard to hit with the …

---

## [Simple PrintJob question](https://forum.kirupa.com/t/simple-printjob-question/279823)

<div class="topic-metadata">

**Author:** [@mrbelv](https://forum.kirupa.com/u/mrbelv)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 6:49pm UTC](https://forum.kirupa.com/t/simple-printjob-question/279823 "2009-01-19T18:49:09Z")

</div>

I'm having some trouble getting a Sprite to print. I've made a test file just to see if I can get a basic print job to work: printBtn.buttonMode = true; printBtn.addEventListener(MouseEvent.MOUSE\_UP, printReport); var…

---

## [Update video play-speed dynamically](https://forum.kirupa.com/t/update-video-play-speed-dynamically/279819)

<div class="topic-metadata">

**Author:** [@sberry2a](https://forum.kirupa.com/u/sberry2a)\
**Replies:** 0\
**Last updated:** [January 19, 2009, 5:42pm UTC](https://forum.kirupa.com/t/update-video-play-speed-dynamically/279819 "2009-01-19T17:42:40Z")

</div>

I want to change the framerate of one movieclip in a game I am making. I know about the stage.frameRate, but that is something that affects the entire application. I was thinking about trying to use a timer to do so. …

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

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