# programming

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

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

**Page:** 1303

---

## [How do I use a function I created?](https://forum.kirupa.com/t/how-do-i-use-a-function-i-created/255866)

<div class="topic-metadata">

**Author:** [@Athrialix](https://forum.kirupa.com/u/Athrialix)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 6:58pm UTC](https://forum.kirupa.com/t/how-do-i-use-a-function-i-created/255866 "2008-03-27T18:58:30Z")

</div>

Hey, everyone I'm trying to migrate some stuff to AS 3.0 but there are some things I can't figure out how to do in 3.0. I've found out how to declare a function (In AS 2.0, I used somename = function(){stuff}) Howeve…

---

## [Coding assistance?](https://forum.kirupa.com/t/coding-assistance/255865)

<div class="topic-metadata">

**Author:** [@jbrown84](https://forum.kirupa.com/u/jbrown84)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 6:23pm UTC](https://forum.kirupa.com/t/coding-assistance/255865 "2008-03-27T18:23:04Z")

</div>

:-/ N00B...I do not know how to code. However, what I have written can be considered extremely basic. I have a project that needs to \*\*count up \*\*from Zero to 30 billion from a start date of Jan1 2008 all the way to De…

---

## [Help adjusting as file](https://forum.kirupa.com/t/help-adjusting-as-file/255864)

<div class="topic-metadata">

**Author:** [@schammy79](https://forum.kirupa.com/u/schammy79)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 5:54pm UTC](https://forum.kirupa.com/t/help-adjusting-as-file/255864 "2008-03-27T17:54:33Z")

</div>

I have an all flash webpage that features a newsletter button... It is supposed to load an external newsletter module, fairly simple in itself. While the module works great on its own, when I load it from the main swf, I…

---

## [Pop-Up new Window ( Safari Problems )](https://forum.kirupa.com/t/pop-up-new-window-safari-problems/255863)

<div class="topic-metadata">

**Author:** [@eknudtson](https://forum.kirupa.com/u/eknudtson)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 5:54pm UTC](https://forum.kirupa.com/t/pop-up-new-window-safari-problems/255863 "2008-03-27T17:54:19Z")

</div>

Hi awesome Kirupa people! I need some help getting a new window to pop up. I have a flash movie playing on a page ( a music player ) and I want to pop up the same music player in a new window. Below is the code I'm using…

---

## [Filter issues](https://forum.kirupa.com/t/filter-issues/255862)

<div class="topic-metadata">

**Author:** [@JChristian](https://forum.kirupa.com/u/JChristian)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 5:30pm UTC](https://forum.kirupa.com/t/filter-issues/255862 "2008-03-27T17:30:04Z")

</div>

Hey, I'm using DropShadowFilter in actionscript, I got it working, except I'M CONFUSED about one thing. I'm emulating (in AS) something I did in the filters panel. the AS dropShadow Filter has an alpha property and in…

---

## [Filters Issue](https://forum.kirupa.com/t/filters-issue/255861)

<div class="topic-metadata">

**Author:** [@JChristian](https://forum.kirupa.com/u/JChristian)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 5:29pm UTC](https://forum.kirupa.com/t/filters-issue/255861 "2008-03-27T17:29:24Z")

</div>

Hey, I'm using DropShadowFilter in actionscript, I got it working, except I'M CONFUSED about one thing. I'm emulating (in AS) something I did in the filters panel. the AS dropShadow Filter has an alpha property and in…

---

## [A question about Class + Frames](https://forum.kirupa.com/t/a-question-about-class-frames/255859)

<div class="topic-metadata">

**Author:** [@ConceitoDigital](https://forum.kirupa.com/u/ConceitoDigital)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 5:06pm UTC](https://forum.kirupa.com/t/a-question-about-class-frames/255859 "2008-03-27T17:06:00Z")

</div>

Hello! I'm new to AS3. I made a Class, in a external file. Called "ClassImade" that extends MovieClip. \[COLOR=Green\]\*\*--------------- | 1st Frame | ---------------\*\* \[COLOR=Black\]Canvas\[/COLOR\]: - MovieClip (called…

---

## [XML traversal](https://forum.kirupa.com/t/xml-traversal/255857)

<div class="topic-metadata">

**Author:** [@ednasgoldfishuk](https://forum.kirupa.com/u/ednasgoldfishuk)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 4:58pm UTC](https://forum.kirupa.com/t/xml-traversal/255857 "2008-03-27T16:58:31Z")

</div>

As with most people im new to this AS3 thing, I have been using flash for a while and also recently been dropped into flex, if someone could clarify if the syntax im using to traverse an XML is correct? my 'where' claus…

---

## [Barnes and Noble flash - how is that done](https://forum.kirupa.com/t/barnes-and-noble-flash-how-is-that-done/255856)

<div class="topic-metadata">

**Author:** [@bifurd](https://forum.kirupa.com/u/bifurd)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 4:53pm UTC](https://forum.kirupa.com/t/barnes-and-noble-flash-how-is-that-done/255856 "2008-03-27T16:53:51Z")

</div>

Can anyone send me script on how this is achieved? http://www.barnesandnoble.com/ Thanks

---

## [Flash 8 - Synch Audio to SWF -- Please help!](https://forum.kirupa.com/t/flash-8-synch-audio-to-swf-please-help/255855)

<div class="topic-metadata">

**Author:** [@mpot](https://forum.kirupa.com/u/mpot)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 4:48pm UTC](https://forum.kirupa.com/t/flash-8-synch-audio-to-swf-please-help/255855 "2008-03-27T16:48:37Z")

</div>

Hello, I have created some external .swf's that have audio actionscripted onto them. Here is my code for that--and my play and pause buttons for the audio... soundTest = new Sound(this); soundTest.attachSound("sect…

---

## [No anti-aliased text on Dreamweaver Code View!](https://forum.kirupa.com/t/no-anti-aliased-text-on-dreamweaver-code-view/255854)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 4:34pm UTC](https://forum.kirupa.com/t/no-anti-aliased-text-on-dreamweaver-code-view/255854 "2008-03-27T16:34:49Z")

</div>

I'm working on a new Mac they got me at work. I'm using Dreamweaver CS3. I like to program PHP in Dreamweaver in code view. But the text is anti-aliased (looks smooth) but I dont want it like that. How can I view the tex…

---

## [Just a little-Hello](https://forum.kirupa.com/t/just-a-little-hello/255853)

<div class="topic-metadata">

**Author:** [@chi\_chi](https://forum.kirupa.com/u/chi_chi)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 4:27pm UTC](https://forum.kirupa.com/t/just-a-little-hello/255853 "2008-03-27T16:27:55Z")

</div>

Hi Kirupa and Everybody Had a brief browse, great site-good work. Good to know you all. Not sure I've quite got the hang of the system. If not, bear with me. I live to learn. All my concerns will be Flash related and…

---

## [Calling a function in a dynamically attached MC?](https://forum.kirupa.com/t/calling-a-function-in-a-dynamically-attached-mc/255852)

<div class="topic-metadata">

**Author:** [@brian914](https://forum.kirupa.com/u/brian914)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 4:17pm UTC](https://forum.kirupa.com/t/calling-a-function-in-a-dynamically-attached-mc/255852 "2008-03-27T16:17:21Z")

</div>

I am having problems with this and I can't quite figure out what I am doing wrong. I have the following AS inside a function in my movieclip. this.attachMovie("team\_" + whichProfile, "team\_" + whichProfile, this.getNe…

---

## [Sample Side Scroller?](https://forum.kirupa.com/t/sample-side-scroller/255851)

<div class="topic-metadata">

**Author:** [@woodman650](https://forum.kirupa.com/u/woodman650)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 3:57pm UTC](https://forum.kirupa.com/t/sample-side-scroller/255851 "2008-03-27T15:57:06Z")

</div>

Hi all, I wanted to throw together a quick side-scrolling shooter of sorts for a friend's bday, but I don't really have the time to start something from scratch. Does anyone know of an easy to modify open source game I…

---

## [Scaling an Image Proportionatly](https://forum.kirupa.com/t/scaling-an-image-proportionatly/255849)

<div class="topic-metadata">

**Author:** [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 3:50pm UTC](https://forum.kirupa.com/t/scaling-an-image-proportionatly/255849 "2008-03-27T15:50:31Z")

</div>

Hey all. I'm a little stuck on this here. I can I want to resize the width of an image proportionate to the images height. I'm having a huge blonde moment right now as I can't wrap my head around it.. Here's what I …

---

## [Movie Clip \_x Direction and pause](https://forum.kirupa.com/t/movie-clip--x-direction-and-pause/255844)

<div class="topic-metadata">

**Author:** [@bifurd](https://forum.kirupa.com/u/bifurd)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 2:43pm UTC](https://forum.kirupa.com/t/movie-clip--x-direction-and-pause/255844 "2008-03-27T14:43:01Z")

</div>

I have a movie clip (main\_mc) moving from right to left, stopping on rollOver and continuing to move on rollOut like this: onClipEvent (enterFrame) { \_x+=(distance\*speed); if (\_x \> 0) \_x=-641; if (\_x \< -2197) \_…

---

## [Flex php httpservices](https://forum.kirupa.com/t/flex-php-httpservices/255842)

<div class="topic-metadata">

**Author:** [@prashantkoshta](https://forum.kirupa.com/u/prashantkoshta)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 2:25pm UTC](https://forum.kirupa.com/t/flex-php-httpservices/255842 "2008-03-27T14:25:12Z")

</div>

Hi All, I am new one here in this forum. My need to search this blog. Hope i will get the solution of my problem. \[smile\] I am beginner in Flex. I am working in one application where i am using php and flex. There are…

---

## [sortOn String + NUMERIC](https://forum.kirupa.com/t/sorton-string-numeric/255841)

<div class="topic-metadata">

**Author:** [@blaatorx](https://forum.kirupa.com/u/blaatorx)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 2:24pm UTC](https://forum.kirupa.com/t/sorton-string-numeric/255841 "2008-03-27T14:24:35Z")

</div>

Hello Peepz, i've got some trouble with the following sortOn method (i've got strings that contains numbers ex. "Help11"): activeCourseArray.sortOn(\[sortMethod, "AudioSort", "Name"\]); the following array items need…

---

## [Drag and Drop - Help please](https://forum.kirupa.com/t/drag-and-drop-help-please/255839)

<div class="topic-metadata">

**Author:** [@watto\_uk](https://forum.kirupa.com/u/watto_uk)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 2:02pm UTC](https://forum.kirupa.com/t/drag-and-drop-help-please/255839 "2008-03-27T14:02:48Z")

</div>

I have created a drag and drop class that is attached to a movie clip as its base class. I would like to have a button that enables me to toggle the drag and drop property for the movie clip on and off, for example on…

---

## [Paging Test!](https://forum.kirupa.com/t/paging-test/255836)

<div class="topic-metadata">

**Author:** [@onmosh](https://forum.kirupa.com/u/onmosh)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 1:41pm UTC](https://forum.kirupa.com/t/paging-test/255836 "2008-03-27T13:41:09Z")

</div>

I cannot get the result for this one. But the ouput is like this: Name 01 02 03 0…

---

## [Help! Problem with CSS wrapper on high resolutions](https://forum.kirupa.com/t/help-problem-with-css-wrapper-on-high-resolutions/255834)

<div class="topic-metadata">

**Author:** [@red5\_ws](https://forum.kirupa.com/u/red5_ws)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 1:24pm UTC](https://forum.kirupa.com/t/help-problem-with-css-wrapper-on-high-resolutions/255834 "2008-03-27T13:24:21Z")

</div>

Please take a look at http://www.classicsignature.com On most resolutions, everything lays out correctly. However I have noticed on more than one occasion now on higher resolutions, especially on wide screens, the ba…

---

## [Help required with looping through dynamically generated clips](https://forum.kirupa.com/t/help-required-with-looping-through-dynamically-generated-clips/255830)

<div class="topic-metadata">

**Author:** [@uzilover](https://forum.kirupa.com/u/uzilover)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 12:38pm UTC](https://forum.kirupa.com/t/help-required-with-looping-through-dynamically-generated-clips/255830 "2008-03-27T12:38:48Z")

</div>

Hi, As part of a preloader, I've placed a blank movie clip on the stage and attached the following code: onClipEvent (load) { for (i=0; i\<50; i++) { ranx = Math.round(Math.random()\*1000)+1; rany …

---

## [Drawing with the Line Tool](https://forum.kirupa.com/t/drawing-with-the-line-tool/255829)

<div class="topic-metadata">

**Author:** [@SHARPSHOOTER](https://forum.kirupa.com/u/SHARPSHOOTER)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 12:38pm UTC](https://forum.kirupa.com/t/drawing-with-the-line-tool/255829 "2008-03-27T12:38:38Z")

</div>

Help please. i figured out how to re-draw my original image shape using the (line tool) and get it into the shape i want with my original image locked........ my line drawing which is on a seperate layer is an exact re…

---

## [Referencing objects by name created at runtime](https://forum.kirupa.com/t/referencing-objects-by-name-created-at-runtime/255828)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 12:36pm UTC](https://forum.kirupa.com/t/referencing-objects-by-name-created-at-runtime/255828 "2008-03-27T12:36:43Z")

</div>

Referencing objects by name created at runtime, how do you do it? Ive remember reading that its tough, but can't seem to find the work around. I have thumbnail objects (with a thumb class) that are created in a loop an…

---

## [Help me to create loop of this array result](https://forum.kirupa.com/t/help-me-to-create-loop-of-this-array-result/255826)

<div class="topic-metadata">

**Author:** [@Beebs](https://forum.kirupa.com/u/Beebs)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 12:11pm UTC](https://forum.kirupa.com/t/help-me-to-create-loop-of-this-array-result/255826 "2008-03-27T12:11:25Z")

</div>

I try to load array result generated from php. The PHP result are as follows : Title0=1&Comments0=HOME&Title1=6&Comments1=ABOUT&Title2=2&Comments2=SOLUTIONS&menu=3 I use this following code in Flash and work succes…

---

## [MovieClips inside other MovieClips - detecting all](https://forum.kirupa.com/t/movieclips-inside-other-movieclips-detecting-all/255824)

<div class="topic-metadata">

**Author:** [@jonnyleeharris](https://forum.kirupa.com/u/jonnyleeharris)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 12:05pm UTC](https://forum.kirupa.com/t/movieclips-inside-other-movieclips-detecting-all/255824 "2008-03-27T12:05:45Z")

</div>

I have a movieclip called mapWindow, inside mapWindow are dynamically created movieclips of various sizes. The movieclips inside the mapWindow don't take up the entire space of the mapWindow and thus I use a startDrag on…

---

## [How to create flash based photo print on t shirt?](https://forum.kirupa.com/t/how-to-create-flash-based-photo-print-on-t-shirt/255821)

<div class="topic-metadata">

**Author:** [@sankar\_nm](https://forum.kirupa.com/u/sankar_nm)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 11:44am UTC](https://forum.kirupa.com/t/how-to-create-flash-based-photo-print-on-t-shirt/255821 "2008-03-27T11:44:35Z")

</div>

Hi im new to this forum, im looking some sample files on croping images with flash (as 2.0) (i have an idea on scripting) my application look like , user can upload image he can scale, rotate and crop then save and …

---

## [How to do this interactive page-flip](https://forum.kirupa.com/t/how-to-do-this-interactive-page-flip/255819)

<div class="topic-metadata">

**Author:** [@TheMagicMan](https://forum.kirupa.com/u/TheMagicMan)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 11:07am UTC](https://forum.kirupa.com/t/how-to-do-this-interactive-page-flip/255819 "2008-03-27T11:07:54Z")

</div>

http://www.efgpr.com/deck/ If you drag one of the ends of the pages, it'll drag longer than normally. How would you come about to do this? I have no clue at all. Is it Flash only?

---

## [Reducing swf resolution](https://forum.kirupa.com/t/reducing-swf-resolution/255818)

<div class="topic-metadata">

**Author:** [@keke11](https://forum.kirupa.com/u/keke11)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 11:05am UTC](https://forum.kirupa.com/t/reducing-swf-resolution/255818 "2008-03-27T11:05:13Z")

</div>

Hi, I made an application in flash .swf 1920 x 1080 pix for HD TV and I want to reduce it for web use 800 x 600 pix (dramatically smaller size). there are lot of bitmaps - 3d animation It is possible to do that automati…

---

## [Creating buttons from loaded image](https://forum.kirupa.com/t/creating-buttons-from-loaded-image/255817)

<div class="topic-metadata">

**Author:** [@Wahnsinn](https://forum.kirupa.com/u/Wahnsinn)\
**Replies:** 0\
**Last updated:** [March 27, 2008, 10:50am UTC](https://forum.kirupa.com/t/creating-buttons-from-loaded-image/255817 "2008-03-27T10:50:29Z")

</div>

Hi, I have loaded several images into the swf with XML and they are placed automatically. How do I make buttons out of them? I want to scale them about 20% bigger. Any help would be welcome! Wahnsinn

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

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