# programming

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

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

**Page:** 462

---

## [Optimization problem](https://forum.kirupa.com/t/optimization-problem/311221)

<div class="topic-metadata">

**Author:** [@sirupa](https://forum.kirupa.com/u/sirupa)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 2:17pm UTC](https://forum.kirupa.com/t/optimization-problem/311221 "2010-06-30T14:17:54Z")

</div>

hello, I'm learning about basic memory optimization stuff and I have an example I need help with. This is extended Adobe documentation example on BaseButton class. You need Button component within Library in order for …

---

## [Preloader percentage in IE](https://forum.kirupa.com/t/preloader-percentage-in-ie/311218)

<div class="topic-metadata">

**Author:** [@003](https://forum.kirupa.com/u/003)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 11:55am UTC](https://forum.kirupa.com/t/preloader-percentage-in-ie/311218 "2010-06-30T11:55:26Z")

</div>

I've got a flash site which works fine... except, the preloader percentage in IE is.. well.. not how it's supposed to be... I tested it on every popular commercial browser and it goes from 1 to 100... in f...ing IE it pe…

---

## [Flash cs 5](https://forum.kirupa.com/t/flash-cs-5/311217)

<div class="topic-metadata">

**Author:** [@imranalikhan](https://forum.kirupa.com/u/imranalikhan)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 10:59am UTC](https://forum.kirupa.com/t/flash-cs-5/311217 "2010-06-30T10:59:22Z")

</div>

i started my project on Flash CS3 now i opened my project on flash CS5 and when i compile the project it shows the following error . TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::MovieCli…

---

## [Locking a MC to a path](https://forum.kirupa.com/t/locking-a-mc-to-a-path/311216)

<div class="topic-metadata">

**Author:** [@FunkMaster\_J](https://forum.kirupa.com/u/FunkMaster_J)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 10:56am UTC](https://forum.kirupa.com/t/locking-a-mc-to-a-path/311216 "2010-06-30T10:56:17Z")

</div>

Hi all, I'm trying to find a way to lock a MC (or any other instance) to a path. Best way to describe what I want to do is ... imagine there's a drawn out rail track (the path), and at the press of a button a train (…

---

## [Panning on mouse click with flash](https://forum.kirupa.com/t/panning-on-mouse-click-with-flash/311213)

<div class="topic-metadata">

**Author:** [@trino](https://forum.kirupa.com/u/trino)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 10:07am UTC](https://forum.kirupa.com/t/panning-on-mouse-click-with-flash/311213 "2010-06-30T10:07:51Z")

</div>

Hi there, I am desperate to find a tutorial to achieve this kind of click and pan. I have trawled for days and found other tutorials, but not one specifically like this, where the user clicks on a link and the site pa…

---

## [Dynamic frame rates for scrolling text](https://forum.kirupa.com/t/dynamic-frame-rates-for-scrolling-text/311212)

<div class="topic-metadata">

**Author:** [@Hoodlum](https://forum.kirupa.com/u/Hoodlum)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 9:43am UTC](https://forum.kirupa.com/t/dynamic-frame-rates-for-scrolling-text/311212 "2010-06-30T09:43:17Z")

</div>

I am tweening text slowly like a marquee style, and I cant seem to get it smooth (it's stuttering and jerky). I am embedding the font, converting it to a bitmap, turning smoothing on, then using GTween for tweening it. …

---

## [Horizontal navigation needs a 3rd level](https://forum.kirupa.com/t/horizontal-navigation-needs-a-3rd-level/311210)

<div class="topic-metadata">

**Author:** [@agent\_99](https://forum.kirupa.com/u/agent_99)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 6:49am UTC](https://forum.kirupa.com/t/horizontal-navigation-needs-a-3rd-level/311210 "2010-06-30T06:49:51Z")

</div>

Hi Folks, I have created a horizontal navigation structure built with css - using the unordered list method (ul li etc.). I need the navigation to go out to a 3rd level. So from the dropdown navigation; I need to crea…

---

## [CF: Permissions problem / unable to delete files](https://forum.kirupa.com/t/cf-permissions-problem-unable-to-delete-files/311209)

<div class="topic-metadata">

**Author:** [@zzxjoanw](https://forum.kirupa.com/u/zzxjoanw)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 5:45am UTC](https://forum.kirupa.com/t/cf-permissions-problem-unable-to-delete-files/311209 "2010-06-30T05:45:03Z")

</div>

I’m attempting to create a file-storage application, but am unable to get the delete file function to work. The permissions for the directory where the file in question resides are set to allow deletion. This is the err…

---

## [\[AS3\] Trying to program Bloons clone - stuck on balloon loading](https://forum.kirupa.com/t/as3-trying-to-program-bloons-clone-stuck-on-balloon-loading/311208)

<div class="topic-metadata">

**Author:** [@evakuate](https://forum.kirupa.com/u/evakuate)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 5:37am UTC](https://forum.kirupa.com/t/as3-trying-to-program-bloons-clone-stuck-on-balloon-loading/311208 "2010-06-30T05:37:03Z")

</div>

Hi guys, I'm trying to program a Bloons clone (http://www.addictinggames.com/bloons.html) and I've got the monkey and the dart working fine. Now I'm trying to add the balloons and I"m not really sure how to proceed. This…

---

## [AS3 Variable is changing back to initial state](https://forum.kirupa.com/t/as3-variable-is-changing-back-to-initial-state/311207)

<div class="topic-metadata">

**Author:** [@bidum00](https://forum.kirupa.com/u/bidum00)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 5:24am UTC](https://forum.kirupa.com/t/as3-variable-is-changing-back-to-initial-state/311207 "2010-06-30T05:24:23Z")

</div>

I set a variable var currentPage:String = "b1"; When I click a button, the click should change the variable currentPage to the event.currentTarget.name and it does function btnClick(event:MouseEvent):void { current…

---

## [Links work in Safari but not firefox?](https://forum.kirupa.com/t/links-work-in-safari-but-not-firefox/311205)

<div class="topic-metadata">

**Author:** [@Daimz](https://forum.kirupa.com/u/Daimz)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 3:40am UTC](https://forum.kirupa.com/t/links-work-in-safari-but-not-firefox/311205 "2010-06-30T03:40:45Z")

</div>

I have just updated to Word Press 3.0 and checked my website in Firefox and the links don't work however in Safari they work fine. Can anyone suggest what I might be doing wrong? I am using spites to change the positi…

---

## [Loader/getchildbyname question](https://forum.kirupa.com/t/loader-getchildbyname-question/311203)

<div class="topic-metadata">

**Author:** [@holborner](https://forum.kirupa.com/u/holborner)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 3:08am UTC](https://forum.kirupa.com/t/loader-getchildbyname-question/311203 "2010-06-30T03:08:53Z")

</div>

Hi all, AS3 beginner here \[smile\] I'm trying to do load in images from XML. And I need to assign a "title" variable to each image that gets added into a big container MC. I tried to trace its existance by doing trace(c…

---

## [Gradient Paragraph Text](https://forum.kirupa.com/t/gradient-paragraph-text/311200)

<div class="topic-metadata">

**Author:** [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Replies:** 0\
**Last updated:** [June 30, 2010, 1:41am UTC](https://forum.kirupa.com/t/gradient-paragraph-text/311200 "2010-06-30T01:41:20Z")

</div>

I'm displaying quotations in large bold letters - these quotations span about 3 lines. I would like to display this text with a gradient fill. Now I'm not talking about the background of the quote area, I mean the t…

---

## [Loading new data without reload](https://forum.kirupa.com/t/loading-new-data-without-reload/311198)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 11:32pm UTC](https://forum.kirupa.com/t/loading-new-data-without-reload/311198 "2010-06-29T23:32:35Z")

</div>

Hey, I have been searching for a way to display records from a database that refresh without reloading the page. Facebook does this with notifications and such. Any code or links are appreciated! Thanks, BR

---

## [Buttons not working within movieclip inside scrollpane](https://forum.kirupa.com/t/buttons-not-working-within-movieclip-inside-scrollpane/311196)

<div class="topic-metadata">

**Author:** [@vvginovv](https://forum.kirupa.com/u/vvginovv)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 10:08pm UTC](https://forum.kirupa.com/t/buttons-not-working-within-movieclip-inside-scrollpane/311196 "2010-06-29T22:08:34Z")

</div>

hey I have a couple buttons within a movie clip of a ScrollPane that are not working. This is my exact code, how do i get them to work? scrollPane.source = myContent; scrollPane.setSize(173,500); K1Button.addEventL…

---

## [Access Movieclip withing child](https://forum.kirupa.com/t/access-movieclip-withing-child/311193)

<div class="topic-metadata">

**Author:** [@mikaelf](https://forum.kirupa.com/u/mikaelf)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 8:42pm UTC](https://forum.kirupa.com/t/access-movieclip-withing-child/311193 "2010-06-29T20:42:37Z")

</div>

Howdi, This is probably super simple, but for me.. not! I am loading external swf into my main swf. How do I access a movieclip within a child. This is my code: function loadFolio (event:MouseEvent) :void{ var…

---

## [Problem submitting mysql\_query](https://forum.kirupa.com/t/problem-submitting-mysql-query/311189)

<div class="topic-metadata">

**Author:** [@45\_ACP](https://forum.kirupa.com/u/45_ACP)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 7:34pm UTC](https://forum.kirupa.com/t/problem-submitting-mysql-query/311189 "2010-06-29T19:34:00Z")

</div>

Hi, I'm having trouble submitting a query through PHP. I want to update multiple rows at once, and my query looks like this (without the line breaks): UPDATE Table SET value1='0', value2='5' WHERE ID='1'; UP…

---

## [Using your Sliding Menu tutorial](https://forum.kirupa.com/t/using-your-sliding-menu-tutorial/311188)

<div class="topic-metadata">

**Author:** [@karlydizon](https://forum.kirupa.com/u/karlydizon)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 7:31pm UTC](https://forum.kirupa.com/t/using-your-sliding-menu-tutorial/311188 "2010-06-29T19:31:50Z")

</div>

I am trying to recreate your sliding menu tutorial dated for February 19, 2006. I tried to adjust it two ways: 1) by rotating the buttons to the top and have the actions occur underneath the buttons and 2) replicating e…

---

## [Jquery: Delete After Adding to Database](https://forum.kirupa.com/t/jquery-delete-after-adding-to-database/311187)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 7:29pm UTC](https://forum.kirupa.com/t/jquery-delete-after-adding-to-database/311187 "2010-06-29T19:29:14Z")

</div>

I have a jquery code that adds data to the database without having the reload which works great. The problem is I want to delete information after I add it. The jquery will let me delete if I refresh the page, but not …

---

## [Event Listener Wont Listen :)?](https://forum.kirupa.com/t/event-listener-wont-listen/311186)

<div class="topic-metadata">

**Author:** [@as3ohh](https://forum.kirupa.com/u/as3ohh)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 6:45pm UTC](https://forum.kirupa.com/t/event-listener-wont-listen/311186 "2010-06-29T18:45:18Z")

</div>

Hey Gents, Im having the issue of functions firing too soon after each other and need to use listeners. But using what I thought was correct below is not working. The xmlData.addEventListener(Event.COMPLETE, initialize);…

---

## [Dual Monitors and System.capabilities.ScreenResolutionX & Y](https://forum.kirupa.com/t/dual-monitors-and-system-capabilities-screenresolutionx-y/311185)

<div class="topic-metadata">

**Author:** [@joejozwowski](https://forum.kirupa.com/u/joejozwowski)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 5:41pm UTC](https://forum.kirupa.com/t/dual-monitors-and-system-capabilities-screenresolutionx-y/311185 "2010-06-29T17:41:35Z")

</div>

Good Afternoon Fellow Flashinites, I am currently developing a standalone video application that will interact with our backend database and display the proper video, video title, video description and color scheme tha…

---

## [Need help with Rpg equip system](https://forum.kirupa.com/t/need-help-with-rpg-equip-system/311184)

<div class="topic-metadata">

**Author:** [@DragonTech](https://forum.kirupa.com/u/DragonTech)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 4:12pm UTC](https://forum.kirupa.com/t/need-help-with-rpg-equip-system/311184 "2010-06-29T16:12:44Z")

</div>

First off, I am new to this forum, so I’d like to begin by saying hello to everyone. Hi! :smiley: Anyway, on to the problem… As you may or may not know, I have been working on a flash rpg, however, I have found one rea…

---

## [Opening a .jpg in a new window](https://forum.kirupa.com/t/opening-a-jpg-in-a-new-window/311182)

<div class="topic-metadata">

**Author:** [@Jcraw4d3](https://forum.kirupa.com/u/Jcraw4d3)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 2:36pm UTC](https://forum.kirupa.com/t/opening-a-jpg-in-a-new-window/311182 "2010-06-29T14:36:20Z")

</div>

I have a flash file with 4 buttons and I need these thumbs (One\_Btn, Two\_Btn, Three\_Btn, and Pan\_Btn) to open the images (Image\_1.jpg, Image\_2.jpg, Image\_3.jpg, and Pan.jpg) in a new window in the browser. I have these j…

---

## [Remove Blue Link Border on Images](https://forum.kirupa.com/t/remove-blue-link-border-on-images/311181)

<div class="topic-metadata">

**Author:** [@GiveMeCoffee](https://forum.kirupa.com/u/GiveMeCoffee)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 2:07pm UTC](https://forum.kirupa.com/t/remove-blue-link-border-on-images/311181 "2010-06-29T14:07:27Z")

</div>

Hello all. I'm using a php code that allows me to pull a random image from a selected folder. Once this image is pulled into my page, I want to have an active link on it to. All is fine, however, this image has a blue b…

---

## [Fireworks Animation](https://forum.kirupa.com/t/fireworks-animation/311180)

<div class="topic-metadata">

**Author:** [@dosi5127](https://forum.kirupa.com/u/dosi5127)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 1:18pm UTC](https://forum.kirupa.com/t/fireworks-animation/311180 "2010-06-29T13:18:45Z")

</div>

Found this tutorial to create a Fireworks animation. I need it to work with Flash Player 8, but it will only work in Flash Player 6. When in 8, it gives 6 Compiler Errors, and I don't know how to fix them. Here is the…

---

## [No menu in projector](https://forum.kirupa.com/t/no-menu-in-projector/311179)

<div class="topic-metadata">

**Author:** [@Sneaker](https://forum.kirupa.com/u/Sneaker)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 12:03pm UTC](https://forum.kirupa.com/t/no-menu-in-projector/311179 "2010-06-29T12:03:07Z")

</div>

I'm making a game in which I want to use the right mouse button to look at an item in greater detail. Now I have got it working with Ctrl+Enter. It's probably not the most beautiful way but it works exactly as I wanted. …

---

## [Learn As3](https://forum.kirupa.com/t/learn-as3/311178)

<div class="topic-metadata">

**Author:** [@JaxNa](https://forum.kirupa.com/u/JaxNa)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 11:56am UTC](https://forum.kirupa.com/t/learn-as3/311178 "2010-06-29T11:56:32Z")

</div>

Hi Guys, I want learn As3. But i confused how to start AS3. Can you give me any idea? some e-books and some basic examples? Thanks in advance, JaxNa

---

## [\[AS3\] Arrgghhh Movement](https://forum.kirupa.com/t/as3-arrgghhh-movement/311177)

<div class="topic-metadata">

**Author:** [@FMSFS](https://forum.kirupa.com/u/FMSFS)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 11:48am UTC](https://forum.kirupa.com/t/as3-arrgghhh-movement/311177 "2010-06-29T11:48:34Z")

</div>

hey, I am new to AS3, and i am trying to get the character to move (yh i know i am a noob), ive got the character to move in all four directions using the arrow keys but i want him to play a animation while his walking f…

---

## [Vertical mc with ease - got it working](https://forum.kirupa.com/t/vertical-mc-with-ease-got-it-working/311176)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.kirupa.com/u/Dave)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 11:48am UTC](https://forum.kirupa.com/t/vertical-mc-with-ease-got-it-working/311176 "2010-06-29T11:48:33Z")

</div>

Hi guys, This is what I was after. I finally got it working with a bit of luck! I'm not sure if this is the best way to do it, so if you think there is an easier and better way, please feel free to use it and post a ne…

---

## [AS2-AS3 dynamic Senocular consecutive jpg loader](https://forum.kirupa.com/t/as2-as3-dynamic-senocular-consecutive-jpg-loader/311175)

<div class="topic-metadata">

**Author:** [@supagav](https://forum.kirupa.com/u/supagav)\
**Replies:** 0\
**Last updated:** [June 29, 2010, 10:59am UTC](https://forum.kirupa.com/t/as2-as3-dynamic-senocular-consecutive-jpg-loader/311175 "2010-06-29T10:59:00Z")

</div>

Hi all, ok so it all starts with this brilliant and self explanatory piece of code http://www.senocular.com/flash/source/?entry=704 i need to get it working in as3, as i am integrating the code into a flash project.…

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

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