# programming

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

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

**Page:** 1388

---

## [Simplify code](https://forum.kirupa.com/t/simplify-code/249942)

<div class="topic-metadata">

**Author:** [@lolomedia](https://forum.kirupa.com/u/lolomedia)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 10:16pm UTC](https://forum.kirupa.com/t/simplify-code/249942 "2008-01-23T22:16:54Z")

</div>

Hello, how can i simplify this code so i won't have to write long lines of the same thing? img.dot1.onRelease = function () { new Tween(img, "\_x", Strong.easeIn, img.\_x, 347.7, .50, true); new Tween(img, "\_…

---

## [Remove text inside of xml via php](https://forum.kirupa.com/t/remove-text-inside-of-xml-via-php/249941)

<div class="topic-metadata">

**Author:** [@Gully](https://forum.kirupa.com/u/Gully)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 10:09pm UTC](https://forum.kirupa.com/t/remove-text-inside-of-xml-via-php/249941 "2008-01-23T22:09:02Z")

</div>

can some help me please to delete all the text in xml file in php can some one help me please.

---

## [JS Slideshow in a Table](https://forum.kirupa.com/t/js-slideshow-in-a-table/249938)

<div class="topic-metadata">

**Author:** [@orahorse](https://forum.kirupa.com/u/orahorse)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 9:04pm UTC](https://forum.kirupa.com/t/js-slideshow-in-a-table/249938 "2008-01-23T21:04:12Z")

</div>

I am using this nifty script for an auto slideshow but it does not work when the image is in a table. I wonder if there is a way around that. Here is the page: I have tried putting the code inside the table, and swi…

---

## [CS3 Trial Problem](https://forum.kirupa.com/t/cs3-trial-problem/249935)

<div class="topic-metadata">

**Author:** [@zymn](https://forum.kirupa.com/u/zymn)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 8:54pm UTC](https://forum.kirupa.com/t/cs3-trial-problem/249935 "2008-01-23T20:54:03Z")

</div>

ok, i have a problem. i downloaded the trial of CS3, yet when i try to open or export this game i'm making, it says that it has encountered a problem and needs to close... any help?

---

## [Sound class bug in AS2](https://forum.kirupa.com/t/sound-class-bug-in-as2/249934)

<div class="topic-metadata">

**Author:** [@Dom\_1](https://forum.kirupa.com/u/Dom_1)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 8:34pm UTC](https://forum.kirupa.com/t/sound-class-bug-in-as2/249934 "2008-01-23T20:34:12Z")

</div>

So heres the thing, I'm building a pacman game at work, and the whole game works just fine, and like the original game, when pacman eats a little "dot" thingy the game plays a sound. Every thing is cool up to here, excep…

---

## [Get current User](https://forum.kirupa.com/t/get-current-user/249933)

<div class="topic-metadata">

**Author:** [@philsbury](https://forum.kirupa.com/u/philsbury)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 8:32pm UTC](https://forum.kirupa.com/t/get-current-user/249933 "2008-01-23T20:32:49Z")

</div>

Hi, I am trying to get the current user ID so they can change their password in a content management system. My login code is as follows; \<?php session\_start(); $errorMessage = ''; if (isset($\_POST\['txtUserId'\]) && is…

---

## [Displacement Maps?](https://forum.kirupa.com/t/displacement-maps/249932)

<div class="topic-metadata">

**Author:** [@ninjateacup](https://forum.kirupa.com/u/ninjateacup)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 8:24pm UTC](https://forum.kirupa.com/t/displacement-maps/249932 "2008-01-23T20:24:40Z")

</div>

I need some minds. I have a project I'm working on at work and I want to do something similar to this site: http://www.nike.com/jumpman23/m4/ See how the image distorts when you click the arrow left and right. The …

---

## [Best steady framerate?](https://forum.kirupa.com/t/best-steady-framerate/249931)

<div class="topic-metadata">

**Author:** [@ArmoredSandwich](https://forum.kirupa.com/u/ArmoredSandwich)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 8:23pm UTC](https://forum.kirupa.com/t/best-steady-framerate/249931 "2008-01-23T20:23:35Z")

</div>

Hey all, What would be the best way to accomplish the best steady framerate. I'm currently using setInterval, and I'm experiencing that the fps goes something like this: \[image\] Instead of a nice, steady, flow of c…

---

## [How to center the loaded .swf using as3?](https://forum.kirupa.com/t/how-to-center-the-loaded-swf-using-as3/249930)

<div class="topic-metadata">

**Author:** [@juliecutey](https://forum.kirupa.com/u/juliecutey)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 8:14pm UTC](https://forum.kirupa.com/t/how-to-center-the-loaded-swf-using-as3/249930 "2008-01-23T20:14:13Z")

</div>

Hi everyone, I am wondering is there a way to center the loaded .swf(external swf) using as3 and it will still stay centered when the browser is resized? Any help would be really appreciated. Thank you very much! Jul…

---

## [Purpose of ns.setBufferTime();](https://forum.kirupa.com/t/purpose-of-ns-setbuffertime/249928)

<div class="topic-metadata">

**Author:** [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 8:09pm UTC](https://forum.kirupa.com/t/purpose-of-ns-setbuffertime/249928 "2008-01-23T20:09:00Z")

</div>

Can anyone tell me what the purpose for using the Flash Media Server command: ns.setBufferTime(); is? Why does one need to set a buffer time? Thanks!

---

## [Search Engin Rank a Flash Site](https://forum.kirupa.com/t/search-engin-rank-a-flash-site/249923)

<div class="topic-metadata">

**Author:** [@satiss](https://forum.kirupa.com/u/satiss)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 7:36pm UTC](https://forum.kirupa.com/t/search-engin-rank-a-flash-site/249923 "2008-01-23T19:36:20Z")

</div>

Does someone know how to get my Flash/XML web site ranked with search engin?

---

## [Php to MySql](https://forum.kirupa.com/t/php-to-mysql/249922)

<div class="topic-metadata">

**Author:** [@stedem](https://forum.kirupa.com/u/stedem)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 7:35pm UTC](https://forum.kirupa.com/t/php-to-mysql/249922 "2008-01-23T19:35:37Z")

</div>

Hello For a web shop I'm looking to insert the function "create pdf" (to print data sheets or invoices). I've looked up some tools on the Internet and found FPDF http://www.fpdf.org/?lang=en , I played around a littl…

---

## [I'm looking to create a short silhouette fighter cartoon. Please help!](https://forum.kirupa.com/t/im-looking-to-create-a-short-silhouette-fighter-cartoon-please-help/249918)

<div class="topic-metadata">

**Author:** [@Wrathrowe](https://forum.kirupa.com/u/Wrathrowe)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 7:01pm UTC](https://forum.kirupa.com/t/im-looking-to-create-a-short-silhouette-fighter-cartoon-please-help/249918 "2008-01-23T19:01:14Z")

</div>

Hey guys, I'm very new to Flash. I'm in the process of creating a website for my Muay Thai club, and for the opening video I'd like to have to silhouette fighters throwing a few punches and kick's at each other. Anyone k…

---

## [Absolute Positioning In Ie6 Problem](https://forum.kirupa.com/t/absolute-positioning-in-ie6-problem/249917)

<div class="topic-metadata">

**Author:** [@MaggieBroon](https://forum.kirupa.com/u/MaggieBroon)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 6:55pm UTC](https://forum.kirupa.com/t/absolute-positioning-in-ie6-problem/249917 "2008-01-23T18:55:12Z")

</div>

Hi guys.. Working on a website which you can view here. It works fine in all browsers except IE6 where the absolutely positioned menu ends up at the very bottom of the page rather than the bottom of the header div. C…

---

## [Can anyone tell me where to find this Flash (Paypal) Player?](https://forum.kirupa.com/t/can-anyone-tell-me-where-to-find-this-flash-paypal-player/249916)

<div class="topic-metadata">

**Author:** [@aplayerb](https://forum.kirupa.com/u/aplayerb)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 6:43pm UTC](https://forum.kirupa.com/t/can-anyone-tell-me-where-to-find-this-flash-paypal-player/249916 "2008-01-23T18:43:32Z")

</div>

Can anyone tell me where to find this Flash Player that is integrated with Paypal... yet looks like Windows Media Player? I'm stumped and really want it. Here is the example at www.jeejuh.com I really appreciate the…

---

## [Click Handler?](https://forum.kirupa.com/t/click-handler/249914)

<div class="topic-metadata">

**Author:** [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 6:07pm UTC](https://forum.kirupa.com/t/click-handler/249914 "2008-01-23T18:07:19Z")

</div>

Can anyone tell me how to set a "click handler" of a component? I don't see any such attribute in the component's Paramater's tab. Here's the tutorial text that references it: "To add the button for recording, drag a …

---

## [Ideas for a new xml driven swf](https://forum.kirupa.com/t/ideas-for-a-new-xml-driven-swf/249913)

<div class="topic-metadata">

**Author:** [@jrutter](https://forum.kirupa.com/u/jrutter)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 6:02pm UTC](https://forum.kirupa.com/t/ideas-for-a-new-xml-driven-swf/249913 "2008-01-23T18:02:34Z")

</div>

Ok, so Im new to AS3 - but Ive already gotten a pretty good handle on XML/AS3. I have built a few movies that pull in content from xml and place it via actionscript on the stage. So I have a new idea for a flash movie,…

---

## [Looking for a 3D Rotating Clickable Menu (carousel) tutorial](https://forum.kirupa.com/t/looking-for-a-3d-rotating-clickable-menu-carousel-tutorial/249912)

<div class="topic-metadata">

**Author:** [@Atris](https://forum.kirupa.com/u/Atris)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 6:02pm UTC](https://forum.kirupa.com/t/looking-for-a-3d-rotating-clickable-menu-carousel-tutorial/249912 "2008-01-23T18:02:02Z")

</div>

Hello all. Can anyone point me to a 3D clickable menu carousel tutorial in AS3? All tutorials on this topic seem to be in AS2 or you have to pay for them if they are in AS3. I'm looking for this kind of vibe http…

---

## [AS 2 / quick ? about ending a particular MC](https://forum.kirupa.com/t/as-2-quick-about-ending-a-particular-mc/249910)

<div class="topic-metadata">

**Author:** [@somdow](https://forum.kirupa.com/u/somdow)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 5:34pm UTC](https://forum.kirupa.com/t/as-2-quick-about-ending-a-particular-mc/249910 "2008-01-23T17:34:13Z")

</div>

my simple ? is, i want to learn how to end a section of a site smoothly and with a certain animation as oppose to the section just abrubtly ending. for exxample, if i have an item on screen and want to switch to another …

---

## [Validating my site: What are these errors?](https://forum.kirupa.com/t/validating-my-site-what-are-these-errors/249907)

<div class="topic-metadata">

**Author:** [@insats](https://forum.kirupa.com/u/insats)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 5:09pm UTC](https://forum.kirupa.com/t/validating-my-site-what-are-these-errors/249907 "2008-01-23T17:09:40Z")

</div>

Im validating my site atm, and have come across these three errors (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.loom.nu%2F&charset=%28detect+automatically%29&doctype=Inline&group=0) What should I change? I don't…

---

## [2 directional Image scroll on mouse \_x & \_y](https://forum.kirupa.com/t/2-directional-image-scroll-on-mouse--x--y/249901)

<div class="topic-metadata">

**Author:** [@Yamthief](https://forum.kirupa.com/u/Yamthief)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 4:06pm UTC](https://forum.kirupa.com/t/2-directional-image-scroll-on-mouse--x--y/249901 "2008-01-23T16:06:51Z")

</div>

I've made an image scroller but i can't get the image to scroll horizontally and vertically the way i want it to. the image is 1270x710px and the flash movie it's held in is 640x480 I want the image to scroll dependi…

---

## [How to pause actionscript?](https://forum.kirupa.com/t/how-to-pause-actionscript/249898)

<div class="topic-metadata">

**Author:** [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 3:26pm UTC](https://forum.kirupa.com/t/how-to-pause-actionscript/249898 "2008-01-23T15:26:18Z")

</div>

In actionscript 2.0, how do I do put a pause in the middle of my actionscript sequence. For example, MyWidgetFunction(); pause(3000); // Want to pause 3 seconds AnotherFunction();

---

## [Flash Screensaver](https://forum.kirupa.com/t/flash-screensaver/249895)

<div class="topic-metadata">

**Author:** [@huntz](https://forum.kirupa.com/u/huntz)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 3:12pm UTC](https://forum.kirupa.com/t/flash-screensaver/249895 "2008-01-23T15:12:16Z")

</div>

Hello, I have a piece of software that turns a flash file into a screensaver and it works great. I'm hoping to push this screensaver out to all our machines in our organization. The problem i'm having is importing some…

---

## [Clearing text areas](https://forum.kirupa.com/t/clearing-text-areas/249892)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 2:46pm UTC](https://forum.kirupa.com/t/clearing-text-areas/249892 "2008-01-23T14:46:16Z")

</div>

Hi all, Sorry in advance if the answer to this question is already on the site! I looked for a while there but couldn't find anything - probably to do with my wording? Does anyone know how to refresh a textarea every…

---

## [Thumbwheel](https://forum.kirupa.com/t/thumbwheel/249891)

<div class="topic-metadata">

**Author:** [@sommer](https://forum.kirupa.com/u/sommer)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 2:29pm UTC](https://forum.kirupa.com/t/thumbwheel/249891 "2008-01-23T14:29:30Z")

</div>

Is there anyway for Actionscript to sense the thumbwheel - I would like to use the thumbwheel as an alternative to dragging scrollbars. Get your tech news at http:www.newsalyzer.com/tech/index.htm

---

## [Detect right-click menu event](https://forum.kirupa.com/t/detect-right-click-menu-event/249884)

<div class="topic-metadata">

**Author:** [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 12:57pm UTC](https://forum.kirupa.com/t/detect-right-click-menu-event/249884 "2008-01-23T12:57:48Z")

</div>

Is there a way to detect when the user right-clicks to display the context menu?

---

## [onRelease on MC to get the action of another MC](https://forum.kirupa.com/t/onrelease-on-mc-to-get-the-action-of-another-mc/249883)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 12:57pm UTC](https://forum.kirupa.com/t/onrelease-on-mc-to-get-the-action-of-another-mc/249883 "2008-01-23T12:57:09Z")

</div>

I have 2 MCs. The MC1 has a onRelease action. I´d like to add on MC2 a onRelease action that trigers the onRelease on MC1, making the same effect as the mouse had pressed MC1. is it possible and how to do it?

---

## [How to add video file in flash through xml](https://forum.kirupa.com/t/how-to-add-video-file-in-flash-through-xml/249882)

<div class="topic-metadata">

**Author:** [@aparna\_sk](https://forum.kirupa.com/u/aparna_sk)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 12:22pm UTC](https://forum.kirupa.com/t/how-to-add-video-file-in-flash-through-xml/249882 "2008-01-23T12:22:17Z")

</div>

Hi! I am trying to add video file in flash from xml. Which would b control by Button or movie clip. Mean those file should be played only after its related button or movie clip get clicked

---

## [Retain grey out scroll track at the right side of browser](https://forum.kirupa.com/t/retain-grey-out-scroll-track-at-the-right-side-of-browser/249880)

<div class="topic-metadata">

**Author:** [@chup](https://forum.kirupa.com/u/chup)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 12:12pm UTC](https://forum.kirupa.com/t/retain-grey-out-scroll-track-at-the-right-side-of-browser/249880 "2008-01-23T12:12:58Z")

</div>

Hi all, By default when you create a HMTL page, there will be a grey out scroll track at the right side of browser. But if I use swfObject and set the parameter value to 100% like below var so = new SWFObject("stage…

---

## [No Display on stage using AS 3.0](https://forum.kirupa.com/t/no-display-on-stage-using-as-3-0/249879)

<div class="topic-metadata">

**Author:** [@shaji](https://forum.kirupa.com/u/shaji)\
**Replies:** 0\
**Last updated:** [January 23, 2008, 11:40am UTC](https://forum.kirupa.com/t/no-display-on-stage-using-as-3-0/249879 "2008-01-23T11:40:31Z")

</div>

Hi All, I am pretty new to AS3. I have written below code to display a circle on stage. package { import flash.display.DisplayObject; import flash.display.Graphics; import flash.display.Shape; import flash.displ…

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

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