# programming

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

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

**Page:** 1239

---

## [Can't import XML data](https://forum.kirupa.com/t/cant-import-xml-data/260376)

<div class="topic-metadata">

**Author:** [@blackpool](https://forum.kirupa.com/u/blackpool)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 11:04pm UTC](https://forum.kirupa.com/t/cant-import-xml-data/260376 "2008-05-14T23:04:02Z")

</div>

I'm doing the tutorial here : http://www.kirupa.com/developer/flashcs3/using\_xml\_as3\_pg2.htm And when I type in the code to load in the XML, I get the following error: 1046: Type was not found or was not a compile-t…

---

## [Flex component preloader](https://forum.kirupa.com/t/flex-component-preloader/260313)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 10:29pm UTC](https://forum.kirupa.com/t/flex-component-preloader/260313 "2008-05-14T22:29:20Z")

</div>

\[LEFT\]Hi all, I was wondering if anyone knew if it was possible to have a preloader on a Flex component? I have a custom preloader on my app but think my app loads too quick to run it?! However certain components, m…

---

## [removeItemAt datagrid doesn t work nicely](https://forum.kirupa.com/t/removeitemat-datagrid-doesn-t-work-nicely/260324)

<div class="topic-metadata">

**Author:** [@greenshot](https://forum.kirupa.com/u/greenshot)\
**Replies:** 4\
**Last updated:** [May 14, 2008, 10:24pm UTC](https://forum.kirupa.com/t/removeitemat-datagrid-doesn-t-work-nicely/260324 "2008-05-14T22:24:22Z")

</div>

hello everyone, I post onthe good forum, sorry for the previous one at Flash CS3 ..... i ve a problem about my script that should show me entries of an xml file : \<?xml version="1.0" encoding="utf-8" ?\> \<videos\> …

---

## [Flex - Complexity of ItemRenderers in Lists](https://forum.kirupa.com/t/flex-complexity-of-itemrenderers-in-lists/260372)

<div class="topic-metadata">

**Author:** [@dewey](https://forum.kirupa.com/u/dewey)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 9:53pm UTC](https://forum.kirupa.com/t/flex-complexity-of-itemrenderers-in-lists/260372 "2008-05-14T21:53:22Z")

</div>

Hey gang, I'm a beginner/intermediate flex guy but I've run into a problem with Lists, specifically building custom ItemRenderers. I'm building fairly simple item renderers, in fact, here's the code for one of them..…

---

## [TweenMax Arrays](https://forum.kirupa.com/t/tweenmax-arrays/259833)

<div class="topic-metadata">

**Author:** [@zanemx](https://forum.kirupa.com/u/zanemx)\
**Replies:** 2\
**Last updated:** [May 14, 2008, 9:40pm UTC](https://forum.kirupa.com/t/tweenmax-arrays/259833 "2008-05-14T21:40:29Z")

</div>

\[LEFT\]Problem as follows... I'm creating a flash game that throws rotten fruit at a band. When the game starts you select what type of fruit you want. There are 10 different fruits. I created a empty movie clip called …

---

## [Loading External Images = Anger + Pain!](https://forum.kirupa.com/t/loading-external-images-anger-pain/260281)

<div class="topic-metadata">

**Author:** [@pete125](https://forum.kirupa.com/u/pete125)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 9:21pm UTC](https://forum.kirupa.com/t/loading-external-images-anger-pain/260281 "2008-05-14T21:21:42Z")

</div>

Hi, I'm trying to load external swfs dynamically into empty movie clips from a list in a xml file. Problem is that I want only one to appear at a time, while the others are paused. I also want to randomise which gets sh…

---

## [Sprite x ObjectDisplay](https://forum.kirupa.com/t/sprite-x-objectdisplay/260288)

<div class="topic-metadata">

**Author:** [@pedro\_paulo](https://forum.kirupa.com/u/pedro_paulo)\
**Replies:** 2\
**Last updated:** [May 14, 2008, 8:55pm UTC](https://forum.kirupa.com/t/sprite-x-objectdisplay/260288 "2008-05-14T20:55:25Z")

</div>

Hi, guys. I need some help on this subject: var arr:Array = new Array(); // quad 1: var quad1:Sprite = new Sprite(); quad1.name = "green\_mc"; quad1.graphics.beginFill(0x00ff00); quad1.graphics.drawR…

---

## [A problem with "Menu with slider" tutorial](https://forum.kirupa.com/t/a-problem-with-menu-with-slider-tutorial/254963)

<div class="topic-metadata">

**Author:** [@malus](https://forum.kirupa.com/u/malus)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 8:45pm UTC](https://forum.kirupa.com/t/a-problem-with-menu-with-slider-tutorial/254963 "2008-05-14T20:45:43Z")

</div>

So i wanted to do a Menu with slider function. I followed the tutorial exacly, but i ran into a problem. My slider dont center on the middle of my buttons, but like 20% on the left end of em like this picture shows: \[…

---

## [Insert Flash with Javascript](https://forum.kirupa.com/t/insert-flash-with-javascript/260368)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 8:24pm UTC](https://forum.kirupa.com/t/insert-flash-with-javascript/260368 "2008-05-14T20:24:43Z")

</div>

Is it possible to embed a swf with a javascript function? Call the function from flash: on(rollOver) { getURL("javascript:insertFlash()"); } Then have a javascript function to insert the following embed code into …

---

## [Add div to webpage from Flash](https://forum.kirupa.com/t/add-div-to-webpage-from-flash/260366)

<div class="topic-metadata">

**Author:** [@Rocketrud](https://forum.kirupa.com/u/Rocketrud)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 8:16pm UTC](https://forum.kirupa.com/t/add-div-to-webpage-from-flash/260366 "2008-05-14T20:16:36Z")

</div>

I'm making an expandable ad and it is working perfectly except for one flaw. The expanded part of the ad is currently hard coded into the index files div. Like below.... \<div style="width: 518px; height: 0px;visibili…

---

## [Mouse Control issue](https://forum.kirupa.com/t/mouse-control-issue/260127)

<div class="topic-metadata">

**Author:** [@misterooga](https://forum.kirupa.com/u/misterooga)\
**Replies:** 2\
**Last updated:** [May 14, 2008, 7:56pm UTC](https://forum.kirupa.com/t/mouse-control-issue/260127 "2008-05-14T19:56:19Z")

</div>

First of all, thanks everyone for help. My group somehow finished creating half-\*\*\*\*\*'d game past weekend for TOJAM event... boy that was hard. We used copypixel, some spritemap to animate and 0 movie clips. Pure AS3…

---

## [Split array into random groups](https://forum.kirupa.com/t/split-array-into-random-groups/260338)

<div class="topic-metadata">

**Author:** [@dcmcgeary](https://forum.kirupa.com/u/dcmcgeary)\
**Replies:** 5\
**Last updated:** [May 14, 2008, 7:54pm UTC](https://forum.kirupa.com/t/split-array-into-random-groups/260338 "2008-05-14T19:54:44Z")

</div>

Howdy, I have an array of names and I want to be able to generate a random number and then split this array into groups with relatively equal numbers of names per group (stored in new arrays/strings). Right now I am d…

---

## [Weird math.random() problem](https://forum.kirupa.com/t/weird-math-random-problem/260321)

<div class="topic-metadata">

**Author:** [@hapimp](https://forum.kirupa.com/u/hapimp)\
**Replies:** 4\
**Last updated:** [May 14, 2008, 7:44pm UTC](https://forum.kirupa.com/t/weird-math-random-problem/260321 "2008-05-14T19:44:17Z")

</div>

Hi all. I'm working on a little project in which some movieclips are to move random between certain X and Y values. Basically Ive just tried to make this into AS3 code. This is what it looks like: this.addEventLi…

---

## [Tween action script trouble](https://forum.kirupa.com/t/tween-action-script-trouble/260354)

<div class="topic-metadata">

**Author:** [@stupidsaint](https://forum.kirupa.com/u/stupidsaint)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 6:49pm UTC](https://forum.kirupa.com/t/tween-action-script-trouble/260354 "2008-05-14T18:49:18Z")

</div>

:crying: i need to make a tween in flash that repeats its self when it finishes. it needs to be 1 frame and be in action script 2.0 i have managed to make the tween but it wont play again. Could any one give me and han…

---

## [Slide Presentation Mode using sound file](https://forum.kirupa.com/t/slide-presentation-mode-using-sound-file/260361)

<div class="topic-metadata">

**Author:** [@koobifora](https://forum.kirupa.com/u/koobifora)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 6:34pm UTC](https://forum.kirupa.com/t/slide-presentation-mode-using-sound-file/260361 "2008-05-14T18:34:22Z")

</div>

Hello, I am working in Flash Slide Presentation mode. I have a started a sound file playing on the "master" slide and I want it to play throughout my entire presentation. However, on a couple of slides, I want to play …

---

## [Flash Slide Presentation...can I control volume?](https://forum.kirupa.com/t/flash-slide-presentation-can-i-control-volume/260360)

<div class="topic-metadata">

**Author:** [@koobifora](https://forum.kirupa.com/u/koobifora)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 6:32pm UTC](https://forum.kirupa.com/t/flash-slide-presentation-can-i-control-volume/260360 "2008-05-14T18:32:27Z")

</div>

Hello, I am working in Flash Slide Presentation mode. I have a started a sound file playing on the "master" slide and I want it to play throughout my entire presentation. However, on a couple of slides, I want to play …

---

## [Controlling volume in Flash Slide Presentation](https://forum.kirupa.com/t/controlling-volume-in-flash-slide-presentation/260359)

<div class="topic-metadata">

**Author:** [@koobifora](https://forum.kirupa.com/u/koobifora)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 6:31pm UTC](https://forum.kirupa.com/t/controlling-volume-in-flash-slide-presentation/260359 "2008-05-14T18:31:10Z")

</div>

Hello, I am working in Flash Slide Presentation mode. I have a started a sound file playing on the "master" slide and I want it to play throughout my entire presentation. However, on a couple of slides, I want to play …

---

## [Where Are My Variables?](https://forum.kirupa.com/t/where-are-my-variables/260348)

<div class="topic-metadata">

**Author:** [@ThaJock](https://forum.kirupa.com/u/ThaJock)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 6:02pm UTC](https://forum.kirupa.com/t/where-are-my-variables/260348 "2008-05-14T18:02:10Z")

</div>

Flash 9 Is there any way (besides clicking on all the input text fields and checking) to find all variables in the timeline? I cant seem to get all of my variables loaded into php. I'm 100% sure my php script is cor…

---

## [Senocular's news editor....error loading XML? sometimes?](https://forum.kirupa.com/t/senoculars-news-editor-error-loading-xml-sometimes/260352)

<div class="topic-metadata">

**Author:** [@spectreman](https://forum.kirupa.com/u/spectreman)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 5:38pm UTC](https://forum.kirupa.com/t/senoculars-news-editor-error-loading-xml-sometimes/260352 "2008-05-14T17:38:55Z")

</div>

hey everyone, so, i've been using senocular's news editor which is great....but on certain computers/browsers it will display "error loading XML" even though on other systems it will display the info correctly. has a…

---

## [IE rendering of block element \<a\>](https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349)

<div class="topic-metadata">

**Author:** [@knives\_out](https://forum.kirupa.com/u/knives_out)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 5:31pm UTC](https://forum.kirupa.com/t/ie-rendering-of-block-element-a/260349 "2008-05-14T17:31:44Z")

</div>

I hope someone can answer my quick question ... IE isn't rendering my \<a\> tag like a normal block element when I set the css for it as display: block. Is there any reason why is wouldn't stretch to the full width of …

---

## [Src file corrupt in tutorial 'The Best Structure for your Flash Site' ? - help pls](https://forum.kirupa.com/t/src-file-corrupt-in-tutorial-the-best-structure-for-your-flash-site-help-pls/260340)

<div class="topic-metadata">

**Author:** [@Mamta](https://forum.kirupa.com/u/Mamta)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 4:35pm UTC](https://forum.kirupa.com/t/src-file-corrupt-in-tutorial-the-best-structure-for-your-flash-site-help-pls/260340 "2008-05-14T16:35:15Z")

</div>

Hi all, I am unable to use the source for Flash MX from the tutorial 'The Best Structure for your Flash Site'. http://www.kirupa.com/developer/flas...flash\_site.htm I get the msg 'unexpected file format' when i open th…

---

## [Looking for iCards scripts](https://forum.kirupa.com/t/looking-for-icards-scripts/260258)

<div class="topic-metadata">

**Author:** [@aldomania](https://forum.kirupa.com/u/aldomania)\
**Replies:** 2\
**Last updated:** [May 14, 2008, 3:49pm UTC](https://forum.kirupa.com/t/looking-for-icards-scripts/260258 "2008-05-14T15:49:15Z")

</div>

I’m looking for something that has this ecard function like this: http://www.mac.com/WebObjects/iCards/ http://photoblog.sophiepasquet.com/ecards.php http://www.bernhard-lebeda.de/popcard/popcard.php http://www.utfoto…

---

## [AS3 Browser Back Button](https://forum.kirupa.com/t/as3-browser-back-button/260149)

<div class="topic-metadata">

**Author:** [@split67](https://forum.kirupa.com/u/split67)\
**Replies:** 3\
**Last updated:** [May 14, 2008, 3:49pm UTC](https://forum.kirupa.com/t/as3-browser-back-button/260149 "2008-05-14T15:49:03Z")

</div>

I've done some searches on Google and have found some useful information, but nothing to restrictive to AS3. Does anyone have any good references for enabling the back button in AS3? Thanks!

---

## [Flash Drop Menu Blues](https://forum.kirupa.com/t/flash-drop-menu-blues/260220)

<div class="topic-metadata">

**Author:** [@atlnycdude24](https://forum.kirupa.com/u/atlnycdude24)\
**Replies:** 5\
**Last updated:** [May 14, 2008, 3:34pm UTC](https://forum.kirupa.com/t/flash-drop-menu-blues/260220 "2008-05-14T15:34:02Z")

</div>

Hey room, I'm building a drop down menu in flash cs3 and got a problemo. I'm not done yet but whenever I test the movie the submenu goes left to right instead when I want to hover my mouse on a button. Also I'm getting…

---

## [Can search engines crawl XML loaded into Flash?](https://forum.kirupa.com/t/can-search-engines-crawl-xml-loaded-into-flash/260334)

<div class="topic-metadata">

**Author:** [@nlyttle](https://forum.kirupa.com/u/nlyttle)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 2:56pm UTC](https://forum.kirupa.com/t/can-search-engines-crawl-xml-loaded-into-flash/260334 "2008-05-14T14:56:13Z")

</div>

I've gotten some mixed reviews when "googling" this.. does anyone have a definitive answer, and/or tips on this? Thanks!

---

## [FLVPlayback Loop](https://forum.kirupa.com/t/flvplayback-loop/190719)

<div class="topic-metadata">

**Author:** [@SquishyB](https://forum.kirupa.com/u/SquishyB)\
**Replies:** 2\
**Last updated:** [May 14, 2008, 2:49pm UTC](https://forum.kirupa.com/t/flvplayback-loop/190719 "2008-05-14T14:49:02Z")

</div>

Hi guys, We have a major project on here at the moment to do with flash menu designs and videos etc. Basicly we have a menu where u click a button and it jumps to a frame. On that frame is the information etc, and a vid…

---

## [Problems getting Component fonts become antialiased](https://forum.kirupa.com/t/problems-getting-component-fonts-become-antialiased/260332)

<div class="topic-metadata">

**Author:** [@deVoter](https://forum.kirupa.com/u/deVoter)\
**Replies:** 0\
**Last updated:** [May 14, 2008, 2:38pm UTC](https://forum.kirupa.com/t/problems-getting-component-fonts-become-antialiased/260332 "2008-05-14T14:38:01Z")

</div>

When I move around a component with a normal non-antialiassed font ---\> the text dissappears. So I had to make the component fonts antialiased. Now I have a flash form where half of the components are antialiassed and ha…

---

## [Limit to length of LineTo?](https://forum.kirupa.com/t/limit-to-length-of-lineto/260233)

<div class="topic-metadata">

**Author:** [@bhob](https://forum.kirupa.com/u/bhob)\
**Replies:** 2\
**Last updated:** [May 14, 2008, 2:32pm UTC](https://forum.kirupa.com/t/limit-to-length-of-lineto/260233 "2008-05-14T14:32:29Z")

</div>

The following is on an enterframe event: Code: function drawLine(event:Event):void { rootNode.x -= 5; myLine.graphics.lineTo(lnX +=5,lnY-=adjY); } ..where myLine is contained in rootNode... the line is drawn to the r…

---

## [\[AS2.0\]- broadcasters and listeners help](https://forum.kirupa.com/t/as2-0-broadcasters-and-listeners-help/260223)

<div class="topic-metadata">

**Author:** [@yamahammer](https://forum.kirupa.com/u/yamahammer)\
**Replies:** 7\
**Last updated:** [May 14, 2008, 2:07pm UTC](https://forum.kirupa.com/t/as2-0-broadcasters-and-listeners-help/260223 "2008-05-14T14:07:11Z")

</div>

Hello Kirupa groupies! Im trying to teach myself AS for fun. Ive been lurking here for quite some time going through lots of the great tutorials. I decided to venture out on my own and work on a real life tutorial. Im tr…

---

## [Identify Internet Bandwidth](https://forum.kirupa.com/t/identify-internet-bandwidth/260308)

<div class="topic-metadata">

**Author:** [@coolpills](https://forum.kirupa.com/u/coolpills)\
**Replies:** 1\
**Last updated:** [May 14, 2008, 12:15pm UTC](https://forum.kirupa.com/t/identify-internet-bandwidth/260308 "2008-05-14T12:15:29Z")

</div>

Hi All, I am developing a Flash application which should initially (before launching the main application) identify the internet bandwidth available on users system and display low or high bandwidth content accordingly…

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

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