# programming

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

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

**Page:** 1103

---

## [Drawing in Class definition](https://forum.kirupa.com/t/drawing-in-class-definition/269237)

<div class="topic-metadata">

**Author:** [@playing\_life](https://forum.kirupa.com/u/playing_life)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 6:53am UTC](https://forum.kirupa.com/t/drawing-in-class-definition/269237 "2008-08-25T06:53:36Z")

</div>

Hi everybody, I am sorry if this is a stupid question but I have searched for the last 3 days and I did not find an answer to this. I want to create a class which extends a MovieClip class and I am trying to have in te…

---

## [Draw a moving line from (400,100) to (500, 150)](https://forum.kirupa.com/t/draw-a-moving-line-from-400-100-to-500-150/269236)

<div class="topic-metadata">

**Author:** [@florencec2046](https://forum.kirupa.com/u/florencec2046)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 6:31am UTC](https://forum.kirupa.com/t/draw-a-moving-line-from-400-100-to-500-150/269236 "2008-08-25T06:31:08Z")

</div>

Hi hi, I am newbie in AS3. This forum is great. With the replies of my previous post, I have learned how to draw vertical, horizontal or with 45 degrees moving line. But what if I want to draw a line from (400,100) t…

---

## [Loading external swf - buttons not working](https://forum.kirupa.com/t/loading-external-swf-buttons-not-working/269235)

<div class="topic-metadata">

**Author:** [@schutzy](https://forum.kirupa.com/u/schutzy)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 6:28am UTC](https://forum.kirupa.com/t/loading-external-swf-buttons-not-working/269235 "2008-08-25T06:28:02Z")

</div>

Hi, I am a newbie to AS3 and I am having a problem with the buttons not working on an external swf. Both the main swf and the external swf are written in AS3. I have a button that uses the Loader class to open the exte…

---

## [addEventListener to ClassFactory?](https://forum.kirupa.com/t/addeventlistener-to-classfactory/269234)

<div class="topic-metadata">

**Author:** [@Kenwio](https://forum.kirupa.com/u/Kenwio)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 6:07am UTC](https://forum.kirupa.com/t/addeventlistener-to-classfactory/269234 "2008-08-25T06:07:16Z")

</div>

I would like to add an eventlistener to var1 here directly, without having to create a new component/class.. var var1:ClassFactory = new ClassFactory( TextInput ); var1.properties = { width : 200, width : 300}; dataG…

---

## [How to display properly in IE6?!](https://forum.kirupa.com/t/how-to-display-properly-in-ie6/269233)

<div class="topic-metadata">

**Author:** [@sabresfan](https://forum.kirupa.com/u/sabresfan)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 6:02am UTC](https://forum.kirupa.com/t/how-to-display-properly-in-ie6/269233 "2008-08-25T06:02:28Z")

</div>

Hi, In explorer 6.0, the content on my page is being pushed to the right so it looks like there's no margin on the right side. In every other browser it looks fine. Any ideas on how to fix this? I looked into css hacks…

---

## [About PHP](https://forum.kirupa.com/t/about-php/269232)

<div class="topic-metadata">

**Author:** [@platter007](https://forum.kirupa.com/u/platter007)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 5:53am UTC](https://forum.kirupa.com/t/about-php/269232 "2008-08-25T05:53:39Z")

</div>

About PHP PHP is an acronym of hypertext preprocessor. It is a server side language through which we can make a dynamic web page by embedding PHP code into HTML. To run PHP pages you need to have following installation…

---

## [Translate relative coords to global](https://forum.kirupa.com/t/translate-relative-coords-to-global/269228)

<div class="topic-metadata">

**Author:** [@Blips](https://forum.kirupa.com/u/Blips)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 3:16am UTC](https://forum.kirupa.com/t/translate-relative-coords-to-global/269228 "2008-08-25T03:16:25Z")

</div>

I'm working in AS3, and I have a class that is not created at run time, but is dragged into a specific position onto the stage before publishing. This class then spawns some other MovieClips every few frames, and adds th…

---

## [JavaScript menu breaks when formatted](https://forum.kirupa.com/t/javascript-menu-breaks-when-formatted/269227)

<div class="topic-metadata">

**Author:** [@Pherank](https://forum.kirupa.com/u/Pherank)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 3:10am UTC](https://forum.kirupa.com/t/javascript-menu-breaks-when-formatted/269227 "2008-08-25T03:10:31Z")

</div>

I've inherited a menu from another developer, and I've noticed that when I try to apply source formatting to any page with the menu, the menu code breaks. Here's the original formatting (which looks fine to begin with): …

---

## [How to load first item in Array](https://forum.kirupa.com/t/how-to-load-first-item-in-array/269226)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 2:22am UTC](https://forum.kirupa.com/t/how-to-load-first-item-in-array/269226 "2008-08-25T02:22:50Z")

</div>

Hi, I'm trying to load the first swf in my Array automatically when the flash movie starts. Here's my code, does anyone know how to? var aImages:Array = new Array("01.swf", "02.swf", "03.swf", "04.swf"); var aButt…

---

## [Can you preload an embedded swf in to a html webpage as you would an image?](https://forum.kirupa.com/t/can-you-preload-an-embedded-swf-in-to-a-html-webpage-as-you-would-an-image/269222)

<div class="topic-metadata">

**Author:** [@hesamoleman](https://forum.kirupa.com/u/hesamoleman)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 12:48am UTC](https://forum.kirupa.com/t/can-you-preload-an-embedded-swf-in-to-a-html-webpage-as-you-would-an-image/269222 "2008-08-25T00:48:22Z")

</div>

I am creating a site for a client, www.idsvehicles.co.uk I want to preload the embedded swf's as you would images using javascript or css. I have so far been unsuccessful. I am trying to avoid having the great big whit…

---

## [Can anyone help me with my functions.php](https://forum.kirupa.com/t/can-anyone-help-me-with-my-functions-php/269219)

<div class="topic-metadata">

**Author:** [@waseem](https://forum.kirupa.com/u/waseem)\
**Replies:** 0\
**Last updated:** [August 25, 2008, 12:17am UTC](https://forum.kirupa.com/t/can-anyone-help-me-with-my-functions-php/269219 "2008-08-25T00:17:22Z")

</div>

Hey, I'm working on a child theme for a theme which uses a it's own functions.php which overrides it's parent theme. When I upload the functions.php file i get the white screen. Can anyone look at the code and help me f…

---

## [How to stop setTint from altering child objects?](https://forum.kirupa.com/t/how-to-stop-settint-from-altering-child-objects/269218)

<div class="topic-metadata">

**Author:** [@marmad](https://forum.kirupa.com/u/marmad)\
**Replies:** 0\
**Last updated:** [August 24, 2008, 11:08pm UTC](https://forum.kirupa.com/t/how-to-stop-settint-from-altering-child-objects/269218 "2008-08-24T23:08:09Z")

</div>

I haven't been able to figure out a way to change the tint of a display object without effecting all of it's child objects. And once you've changed the tint of the parent, you can't seem to be able to change the tint of …

---

## [If and Else If condition not working but no errors returned](https://forum.kirupa.com/t/if-and-else-if-condition-not-working-but-no-errors-returned/269213)

<div class="topic-metadata">

**Author:** [@hetlicht](https://forum.kirupa.com/u/hetlicht)\
**Replies:** 0\
**Last updated:** [August 24, 2008, 8:35pm UTC](https://forum.kirupa.com/t/if-and-else-if-condition-not-working-but-no-errors-returned/269213 "2008-08-24T20:35:42Z")

</div>

Hi All, I'm having a little trouble with this If and Else If condition and I'm not getting any errors. I have 6 MovieClips and I'm trying to check if the MovieClips not being pressed are on frame 1, if so do nothing. B…

---

## [Using KeyCodes/Event Listeners to naviaget prev/next label](https://forum.kirupa.com/t/using-keycodes-event-listeners-to-naviaget-prev-next-label/269212)

<div class="topic-metadata">

**Author:** [@webpoppy](https://forum.kirupa.com/u/webpoppy)\
**Replies:** 0\
**Last updated:** [August 24, 2008, 8:25pm UTC](https://forum.kirupa.com/t/using-keycodes-event-listeners-to-naviaget-prev-next-label/269212 "2008-08-24T20:25:43Z")

</div>

Hi there, hope someone can help me. The code I've posted below effectively navigates from frame label to frame label using a mouse click eventListener. What has me stumped is I need to alter the code so specific keyboard…

---

## [Help! How can I get this to work?](https://forum.kirupa.com/t/help-how-can-i-get-this-to-work/269203)

<div class="topic-metadata">

**Author:** [@aschen\_engel](https://forum.kirupa.com/u/aschen_engel)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 7:38pm UTC](https://forum.kirupa.com/t/help-how-can-i-get-this-to-work/269203 "2008-08-24T19:38:31Z")

</div>

I need to create a portfolio section, and have the images be able to scroll when clicked on arrow up/down buttons and also scroll when mouse is held down on buttons. Also I need the images to be used as rollovers and ap…

---

## [HTML No Borders](https://forum.kirupa.com/t/html-no-borders/269211)

<div class="topic-metadata">

**Author:** [@chriswilson](https://forum.kirupa.com/u/chriswilson)\
**Replies:** 0\
**Last updated:** [August 24, 2008, 7:17pm UTC](https://forum.kirupa.com/t/html-no-borders/269211 "2008-08-24T19:17:32Z")

</div>

Hey Everyone. I can't seem to get it so there aren't any borders around my swf. Visit www.christopherjameswilson.com and see what I mean. I published the flash with the "no borders" but it still has a white border aro…

---

## [Bug with php3 Header](https://forum.kirupa.com/t/bug-with-php3-header/268919)

<div class="topic-metadata">

**Author:** [@thierrydehove](https://forum.kirupa.com/u/thierrydehove)\
**Replies:** 5\
**Last updated:** [August 24, 2008, 6:35pm UTC](https://forum.kirupa.com/t/bug-with-php3-header/268919 "2008-08-24T18:35:39Z")

</div>

Good Morning, I have built a form inside Flash CS3 with a php3 site http://www.pablomarroquin.com/flash/main.html I got this name = name message = message your email = I don't get his email but this Pablo@qalth.pair.…

---

## [Error 1010 with NetStream & Video](https://forum.kirupa.com/t/error-1010-with-netstream-video/269208)

<div class="topic-metadata">

**Author:** [@nburlington](https://forum.kirupa.com/u/nburlington)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 6:07pm UTC](https://forum.kirupa.com/t/error-1010-with-netstream-video/269208 "2008-08-24T18:07:30Z")

</div>

The last line of my code is generating the following error: TypeError: Error #1010: A term is undefined and has no properties. I'm not sure what the problem is. \` var nc:NetConnection = new NetConnection(); nc.conn…

---

## [Textfield with css a:hover formatting problem](https://forum.kirupa.com/t/textfield-with-css-a-hover-formatting-problem/269192)

<div class="topic-metadata">

**Author:** [@peruna](https://forum.kirupa.com/u/peruna)\
**Replies:** 2\
**Last updated:** [August 24, 2008, 5:42pm UTC](https://forum.kirupa.com/t/textfield-with-css-a-hover-formatting-problem/269192 "2008-08-24T17:42:19Z")

</div>

Hi, I'm having a problem with textfield formatting with css. Everything is fine when the text shows up. However when the user rolls over a html link the texts moves slightly causing some words to be rendered over eac…

---

## [Trace entire array?](https://forum.kirupa.com/t/trace-entire-array/269207)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 2\
**Last updated:** [August 24, 2008, 5:12pm UTC](https://forum.kirupa.com/t/trace-entire-array/269207 "2008-08-24T17:12:40Z")

</div>

How do you trace an entire array... Eg, like php's print\_r. Is there a way to easily do it? I need to check all of the data in my arrays to see if it's correct. Also, whats the import for trace? I can't find it...

---

## [XML Filtering - Sorting](https://forum.kirupa.com/t/xml-filtering-sorting/268814)

<div class="topic-metadata">

**Author:** [@gllanci](https://forum.kirupa.com/u/gllanci)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 4:57pm UTC](https://forum.kirupa.com/t/xml-filtering-sorting/268814 "2008-08-24T16:57:29Z")

</div>

Hi, Can somebody help me making a XML Filtering - Sorting funcion. Please!!

---

## [What's going on here?](https://forum.kirupa.com/t/whats-going-on-here/269123)

<div class="topic-metadata">

**Author:** [@kdd](https://forum.kirupa.com/u/kdd)\
**Replies:** 3\
**Last updated:** [August 24, 2008, 4:38pm UTC](https://forum.kirupa.com/t/whats-going-on-here/269123 "2008-08-24T16:38:45Z")

</div>

http://www.java2s.com/Tutorial/CSharp/0120\_\_struct/Usethistoreferencestructsconstructor.htm In the 2nd constructor, this is used. Can anyone please explain what's going on there? Thanks! \[smile\]

---

## [UIScrollBar issue](https://forum.kirupa.com/t/uiscrollbar-issue/268972)

<div class="topic-metadata">

**Author:** [@MAAD](https://forum.kirupa.com/u/MAAD)\
**Replies:** 2\
**Last updated:** [August 24, 2008, 3:33pm UTC](https://forum.kirupa.com/t/uiscrollbar-issue/268972 "2008-08-24T15:33:29Z")

</div>

I have a project that loads an external swf and that external swf in turn, loads several external text files into movie clips in the timeline. I've attached scrollbars (UIScrollBar) to each dynamic text field so that the…

---

## [Tweening With Variables](https://forum.kirupa.com/t/tweening-with-variables/269202)

<div class="topic-metadata">

**Author:** [@stupidsaint](https://forum.kirupa.com/u/stupidsaint)\
**Replies:** 0\
**Last updated:** [August 24, 2008, 2:50pm UTC](https://forum.kirupa.com/t/tweening-with-variables/269202 "2008-08-24T14:50:57Z")

</div>

I am making a small slideshow of images using externally loaded pictures and moving them with actionscript var tweenPart1:Tween = new Tween(eval("\_root."+\_global.ticker), "\_x", Strong.easeOut, \_global.startPoint, \_gl…

---

## [Loadvars - Security Question](https://forum.kirupa.com/t/loadvars-security-question/269201)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 0\
**Last updated:** [August 24, 2008, 2:48pm UTC](https://forum.kirupa.com/t/loadvars-security-question/269201 "2008-08-24T14:48:54Z")

</div>

How easy is it for someone to hack the loadvars of a swf running in their browser? I currently pass in the userid through loadvars... Should I move that to my socket connection, or is it somewhat safe? Btw, this is jus…

---

## [Code design help for a tech tree](https://forum.kirupa.com/t/code-design-help-for-a-tech-tree/269082)

<div class="topic-metadata">

**Author:** [@John\_Barbarossa](https://forum.kirupa.com/u/John_Barbarossa)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 2:32pm UTC](https://forum.kirupa.com/t/code-design-help-for-a-tech-tree/269082 "2008-08-24T14:32:18Z")

</div>

Hello. I've been recommended this forum by some people at my university as somewhere that can help me when my n00b flash skills aren't up to the job. :} I am writing a game with a Civ style tech tree. When the player d…

---

## [\[Python\]Pass by what?](https://forum.kirupa.com/t/python-pass-by-what/269199)

<div class="topic-metadata">

**Author:** [@johnlouis](https://forum.kirupa.com/u/johnlouis)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 2:20pm UTC](https://forum.kirupa.com/t/python-pass-by-what/269199 "2008-08-24T14:20:06Z")

</div>

i just started learning Python, and I'm really confused on how it's arguments are passed.. I've read that it is passed-by-reference, but strings and ints are passed-by-value because they are "immutable"? i've been Googli…

---

## [Beginning x86 assembly \[FASM\]](https://forum.kirupa.com/t/beginning-x86-assembly-fasm/268980)

<div class="topic-metadata">

**Author:** [@SpyrL](https://forum.kirupa.com/u/SpyrL)\
**Replies:** 3\
**Last updated:** [August 24, 2008, 1:59pm UTC](https://forum.kirupa.com/t/beginning-x86-assembly-fasm/268980 "2008-08-24T13:59:29Z")

</div>

OK. So what now? Does anyone here on kirupa have x86 assembly experience? (For those who dont know what x86 is, its a low-level language. http://en.wikipedia.org/wiki/X86\_assembly) I have JUST started to learn x86 asse…

---

## [MovieClip(parent).addEventListener isn't allowed?](https://forum.kirupa.com/t/movieclip-parent-addeventlistener-isnt-allowed/269198)

<div class="topic-metadata">

**Author:** [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Replies:** 2\
**Last updated:** [August 24, 2008, 1:39pm UTC](https://forum.kirupa.com/t/movieclip-parent-addeventlistener-isnt-allowed/269198 "2008-08-24T13:39:35Z")

</div>

I am trying to add an event listener to a parent object from a child object, is this not possible??? MovieClip(parent).smartFox.addEventListener(SFSEvent.onConnection,onConnection); That works fine when placed on t…

---

## [AS3 GlowFilter class crashing IE7?](https://forum.kirupa.com/t/as3-glowfilter-class-crashing-ie7/268596)

<div class="topic-metadata">

**Author:** [@EdBoucher](https://forum.kirupa.com/u/EdBoucher)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 11:54am UTC](https://forum.kirupa.com/t/as3-glowfilter-class-crashing-ie7/268596 "2008-08-24T11:54:21Z")

</div>

Hello, new here- I've been working on a fairly large Flash project for sometime and have been trying to track down the cause of constant crashes in IE7. After getting the test group to feed back exactly what they were …

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

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