# programming

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

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

**Page:** 554

---

## [Wtf, trying to resize bitmap.. not working?](https://forum.kirupa.com/t/wtf-trying-to-resize-bitmap-not-working/305279)

<div class="topic-metadata">

**Author:** [@cry4dawn](https://forum.kirupa.com/u/cry4dawn)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 6:42pm UTC](https://forum.kirupa.com/t/wtf-trying-to-resize-bitmap-not-working/305279 "2010-02-22T18:42:09Z")

</div>

Hey everyone. I have been having issues with a program and realized the thumbnails I thought I was creating were actually full sized. Whats wrong with this code? Thanks. import com.adobe.images.JPGEncoder; var m:Mov…

---

## [For Sale Nokia N900 : €210 euro](https://forum.kirupa.com/t/for-sale-nokia-n900-210-euro/305276)

<div class="topic-metadata">

**Author:** [@mobkings](https://forum.kirupa.com/u/mobkings)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 5:32pm UTC](https://forum.kirupa.com/t/for-sale-nokia-n900-210-euro/305276 "2010-02-22T17:32:33Z")

</div>

We are serious and legit seller and also solution to internet business where many customers are afraid of trading online.We are manufacturers representaives,we buy in larger units(BULK) from the manufacturers who we have…

---

## [Passing a Variable Between ASPX (C#) and Flash](https://forum.kirupa.com/t/passing-a-variable-between-aspx-c-and-flash/305273)

<div class="topic-metadata">

**Author:** [@halfdrawn](https://forum.kirupa.com/u/halfdrawn)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 5:30pm UTC](https://forum.kirupa.com/t/passing-a-variable-between-aspx-c-and-flash/305273 "2010-02-22T17:30:18Z")

</div>

Hello This is my first venture trying to combine Flash and ASP, although I have come to a snag, I cant seem to transfer the variable from my ASP into my movie. I have got the variable from the address bar (...?id=1) …

---

## [creationComplete function](https://forum.kirupa.com/t/creationcomplete-function/305272)

<div class="topic-metadata">

**Author:** [@Mugsy](https://forum.kirupa.com/u/Mugsy)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 5:06pm UTC](https://forum.kirupa.com/t/creationcomplete-function/305272 "2010-02-22T17:06:47Z")

</div>

I am a newbie to ActionScript, but have OO experience.. How to I get the creationComplete function so that I can safely access swf objects? I thought going to the parent of all (the stage?) would work.. I have tried …

---

## [scrollRect without Rectangle class](https://forum.kirupa.com/t/scrollrect-without-rectangle-class/305268)

<div class="topic-metadata">

**Author:** [@Roland684](https://forum.kirupa.com/u/Roland684)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 3:50pm UTC](https://forum.kirupa.com/t/scrollrect-without-rectangle-class/305268 "2010-02-22T15:50:41Z")

</div>

Is it possicle to use scrollRect without the flash.geom.Rectangle class? I know the scrollrect can be used like this: import flash.geom.Rectangle; myMC.scrollRect = new Rectangle(10,10,100,100); I need to make a…

---

## [How to embed youtube video into flash using AS3](https://forum.kirupa.com/t/how-to-embed-youtube-video-into-flash-using-as3/305265)

<div class="topic-metadata">

**Author:** [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 3:24pm UTC](https://forum.kirupa.com/t/how-to-embed-youtube-video-into-flash-using-as3/305265 "2010-02-22T15:24:41Z")

</div>

Hello Searching the web, found the as bellow to load a video from youtube into my flash site. System.security.allowDomain("www.youtube.com"); videoLoader.loadMovie("http://www.youtube.com/watch?v=BuyLJ1\_gkHg"); t…

---

## [Some questions with buttons](https://forum.kirupa.com/t/some-questions-with-buttons/305263)

<div class="topic-metadata">

**Author:** [@cristy4s](https://forum.kirupa.com/u/cristy4s)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 3:07pm UTC](https://forum.kirupa.com/t/some-questions-with-buttons/305263 "2010-02-22T15:07:00Z")

</div>

Hello. I want to create a button (not a rectangle; a form created with the pen tool) that can change it's \*\*gradient. \*\*Let's say that initially the button has a black-white gradient and when I press another button the g…

---

## [How to script to play a MC followed by another MC etc etc](https://forum.kirupa.com/t/how-to-script-to-play-a-mc-followed-by-another-mc-etc-etc/305258)

<div class="topic-metadata">

**Author:** [@cAPS\_lOCK](https://forum.kirupa.com/u/cAPS_lOCK)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 2:13pm UTC](https://forum.kirupa.com/t/how-to-script-to-play-a-mc-followed-by-another-mc-etc-etc/305258 "2010-02-22T14:13:47Z")

</div>

So I'm making a long 4-5 minute animation. I tried one of these before but had everything on the main timeline and it got out of hand being 10,000 frames long. Eddits kept coming in and changing it was a huge hassle. T…

---

## [AS3 help with stopping Vimeo Video - help please!](https://forum.kirupa.com/t/as3-help-with-stopping-vimeo-video-help-please/305257)

<div class="topic-metadata">

**Author:** [@magicRoyal](https://forum.kirupa.com/u/magicRoyal)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 1:54pm UTC](https://forum.kirupa.com/t/as3-help-with-stopping-vimeo-video-help-please/305257 "2010-02-22T13:54:01Z")

</div>

I am quite new to AS3, and I am finding a few things tricky. I have imported a link to a Vimeo Video in Flash CS4 using AS3, with the following code: stop(); btnNextProject.addEventListener(MouseEvent.CLICK, advanc…

---

## [Site Intro Question](https://forum.kirupa.com/t/site-intro-question/305256)

<div class="topic-metadata">

**Author:** [@fourtwentybuddy](https://forum.kirupa.com/u/fourtwentybuddy)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 1:36pm UTC](https://forum.kirupa.com/t/site-intro-question/305256 "2010-02-22T13:36:51Z")

</div>

I have a flash template of a complete website. I want to add a flash movie as the intro and be able to click on the movie to enter Scene 1 of the website. I have added the componets of the intro movie to Scene 1 Frame 1 …

---

## [Timer in timer](https://forum.kirupa.com/t/timer-in-timer/305253)

<div class="topic-metadata">

**Author:** [@SLaY](https://forum.kirupa.com/u/SLaY)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 12:16pm UTC](https://forum.kirupa.com/t/timer-in-timer/305253 "2010-02-22T12:16:18Z")

</div>

Hey guys, i'm having a problem doing this, i have a timer in a timer, but it only runs once, after the first time only the second timer works var rolltime:Timer = new Timer (5000); rolltime.addEventListener(TimerEvent…

---

## [Newbie Q: making flash content safe to browser](https://forum.kirupa.com/t/newbie-q-making-flash-content-safe-to-browser/305251)

<div class="topic-metadata">

**Author:** [@AndyZ](https://forum.kirupa.com/u/AndyZ)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 11:32am UTC](https://forum.kirupa.com/t/newbie-q-making-flash-content-safe-to-browser/305251 "2010-02-22T11:32:45Z")

</div>

I made some flash content and posted it to a google sites web page. It shows up in IE and firefox though the first time you have to answer no to only showing safe content or something. In chrome it does not show up at al…

---

## [Output mySQL data as XML with java](https://forum.kirupa.com/t/output-mysql-data-as-xml-with-java/305249)

<div class="topic-metadata">

**Author:** [@swetharaghav](https://forum.kirupa.com/u/swetharaghav)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 9:31am UTC](https://forum.kirupa.com/t/output-mysql-data-as-xml-with-java/305249 "2010-02-22T09:31:14Z")

</div>

Hi, http://www.kirupa.com/web/mysql\_xml\_php.htm simple and very nice example. Thank you \[smile\] I want to know if I can do the same thing with java. Can I output the mysql data as xml in a java class and return it …

---

## [XML text spacing](https://forum.kirupa.com/t/xml-text-spacing/305248)

<div class="topic-metadata">

**Author:** [@junior\_kimbroug](https://forum.kirupa.com/u/junior_kimbroug)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 9:09am UTC](https://forum.kirupa.com/t/xml-text-spacing/305248 "2010-02-22T09:09:13Z")

</div>

Hi, I import XML text in a textfield in my flash project. How can I control the spacing between the rows? Make it smaller or larger... Kind regards Rob

---

## [What is the best way to have many characters?](https://forum.kirupa.com/t/what-is-the-best-way-to-have-many-characters/305246)

<div class="topic-metadata">

**Author:** [@ivelrrat](https://forum.kirupa.com/u/ivelrrat)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 8:10am UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-have-many-characters/305246 "2010-02-22T08:10:01Z")

</div>

I just started working on a game just to see if i could do it and its fun working on it but now I'm not sure what to do next. The game so far is a turn based fighting game similar to pokemon on the game boy. My quest…

---

## [RE: form scripting problem into current webpage](https://forum.kirupa.com/t/re-form-scripting-problem-into-current-webpage/305245)

<div class="topic-metadata">

**Author:** [@xxsassxx31](https://forum.kirupa.com/u/xxsassxx31)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 7:42am UTC](https://forum.kirupa.com/t/re-form-scripting-problem-into-current-webpage/305245 "2010-02-22T07:42:56Z")

</div>

Hello all, I am trying to put a form script into my current webpage which is http://gcloan.com/default.htm but the problem that I am running into is that every time I put the form script onto it the content of the curren…

---

## [Completely Dynamic ScoreBoard](https://forum.kirupa.com/t/completely-dynamic-scoreboard/305244)

<div class="topic-metadata">

**Author:** [@Mad\_Aussie](https://forum.kirupa.com/u/Mad_Aussie)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 7:40am UTC](https://forum.kirupa.com/t/completely-dynamic-scoreboard/305244 "2010-02-22T07:40:37Z")

</div>

Afternoon gentlepeeps! Well for my first question after trolling this (truly awesome) forum is a bit of a doozie. I'm building a dynamic scoreboard for a client currently. The first application will be a golf leaderb…

---

## [Error in external swf](https://forum.kirupa.com/t/error-in-external-swf/305240)

<div class="topic-metadata">

**Author:** [@laur1](https://forum.kirupa.com/u/laur1)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 4:42am UTC](https://forum.kirupa.com/t/error-in-external-swf/305240 "2010-02-22T04:42:42Z")

</div>

Cheerio ! I made an mp3 player that works very well but when it is loaded not working Below is the mp3 code stop(); title\_txt.autoSize = "left"; timeDisplay\_txt.autoSize = "left"; toolTip.\_visible = false; var amountL…

---

## [List Generator](https://forum.kirupa.com/t/list-generator/305235)

<div class="topic-metadata">

**Author:** [@johnplisken](https://forum.kirupa.com/u/johnplisken)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 2:20am UTC](https://forum.kirupa.com/t/list-generator/305235 "2010-02-22T02:20:33Z")

</div>

Hey Guys, I was wondering if anyone could point me to a tutorial, or instruct on how to program a list generator. The idea is basically to get a few inputs from the user, and then based on that data generate a list. …

---

## [m3u8 file support for flash lite](https://forum.kirupa.com/t/m3u8-file-support-for-flash-lite/305233)

<div class="topic-metadata">

**Author:** [@sprlengchai](https://forum.kirupa.com/u/sprlengchai)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 1:37am UTC](https://forum.kirupa.com/t/m3u8-file-support-for-flash-lite/305233 "2010-02-22T01:37:43Z")

</div>

hi all, recently i need develop a flash lite that can parse m3u8 file and play movie in web mobile. But i found that NetStream only can support 1 flv file at 1 time. Is that any method can multiple file in 1 NetStream or…

---

## [Reference a dynamic movieclip from an outside movieclip](https://forum.kirupa.com/t/reference-a-dynamic-movieclip-from-an-outside-movieclip/305232)

<div class="topic-metadata">

**Author:** [@tykebikemike](https://forum.kirupa.com/u/tykebikemike)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 12:19am UTC](https://forum.kirupa.com/t/reference-a-dynamic-movieclip-from-an-outside-movieclip/305232 "2010-02-22T00:19:50Z")

</div>

Hey everybody i have created a movieclip (parentMC) that houses two movieclips within it (childA and childB) in childA, i am dynamically creating movieclips via a loop: var newX = 0; var pagTotal = 8; for(i=1; i\<pa…

---

## [Question about database rows](https://forum.kirupa.com/t/question-about-database-rows/305231)

<div class="topic-metadata">

**Author:** [@drummer392](https://forum.kirupa.com/u/drummer392)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 11:39pm UTC](https://forum.kirupa.com/t/question-about-database-rows/305231 "2010-02-21T23:39:52Z")

</div>

I have this code, and what I am attempting to do is count rows in a table. What isn't working, is if there aren't any rows in the table, then it won't return as "0". How can I do that? $getcomments = mysql\_query("SE…

---

## [Video player w/ play button overlay?](https://forum.kirupa.com/t/video-player-w-play-button-overlay/305229)

<div class="topic-metadata">

**Author:** [@lectersmeal](https://forum.kirupa.com/u/lectersmeal)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 10:15pm UTC](https://forum.kirupa.com/t/video-player-w-play-button-overlay/305229 "2010-02-21T22:15:16Z")

</div>

How can I add a play button image on top of a video display? The video display is contained within a panel. If I try to add an image on top of the display, it just messes up my layout and goes above/below it. Any suggest…

---

## [Multiple interfaces with identically named functions](https://forum.kirupa.com/t/multiple-interfaces-with-identically-named-functions/305226)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 9:56pm UTC](https://forum.kirupa.com/t/multiple-interfaces-with-identically-named-functions/305226 "2010-02-21T21:56:22Z")

</div>

Let’s say I have three Interfaces with a structure as such: public interface IRegular public function toFull(); public function toSlim(); public interface IFull public function toRegular(); public function toSlim…

---

## [How Would This Be Done In AS3?](https://forum.kirupa.com/t/how-would-this-be-done-in-as3/305225)

<div class="topic-metadata">

**Author:** [@Danny0123](https://forum.kirupa.com/u/Danny0123)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 9:52pm UTC](https://forum.kirupa.com/t/how-would-this-be-done-in-as3/305225 "2010-02-21T21:52:43Z")

</div>

So, I'm learning AS3, and I was wondering how I would make a code in AS3 that makes an enemy from the library spawn every 1 second or so. And it needs to be where there can be as many instances of this enemy as you want …

---

## [AS3 Code for Google Chrome new tab page](https://forum.kirupa.com/t/as3-code-for-google-chrome-new-tab-page/305224)

<div class="topic-metadata">

**Author:** [@rkalexander](https://forum.kirupa.com/u/rkalexander)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 9:44pm UTC](https://forum.kirupa.com/t/as3-code-for-google-chrome-new-tab-page/305224 "2010-02-21T21:44:13Z")

</div>

I am developing an app that has similar functionality as the Google Chrome new tab page. You can see it by opening Chrome and clicking the new page tab. I believe that it was written in jquery or something non-flash. …

---

## [Preloader not working in Safari , works fine in Firefox?](https://forum.kirupa.com/t/preloader-not-working-in-safari-works-fine-in-firefox/305220)

<div class="topic-metadata">

**Author:** [@bgamache](https://forum.kirupa.com/u/bgamache)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 7:46pm UTC](https://forum.kirupa.com/t/preloader-not-working-in-safari-works-fine-in-firefox/305220 "2010-02-21T19:46:09Z")

</div>

my site is comprised of several images loaded dynamically and added to the display list. i declare a bunch of loaders on the first frame, and add a preloader progress listener to the largest image to have one preloader f…

---

## [Separate preloader SWF](https://forum.kirupa.com/t/separate-preloader-swf/305219)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 7:11pm UTC](https://forum.kirupa.com/t/separate-preloader-swf/305219 "2010-02-21T19:11:24Z")

</div>

Usually for my preloaders I have a separate swf that loads my main swf. Can anyone see any reasons this would be bad?

---

## [Animated rollover on top of an animated rollover?...HElp!](https://forum.kirupa.com/t/animated-rollover-on-top-of-an-animated-rollover-help/305218)

<div class="topic-metadata">

**Author:** [@media\_mixx](https://forum.kirupa.com/u/media_mixx)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 7:04pm UTC](https://forum.kirupa.com/t/animated-rollover-on-top-of-an-animated-rollover-help/305218 "2010-02-21T19:04:06Z")

</div>

I have been struggling with a particular problem that I hope I can get some help on. I have a MC with a horizontal bar that appears on a rollover - goes from a 0 alpha to 50%. In that horizontal bar are some thumbnails…

---

## [How can I kill a function if a inputTextField is empty](https://forum.kirupa.com/t/how-can-i-kill-a-function-if-a-inputtextfield-is-empty/305217)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 6:51pm UTC](https://forum.kirupa.com/t/how-can-i-kill-a-function-if-a-inputtextfield-is-empty/305217 "2010-02-21T18:51:37Z")

</div>

Hi, I have a small aplication with two inputTextFields and a button, when the button is pressed it triggers a function that calculates the value in the two text fields, and everything is fine but when the textFileds ar…

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

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