# programming

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

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

**Page:** 719

---

## [Vertical Scroller for Rhamej's XML Gallery/Slideshow](https://forum.kirupa.com/t/vertical-scroller-for-rhamejs-xml-gallery-slideshow/294810)

<div class="topic-metadata">

**Author:** [@jumpsuit1](https://forum.kirupa.com/u/jumpsuit1)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 5:01am UTC](https://forum.kirupa.com/t/vertical-scroller-for-rhamejs-xml-gallery-slideshow/294810 "2009-08-20T05:01:05Z")

</div>

I want to make the scroller vertical for this very impressive XML: http://www.kirupa.com/forum/showthread.php?t=202132&highlight=vertical I'm sorry for posting this question in here as usually you want to keep question…

---

## [Div overlay, object problem](https://forum.kirupa.com/t/div-overlay-object-problem/294808)

<div class="topic-metadata">

**Author:** [@energyzed](https://forum.kirupa.com/u/energyzed)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 4:37am UTC](https://forum.kirupa.com/t/div-overlay-object-problem/294808 "2009-08-20T04:37:31Z")

</div>

Hello all. New here. Have an annoying problem that I can't seem to fix! I did a DIV overlay for a myspace band page (www.myspace.com/thepeardevicetest) The youtube player and Shows widget show up in the right secti…

---

## [TextFieldAutoSize.RIGHT;](https://forum.kirupa.com/t/textfieldautosize-right/294802)

<div class="topic-metadata">

**Author:** [@vxd](https://forum.kirupa.com/u/vxd)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 2:43am UTC](https://forum.kirupa.com/t/textfieldautosize-right/294802 "2009-08-20T02:43:40Z")

</div>

I'm looking for an explanation on why when I use TextFieldAutoSize.RIGHT; x != 0 Here my code package { import flash.events.\*; import flash.display.Sprite; import flash.text.TextField; import flas…

---

## [Help with some code](https://forum.kirupa.com/t/help-with-some-code/294799)

<div class="topic-metadata">

**Author:** [@Macros247](https://forum.kirupa.com/u/Macros247)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:59am UTC](https://forum.kirupa.com/t/help-with-some-code/294799 "2009-08-20T01:59:01Z")

</div>

View this first please!!!! http://spamtheweb.com/ul/upload/200809/10554\_example.swf Now what I want is the dog to disappear when you click button 1 and the cat to disappear when you click button 2. Simple right? But …

---

## [How to apply a TextFormat to a TextField in a super class?](https://forum.kirupa.com/t/how-to-apply-a-textformat-to-a-textfield-in-a-super-class/294798)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:58am UTC](https://forum.kirupa.com/t/how-to-apply-a-textformat-to-a-textfield-in-a-super-class/294798 "2009-08-20T01:58:20Z")

</div>

How can I apply a TextFormat to a TextField instance in a super class? // This doesn't seem to work: var textFormat:TextFormat = new TextFormat(); textFormat.size = 24; super.alertText.setTextFormat(text…

---

## [How to change dynamic text height in a menu](https://forum.kirupa.com/t/how-to-change-dynamic-text-height-in-a-menu/294797)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 1:29am UTC](https://forum.kirupa.com/t/how-to-change-dynamic-text-height-in-a-menu/294797 "2009-08-20T01:29:28Z")

</div>

I have a menu like the one here. I need some of the menus to be 2 lines and others single line. Basically, the menu is set to use dynamic text with multiple lines and word wrap inside a movie clip. So far, I can eithe…

---

## [PHP: problem updating mysql database](https://forum.kirupa.com/t/php-problem-updating-mysql-database/294794)

<div class="topic-metadata">

**Author:** [@mung](https://forum.kirupa.com/u/mung)\
**Replies:** 0\
**Last updated:** [August 20, 2009, 12:43am UTC](https://forum.kirupa.com/t/php-problem-updating-mysql-database/294794 "2009-08-20T00:43:43Z")

</div>

hi all, basically ive integrated the update.php into a page callef requestdetails.php, everything looks fine regarding the code, ive tried 3 hours of trial and error, chopping and changing and i keep getting an error eve…

---

## [Checking if string value is an integer](https://forum.kirupa.com/t/checking-if-string-value-is-an-integer/294790)

<div class="topic-metadata">

**Author:** [@anakadote](https://forum.kirupa.com/u/anakadote)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 11:38pm UTC](https://forum.kirupa.com/t/checking-if-string-value-is-an-integer/294790 "2009-08-19T23:38:29Z")

</div>

Is there a way to check if a string value loaded from a php script is actually a number? //Doesn't work even when the value of evt.data is an integer, because AS thinks it's a string: ... var returnValue:\* = evt.data;…

---

## [Flash WebSite logic](https://forum.kirupa.com/t/flash-website-logic/294789)

<div class="topic-metadata">

**Author:** [@spelltox](https://forum.kirupa.com/u/spelltox)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:45pm UTC](https://forum.kirupa.com/t/flash-website-logic/294789 "2009-08-19T22:45:38Z")

</div>

Hi Guys ! I'm new to flash (using cs3). I've built a website layot with a simple navBar and 3 pages, But there are 2 things going wrong there : take a look in the attached untitled-1.fla : The scroll bar only work…

---

## [Problems with Cue Points](https://forum.kirupa.com/t/problems-with-cue-points/294788)

<div class="topic-metadata">

**Author:** [@yateslevi](https://forum.kirupa.com/u/yateslevi)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:30pm UTC](https://forum.kirupa.com/t/problems-with-cue-points/294788 "2009-08-19T22:30:12Z")

</div>

Hello everyone, I'm hoping someone can help me out with this. What I want to do, is set cue points in my flash video and have the video pause when it gets to those points until the user clicks the "Continue" button, t…

---

## [currentFrame of movieclip](https://forum.kirupa.com/t/currentframe-of-movieclip/294787)

<div class="topic-metadata">

**Author:** [@AcolyTe](https://forum.kirupa.com/u/AcolyTe)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:16pm UTC](https://forum.kirupa.com/t/currentframe-of-movieclip/294787 "2009-08-19T22:16:23Z")

</div>

Does anyone know a good way to acquire the currentFrame of a movieclip symbol placed on the main timeline? currently there is only 1 frame, but the movieclip has 50. If i trace currentFrame, i only get 1. and tracing t…

---

## [FLVPlayback, bandwith useage](https://forum.kirupa.com/t/flvplayback-bandwith-useage/294786)

<div class="topic-metadata">

**Author:** [@anemor2000](https://forum.kirupa.com/u/anemor2000)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 10:12pm UTC](https://forum.kirupa.com/t/flvplayback-bandwith-useage/294786 "2009-08-19T22:12:13Z")

</div>

Hello you all, here is my problem : I am streaming a video with FLVPlayback, at some point I also load other swfs in my application (using Loader class, standard loading procedure). The problem is, when the video is str…

---

## [A Line From One Point Past Another Point, And Whether It Hits an Object?](https://forum.kirupa.com/t/a-line-from-one-point-past-another-point-and-whether-it-hits-an-object/294785)

<div class="topic-metadata">

**Author:** [@jebego](https://forum.kirupa.com/u/jebego)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:13pm UTC](https://forum.kirupa.com/t/a-line-from-one-point-past-another-point-and-whether-it-hits-an-object/294785 "2009-08-19T21:13:26Z")

</div>

I am using AS2 with Flash 8 Professional So, my problem is that I currently have a man in the middle of the screen, who shoots a line towards the mouse when I click. However, when I use hitTest to see if the line colli…

---

## [How did you learn actionscript?](https://forum.kirupa.com/t/how-did-you-learn-actionscript/294784)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:09pm UTC](https://forum.kirupa.com/t/how-did-you-learn-actionscript/294784 "2009-08-19T21:09:58Z")

</div>

I have been using Flash for several years now but I need to get serious about learning actionscript. I have done quite a few things with actionscript but I don't really understand it... I'm going to be starting a massive…

---

## [Simply change color of MC via FlashVars](https://forum.kirupa.com/t/simply-change-color-of-mc-via-flashvars/294783)

<div class="topic-metadata">

**Author:** [@Persistent1](https://forum.kirupa.com/u/Persistent1)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 9:01pm UTC](https://forum.kirupa.com/t/simply-change-color-of-mc-via-flashvars/294783 "2009-08-19T21:01:30Z")

</div>

I'm setting up a simple Flash file (AS3) & want to check a flashvar on the first frame of my movie. The flashvar would be boolean to switch between two different values. If the flashvar is true the background MC would be…

---

## [Fade in a picture](https://forum.kirupa.com/t/fade-in-a-picture/294782)

<div class="topic-metadata">

**Author:** [@khaggard](https://forum.kirupa.com/u/khaggard)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 8:56pm UTC](https://forum.kirupa.com/t/fade-in-a-picture/294782 "2009-08-19T20:56:33Z")

</div>

Hi, I would like my picture to fade in, how do I do it? I load my image like this: var imageFolder:String = "main\_pictures/"; var imageArray:Array = \[imageFolder + "picture.png"\]; //Container var imagecontainer:Sprit…

---

## [Days without accident counter](https://forum.kirupa.com/t/days-without-accident-counter/294781)

<div class="topic-metadata">

**Author:** [@TMC](https://forum.kirupa.com/u/TMC)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 8:47pm UTC](https://forum.kirupa.com/t/days-without-accident-counter/294781 "2009-08-19T20:47:31Z")

</div>

Hi! I'm looking for some help in creating a script for "Days without Accident" counter, that the end user would be able not only reset, but choose the number of days to begin the count down with, without interfering with…

---

## [AS3: unable to add a CLICK function to a class](https://forum.kirupa.com/t/as3-unable-to-add-a-click-function-to-a-class/294778)

<div class="topic-metadata">

**Author:** [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 7:52pm UTC](https://forum.kirupa.com/t/as3-unable-to-add-a-click-function-to-a-class/294778 "2009-08-19T19:52:38Z")

</div>

When using the class listed below, I am unable to add a CLICK function that will not break the piece. I want to add another tween on CLICK that clears all mcs off of the stage except the e.target, which will have a zoom…

---

## [Nested textbox not displaying text](https://forum.kirupa.com/t/nested-textbox-not-displaying-text/294776)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 6:34pm UTC](https://forum.kirupa.com/t/nested-textbox-not-displaying-text/294776 "2009-08-19T18:34:49Z")

</div>

I made a movie clip to show instructions for a study people will participate in. I wanted to make it look nice so it has a lot of movement and fades and stuff. This required the use of more nested movie clips than i pr…

---

## [InFrame Target Question](https://forum.kirupa.com/t/inframe-target-question/294775)

<div class="topic-metadata">

**Author:** [@Monacle](https://forum.kirupa.com/u/Monacle)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 6:20pm UTC](https://forum.kirupa.com/t/inframe-target-question/294775 "2009-08-19T18:20:33Z")

</div>

I'm using CS4 Professional, and having a hard time emulating our old site. The original developer lost the .fla file, and decompilers have been no help in trying to extract what I need. Basically, I need a webpage to …

---

## [I'm getting blank emails using php contact forms](https://forum.kirupa.com/t/im-getting-blank-emails-using-php-contact-forms/294774)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 5:55pm UTC](https://forum.kirupa.com/t/im-getting-blank-emails-using-php-contact-forms/294774 "2009-08-19T17:55:25Z")

</div>

Hey guys, Got bit of a dilemma. I've created a form in php for my website, somehow i'm getting blank emails every 2 or 3 weeks. The form works great when people enter data but at times, I just receive nothing. I tested…

---

## [Need mute button in flash to carry over to other html pages](https://forum.kirupa.com/t/need-mute-button-in-flash-to-carry-over-to-other-html-pages/294773)

<div class="topic-metadata">

**Author:** [@Heerefishyfish](https://forum.kirupa.com/u/Heerefishyfish)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 5:46pm UTC](https://forum.kirupa.com/t/need-mute-button-in-flash-to-carry-over-to-other-html-pages/294773 "2009-08-19T17:46:37Z")

</div>

I've found an example of this http://www.sitepal.com/showcases If you click on the mute button at the top, then navigate to another page, the mute button stays clicked. I have a decompiler, and pulled the code out …

---

## [XML Attributes using XSL](https://forum.kirupa.com/t/xml-attributes-using-xsl/294770)

<div class="topic-metadata">

**Author:** [@jrreedy16](https://forum.kirupa.com/u/jrreedy16)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 5:02pm UTC](https://forum.kirupa.com/t/xml-attributes-using-xsl/294770 "2009-08-19T17:02:18Z")

</div>

Anyone have any suggestions on some XSL I can write to pull the data out of the nodes using the attributes for each node? I'm trying to get the data between \<Answer\>\</Answer\> using the attributes through XSL. \[INDENT\]…

---

## [Button Problems =(](https://forum.kirupa.com/t/button-problems/294769)

<div class="topic-metadata">

**Author:** [@catzzzvb](https://forum.kirupa.com/u/catzzzvb)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 4:58pm UTC](https://forum.kirupa.com/t/button-problems/294769 "2009-08-19T16:58:02Z")

</div>

Hey I have a issue here with my buttons.. Everything SEEMS to be simple, but nothing will work. I have a scene that starts up, and loads the entire movie, which works perfectly. Then after that happens, I have the m…

---

## [Formatting Date from RSS XML](https://forum.kirupa.com/t/formatting-date-from-rss-xml/294768)

<div class="topic-metadata">

**Author:** [@Spykes](https://forum.kirupa.com/u/Spykes)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 4:20pm UTC](https://forum.kirupa.com/t/formatting-date-from-rss-xml/294768 "2009-08-19T16:20:54Z")

</div>

I have a date field in my RSS XML field. I would like to display just the month and day in my Flash rotator. How can I parse just the data I need? XML: \<pubDate\>Tue, 18 Aug 2009 15:28:58 CST\</pubDate\> I would like …

---

## [onRollOver/onRollOut/onRelease issue](https://forum.kirupa.com/t/onrollover-onrollout-onrelease-issue/294766)

<div class="topic-metadata">

**Author:** [@FrancisBetty](https://forum.kirupa.com/u/FrancisBetty)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 4:02pm UTC](https://forum.kirupa.com/t/onrollover-onrollout-onrelease-issue/294766 "2009-08-19T16:02:17Z")

</div>

Hi all, Sorry if i'm posting something that has been discussed before but the only post i found regarding this was from 2006, so i decided to start fresh. The code here does the job, but the issue starts when i add a s…

---

## [iPhone-like (slot machine) ‘picker’ select box for Flash/AS3?](https://forum.kirupa.com/t/iphone-like-slot-machine-picker-select-box-for-flash-as3/294765)

<div class="topic-metadata">

**Author:** [@hillbillysurf](https://forum.kirupa.com/u/hillbillysurf)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 3:53pm UTC](https://forum.kirupa.com/t/iphone-like-slot-machine-picker-select-box-for-flash-as3/294765 "2009-08-19T15:53:40Z")

</div>

Does anyone have any experience or examples of similar functionality to the Iphone's Picker View to the in Flash/AS3? I'm working on a touch screen flash application and would love to use something like this for a time …

---

## [ADVANCED: Undocumented "MainTimeLine" class](https://forum.kirupa.com/t/advanced-undocumented-maintimeline-class/294764)

<div class="topic-metadata">

**Author:** [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 3:50pm UTC](https://forum.kirupa.com/t/advanced-undocumented-maintimeline-class/294764 "2009-08-19T15:50:12Z")

</div>

Has anyone ever put this code in the timeline? trace(this); //result: \[object MainTimeline\] However, the AS3 Language Reference says nothing about this class "MainTimeline". In addition, trying to create a new Main…

---

## [simpleButtons dissapearing](https://forum.kirupa.com/t/simplebuttons-dissapearing/294762)

<div class="topic-metadata">

**Author:** [@acebuddy29](https://forum.kirupa.com/u/acebuddy29)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 3:12pm UTC](https://forum.kirupa.com/t/simplebuttons-dissapearing/294762 "2009-08-19T15:12:05Z")

</div>

here is my code //game\_display\_bitmapData is an object which contains bitmap data. this bitmap data is loaded from an XML file. var option\_button:SimpleButton=create\_a\_button("grunge\_button",50,360); var about\_button…

---

## [Do I need to embed characters when using TextField type password?](https://forum.kirupa.com/t/do-i-need-to-embed-characters-when-using-textfield-type-password/294761)

<div class="topic-metadata">

**Author:** [@Swooter](https://forum.kirupa.com/u/Swooter)\
**Replies:** 0\
**Last updated:** [August 19, 2009, 2:20pm UTC](https://forum.kirupa.com/t/do-i-need-to-embed-characters-when-using-textfield-type-password/294761 "2009-08-19T14:20:27Z")

</div>

Do I need to embed the whole font when using TextField.type = password? Or only the asterix character?

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

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