# programming

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

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

**Page:** 640

---

## [Please help with XML code](https://forum.kirupa.com/t/please-help-with-xml-code/299810)

<div class="topic-metadata">

**Author:** [@Kriwix](https://forum.kirupa.com/u/Kriwix)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 10:26am UTC](https://forum.kirupa.com/t/please-help-with-xml-code/299810 "2009-11-11T10:26:12Z")

</div>

I use Xml for info in flash site. Xml contains the following info: &lt;title&gt;&lt;!\[CDATA\[Friends\]\]&gt;&lt;/title&gt; &lt;name&gt;&lt;!\[CDATA\[Friends\]\]&gt;&lt;/name&gt; &lt;picture&gt;../images/logo.png&lt;/pictur…

---

## [Pass variables from .as to main project](https://forum.kirupa.com/t/pass-variables-from-as-to-main-project/299808)

<div class="topic-metadata">

**Author:** [@Nimaro](https://forum.kirupa.com/u/Nimaro)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 10:08am UTC](https://forum.kirupa.com/t/pass-variables-from-as-to-main-project/299808 "2009-11-11T10:08:02Z")

</div>

Hy guys, Im trying to pass a number to 1 function in my .as... In 1 part of my project i want to sent a number to .as function, and in another part i want to receive another value... like this.... The sintax is …

---

## [Image distortion grid solution needed](https://forum.kirupa.com/t/image-distortion-grid-solution-needed/299805)

<div class="topic-metadata">

**Author:** [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 9:36am UTC](https://forum.kirupa.com/t/image-distortion-grid-solution-needed/299805 "2009-11-11T09:36:33Z")

</div>

Hi all, This is an old (but very cool) site http://wonder-wall.com. I am looking for a solution to achieve a similar effect to the image grid distortion effect on the homepage. I'm pretty sure that it's too old to be u…

---

## [Enjoy DVD and video on popular Google Android phone: Sony X3, Moto Droid, Samsung i75](https://forum.kirupa.com/t/enjoy-dvd-and-video-on-popular-google-android-phone-sony-x3-moto-droid-samsung-i75/299803)

<div class="topic-metadata">

**Author:** [@bjhoho](https://forum.kirupa.com/u/bjhoho)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 8:37am UTC](https://forum.kirupa.com/t/enjoy-dvd-and-video-on-popular-google-android-phone-sony-x3-moto-droid-samsung-i75/299803 "2009-11-11T08:37:00Z")

</div>

Android system has been taken into our memory early, many friends favor Smartphone input more energy to concern and discuss. The operating system of mobile Google was just come in, many firms are involved in its ranks. A…

---

## [DataGrid and ArrayCollection binding](https://forum.kirupa.com/t/datagrid-and-arraycollection-binding/299802)

<div class="topic-metadata">

**Author:** [@beczesz](https://forum.kirupa.com/u/beczesz)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 8:32am UTC](https://forum.kirupa.com/t/datagrid-and-arraycollection-binding/299802 "2009-11-11T08:32:30Z")

</div>

Hi! I have a DataGrid which dataProvider is an ArrayCollection. I want to bind the collection and the grid. It works fine for adding an removing elements from the collection, but when I modify a porperty within an obje…

---

## [AS2 \> AS3 translations?](https://forum.kirupa.com/t/as2-as3-translations/299801)

<div class="topic-metadata">

**Author:** [@Kappa](https://forum.kirupa.com/u/Kappa)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 8:18am UTC](https://forum.kirupa.com/t/as2-as3-translations/299801 "2009-11-11T08:18:04Z")

</div>

is there a site out there that has a translation from all the common AS2 commands? I'm just learning AS3 now and i have no idea how to do the basic things such as \_root.mc.loadMovie("asd.swf"); anymore

---

## [Duplicating movie clip based on xml data](https://forum.kirupa.com/t/duplicating-movie-clip-based-on-xml-data/299797)

<div class="topic-metadata">

**Author:** [@n000bie](https://forum.kirupa.com/u/n000bie)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 5:58am UTC](https://forum.kirupa.com/t/duplicating-movie-clip-based-on-xml-data/299797 "2009-11-11T05:58:09Z")

</div>

hi all, I got a flash file which reads xml data and based on total data I need to duplicate movie clips and show them horizontally. Till now i have read the data and displayed it but dont have idea how to display them…

---

## [TweenMax onComplete gotoAndStop](https://forum.kirupa.com/t/tweenmax-oncomplete-gotoandstop/299796)

<div class="topic-metadata">

**Author:** [@planet51](https://forum.kirupa.com/u/planet51)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 5:17am UTC](https://forum.kirupa.com/t/tweenmax-oncomplete-gotoandstop/299796 "2009-11-11T05:17:24Z")

</div>

Hello all I'm trying to get onComplete (frame 5 in this case) to skip to a given frame after a series of animations. Here is what i have written so far. Shouldn't this work? stop(); import gs.TweenMax; import gs.plu…

---

## [Bitmap Has Higher Index Than Sprite?](https://forum.kirupa.com/t/bitmap-has-higher-index-than-sprite/299792)

<div class="topic-metadata">

**Author:** [@jebego](https://forum.kirupa.com/u/jebego)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 3:04am UTC](https://forum.kirupa.com/t/bitmap-has-higher-index-than-sprite/299792 "2009-11-11T03:04:11Z")

</div>

I've just switched over to AS3, and I'm completely stumped with something. I'm working on a project where I keep adding children to a MC already on the screen. There are two types of these children: Sprites that I use …

---

## [How to check if this mc has the right instance or class name?](https://forum.kirupa.com/t/how-to-check-if-this-mc-has-the-right-instance-or-class-name/299790)

<div class="topic-metadata">

**Author:** [@qpixo](https://forum.kirupa.com/u/qpixo)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 1:53am UTC](https://forum.kirupa.com/t/how-to-check-if-this-mc-has-the-right-instance-or-class-name/299790 "2009-11-11T01:53:56Z")

</div>

Is there a way to verify if this movieClip has a the right instance name defined while click on each of them?? ex: I have created several mcs on stage of Flash. mc1, mc2, mc3... instance name and I want to verify if t…

---

## [Need help filtering nodes with XML (eeml)](https://forum.kirupa.com/t/need-help-filtering-nodes-with-xml-eeml/299788)

<div class="topic-metadata">

**Author:** [@tori](https://forum.kirupa.com/u/tori)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 12:35am UTC](https://forum.kirupa.com/t/need-help-filtering-nodes-with-xml-eeml/299788 "2009-11-11T00:35:16Z")

</div>

I'm trying to import just the data value (in this case 42.0) into Flash. I'm not a programmer, but have followed the excellent tutorial on this site, and still can't get it to work. I'm thinking maybe the eeml requires a…

---

## [Ugly black border on PNG in IE7/8](https://forum.kirupa.com/t/ugly-black-border-on-png-in-ie7-8/299787)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 11:49pm UTC](https://forum.kirupa.com/t/ugly-black-border-on-png-in-ie7-8/299787 "2009-11-10T23:49:36Z")

</div>

It seems like many of my transparent PNGs work in IE7 and 8, but there are a few that get an ugly black background where the transparencies occur. Here's a DVD with a slight drop shadow: \[image\] I've read that it ha…

---

## [Don't Scale Bitmap Fill on Shape](https://forum.kirupa.com/t/dont-scale-bitmap-fill-on-shape/299782)

<div class="topic-metadata">

**Author:** [@ShawnJC](https://forum.kirupa.com/u/ShawnJC)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 10:01pm UTC](https://forum.kirupa.com/t/dont-scale-bitmap-fill-on-shape/299782 "2009-11-10T22:01:15Z")

</div>

Hello. Is there a way I can keep a bitmap fill from scaling? I choose a shape, open the color dialog, and choose the bitmap I want to fill. I have also tried it with the paint bucket tool and the lock fill option whic…

---

## [AS3 News Ticker](https://forum.kirupa.com/t/as3-news-ticker/299779)

<div class="topic-metadata">

**Author:** [@CantinaDan](https://forum.kirupa.com/u/CantinaDan)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 9:45pm UTC](https://forum.kirupa.com/t/as3-news-ticker/299779 "2009-11-10T21:45:17Z")

</div>

Anyone know of a good news ticker component? (Or a straightforward way of coding one in AS3?) We need to incorporate a horizontal ticker at the bottom of a site. It doesn't need to feed RSS. It'll just be populated with …

---

## [playheadPercentage?](https://forum.kirupa.com/t/playheadpercentage/299778)

<div class="topic-metadata">

**Author:** [@Dr\_Abner\_Mellon](https://forum.kirupa.com/u/Dr_Abner_Mellon)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 9:11pm UTC](https://forum.kirupa.com/t/playheadpercentage/299778 "2009-11-10T21:11:16Z")

</div>

how would I fade more then one MC? i'm trying to fade shareBtn at a different time? Is it possible? function onTick(e:VideoEvent):void { //videoBG.alpha = e.target.playheadPercentage / 100; var fadeStartTime…

---

## [SWF won't play in web browser](https://forum.kirupa.com/t/swf-wont-play-in-web-browser/299777)

<div class="topic-metadata">

**Author:** [@dobe](https://forum.kirupa.com/u/dobe)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 9:09pm UTC](https://forum.kirupa.com/t/swf-wont-play-in-web-browser/299777 "2009-11-10T21:09:17Z")

</div>

Using Flash CS3 and ActionScript 3.0, I put together an interactive version of my company's print catalog. I'm new to programming and it took me a really long time to get the thing working, but, at long last (and thanks …

---

## [Event duration, what is more effective start datetime end datetime, or 1 hr long?](https://forum.kirupa.com/t/event-duration-what-is-more-effective-start-datetime-end-datetime-or-1-hr-long/299772)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 8:17pm UTC](https://forum.kirupa.com/t/event-duration-what-is-more-effective-start-datetime-end-datetime-or-1-hr-long/299772 "2009-11-10T20:17:35Z")

</div>

I'm about to add Event Duration to the Calendar class. There is two ways I believe I can approach this \[LIST=1\] \[\*\]Add MySQL column for EventEndTime. Example: StartTime 2009-11-20 08:00:00, EndTime 2009-11-20 09:30:00 \[…

---

## [Javascript Gallery](https://forum.kirupa.com/t/javascript-gallery/299770)

<div class="topic-metadata">

**Author:** [@ruiganga](https://forum.kirupa.com/u/ruiganga)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 7:47pm UTC](https://forum.kirupa.com/t/javascript-gallery/299770 "2009-11-10T19:47:38Z")

</div>

Hi I am searching for a javascript code that can fill a page with image thumbnails, like a grid. I don't want to put every picture by hand. I need it to use XML. Can anyone give me a hint, of something that already e…

---

## [CS4 Default File Save Location](https://forum.kirupa.com/t/cs4-default-file-save-location/299768)

<div class="topic-metadata">

**Author:** [@greetification](https://forum.kirupa.com/u/greetification)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 7:31pm UTC](https://forum.kirupa.com/t/cs4-default-file-save-location/299768 "2009-11-10T19:31:57Z")

</div>

Hi, I was wondering if anyone know how to change the default location that comes up when saving a new flash file. For some reason, when I go to save a .as file that i've created in flash it choose some deeply buried f…

---

## [CS4, Flash 7, SWF Linking](https://forum.kirupa.com/t/cs4-flash-7-swf-linking/299766)

<div class="topic-metadata">

**Author:** [@ASFTKara](https://forum.kirupa.com/u/ASFTKara)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 6:56pm UTC](https://forum.kirupa.com/t/cs4-flash-7-swf-linking/299766 "2009-11-10T18:56:02Z")

</div>

Hi all, I will try my hardest to explain this as best as I can... I'm a contractor for the Navy... we have Fault Logic Diagrams that have been set up to link to other FLD's when the button is clicked. I have the li…

---

## [Runtime Font Loading](https://forum.kirupa.com/t/runtime-font-loading/299761)

<div class="topic-metadata">

**Author:** [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 6:08pm UTC](https://forum.kirupa.com/t/runtime-font-loading/299761 "2009-11-10T18:08:51Z")

</div>

i am trying Lee Brimelow's tutorial about Runtime Font Loading from here: http://gotoandlearn.com/files/runtimefonts.zip there are 2 fla files (flash cs4 needed). in one is this code: \[Embed(systemFont="Impact", fon…

---

## [Looking for Photofunia examples](https://forum.kirupa.com/t/looking-for-photofunia-examples/299760)

<div class="topic-metadata">

**Author:** [@misterpatrick](https://forum.kirupa.com/u/misterpatrick)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 5:44pm UTC](https://forum.kirupa.com/t/looking-for-photofunia-examples/299760 "2009-11-10T17:44:37Z")

</div>

Hello, I have been asked to bid on a project that uses an effect similar to those used for still and motion files found here: http://photofunia.com Basically, it allows you to upload an image of a face and have it …

---

## [jQuery fadeIn effect inconsistent in FireFox and Safari?](https://forum.kirupa.com/t/jquery-fadein-effect-inconsistent-in-firefox-and-safari/299759)

<div class="topic-metadata">

**Author:** [@madfatter](https://forum.kirupa.com/u/madfatter)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 5:10pm UTC](https://forum.kirupa.com/t/jquery-fadein-effect-inconsistent-in-firefox-and-safari/299759 "2009-11-10T17:10:39Z")

</div>

Hi, I've looked everywhere for a forum specific to jQuery but couldn't find anything so I thought I'd try here. I'm new to javascript/jquery and I'm attempting to do what appears to be a very simple thing: when the p…

---

## [Trigonometry - Line Length](https://forum.kirupa.com/t/trigonometry-line-length/299757)

<div class="topic-metadata">

**Author:** [@nasher268](https://forum.kirupa.com/u/nasher268)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 5:02pm UTC](https://forum.kirupa.com/t/trigonometry-line-length/299757 "2009-11-10T17:02:53Z")

</div>

Flash 8 - AS2 I have 2 points moving around on the screen, p1 and p2, every step I want the distance between these points to be 100 . I know that the distance between the points is the square root of the distance x sq…

---

## [Full bleed, no margin](https://forum.kirupa.com/t/full-bleed-no-margin/299756)

<div class="topic-metadata">

**Author:** [@lemmond](https://forum.kirupa.com/u/lemmond)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 4:54pm UTC](https://forum.kirupa.com/t/full-bleed-no-margin/299756 "2009-11-10T16:54:20Z")

</div>

In CS3 - v2.0. How do I insert a background image that has a "full bleed" or in other words, no margin? I have attached an example. I don't want any white to show. You help would be greatly appreciated. - Lemmond

---

## [Animate Grid Cells](https://forum.kirupa.com/t/animate-grid-cells/299754)

<div class="topic-metadata">

**Author:** [@mattjp18](https://forum.kirupa.com/u/mattjp18)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 4:42pm UTC](https://forum.kirupa.com/t/animate-grid-cells/299754 "2009-11-10T16:42:10Z")

</div>

Hey everyone, I'm wondering if someone could explain or point me in the right direction to learn how to animate cells in a grid. An example being http://www.smetana.net/ when the cells fly in to form the grid at the begi…

---

## [Simplify code to display time table](https://forum.kirupa.com/t/simplify-code-to-display-time-table/299753)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 4:33pm UTC](https://forum.kirupa.com/t/simplify-code-to-display-time-table/299753 "2009-11-10T16:33:25Z")

</div>

Hey guys, still working on the event calendar class. There is this function that prints a week and time for each day from 6am-10pm. I just finished writing that part, but I'm going to keep on staring at the code to find …

---

## [Is a btn symbol more memory efficient than mc symbol?](https://forum.kirupa.com/t/is-a-btn-symbol-more-memory-efficient-than-mc-symbol/299752)

<div class="topic-metadata">

**Author:** [@Pietro\_2003](https://forum.kirupa.com/u/Pietro_2003)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 4:22pm UTC](https://forum.kirupa.com/t/is-a-btn-symbol-more-memory-efficient-than-mc-symbol/299752 "2009-11-10T16:22:17Z")

</div>

Hi, I have about 20 thumbnails images, with a roll-over effect on them, that automatically scroll across the screen. Each one when clicked brings up a pic of a portfolio piece. I have made them as MCs. But they judder…

---

## [textArea as2.0 style](https://forum.kirupa.com/t/textarea-as2-0-style/299749)

<div class="topic-metadata">

**Author:** [@revo999](https://forum.kirupa.com/u/revo999)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 3:02pm UTC](https://forum.kirupa.com/t/textarea-as2-0-style/299749 "2009-11-10T15:02:38Z")

</div>

hello every one is there any way to style the background of TEXTAREA component in 2 colors like each line will have different color of background like forums or similar TEXTAREA \>\> { LINE1 : BLACK COLOR BACKGROUND …

---

## [Play music only until certain frame](https://forum.kirupa.com/t/play-music-only-until-certain-frame/299747)

<div class="topic-metadata">

**Author:** [@Nimaro](https://forum.kirupa.com/u/Nimaro)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 2:43pm UTC](https://forum.kirupa.com/t/play-music-only-until-certain-frame/299747 "2009-11-10T14:43:14Z")

</div>

Hy everyone, Im using as3 to start playing 1 music in the intro of my website... but i want that music to stop when he reatch frame 600... how can i do this? hope u can help me!!

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

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