# programming

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

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

**Page:** 1515

---

## [Popups without javascript](https://forum.kirupa.com/t/popups-without-javascript/240945)

<div class="topic-metadata">

**Author:** [@Littleberu](https://forum.kirupa.com/u/Littleberu)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 5:31pm UTC](https://forum.kirupa.com/t/popups-without-javascript/240945 "2007-10-08T17:31:52Z")

</div>

So in my last thread (http://www.kirupa.com/forum/showthread.php?t=277504) we figured out that javascript will never work offline. So I'm trying to find a way to popup without javascript. I just need an image to popup …

---

## [\[AIR\] Draging Files](https://forum.kirupa.com/t/air-draging-files/240944)

<div class="topic-metadata">

**Author:** [@Gazurt](https://forum.kirupa.com/u/Gazurt)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 5:11pm UTC](https://forum.kirupa.com/t/air-draging-files/240944 "2007-10-08T17:11:28Z")

</div>

I have a code:\[AS\] import flash.desktop.TransferableData import flash.events.NativeDragEvent; function suruklendiginde(event:NativeDragEvent):void { var trData:TransferableData = event.transferable; if (trData.hasFo…

---

## [Expression BLEND help](https://forum.kirupa.com/t/expression-blend-help/240943)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 4:24pm UTC](https://forum.kirupa.com/t/expression-blend-help/240943 "2007-10-08T16:24:31Z")

</div>

Hi All Can anyone please tell me, when i had downloaded the "May-Preview" and "August-Preview" of expression Blend, it has 3 options for "New Project Type" : 1. Standard EXE 2. Control Library and 3. Silverlight Appl…

---

## [Convert input box entry to a number/integer](https://forum.kirupa.com/t/convert-input-box-entry-to-a-number-integer/240940)

<div class="topic-metadata">

**Author:** [@terrapods](https://forum.kirupa.com/u/terrapods)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 3:09pm UTC](https://forum.kirupa.com/t/convert-input-box-entry-to-a-number-integer/240940 "2007-10-08T15:09:25Z")

</div>

I have an input box which I enter a numerical value into, I want to compare this value with a variable (\_total), but beause its a string it won't compare it to a number value, I've tried varius things including parseInt(…

---

## [Javascript and offline data](https://forum.kirupa.com/t/javascript-and-offline-data/240939)

<div class="topic-metadata">

**Author:** [@Littleberu](https://forum.kirupa.com/u/Littleberu)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 3:02pm UTC](https://forum.kirupa.com/t/javascript-and-offline-data/240939 "2007-10-08T15:02:51Z")

</div>

Hey guys! I'm making my portfolio, and I need it to be accessible offline. However, in IE and Firefox, the browser tries to access online data when we click on the button containing a javascript popup. In Firefox, i…

---

## [PHP - price validation script](https://forum.kirupa.com/t/php-price-validation-script/240938)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 3:02pm UTC](https://forum.kirupa.com/t/php-price-validation-script/240938 "2007-10-08T15:02:43Z")

</div>

I have searched for a script like this one but I can't find it. I'm trying to make a price validation script that will allow strings like... \[LIST\] \[\*\]42 \[\*\]42.5 \[\*\]42.50 \[/LIST\] But will disallow and prompt me for str…

---

## [Loading images from an Array generated from XML](https://forum.kirupa.com/t/loading-images-from-an-array-generated-from-xml/240937)

<div class="topic-metadata">

**Author:** [@djanim8](https://forum.kirupa.com/u/djanim8)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 2:48pm UTC](https://forum.kirupa.com/t/loading-images-from-an-array-generated-from-xml/240937 "2007-10-08T14:48:29Z")

</div>

OK, this is my first day trying to use AS3 and I'm kind of confused on how to load an image onto the screen and then be able to resize it, scale it, etc.. I'm loading up to 5 images in from an XML file that will be gen…

---

## [Moving data from HTTP service to a component](https://forum.kirupa.com/t/moving-data-from-http-service-to-a-component/240936)

<div class="topic-metadata">

**Author:** [@Mg1975](https://forum.kirupa.com/u/Mg1975)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 2:41pm UTC](https://forum.kirupa.com/t/moving-data-from-http-service-to-a-component/240936 "2007-10-08T14:41:21Z")

</div>

Hey Is it possible to move data from a HTTP service into another Component? In the Application I start the HTTP service (for getting a Rss xml). But how can I get the data from the HTTP service over in another or a e…

---

## [Word to PDf using PHP](https://forum.kirupa.com/t/word-to-pdf-using-php/240933)

<div class="topic-metadata">

**Author:** [@tombruty](https://forum.kirupa.com/u/tombruty)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 2:20pm UTC](https://forum.kirupa.com/t/word-to-pdf-using-php/240933 "2007-10-08T14:20:15Z")

</div>

Hi all, I'm trying to find a way in which I can upload a Word document and it will automatically be converted to a PDF using PHP. I haven't been able to find a solution as yet. Any help would be great. Thanks

---

## [How should this portfolio be set up?](https://forum.kirupa.com/t/how-should-this-portfolio-be-set-up/240932)

<div class="topic-metadata">

**Author:** [@NHansen](https://forum.kirupa.com/u/NHansen)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 2:16pm UTC](https://forum.kirupa.com/t/how-should-this-portfolio-be-set-up/240932 "2007-10-08T14:16:30Z")

</div>

Ok, so I'm about to make a preloader of sorts, but have run into a problem because I have multiple SWFs being externally loaded in different locations. http://therealnickhansen.com/sub As of now, it's setup like so: M…

---

## [Desktop mp3 player in Adobe AIR with AS3](https://forum.kirupa.com/t/desktop-mp3-player-in-adobe-air-with-as3/240930)

<div class="topic-metadata">

**Author:** [@rajesh\_kumar78](https://forum.kirupa.com/u/rajesh_kumar78)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 1:41pm UTC](https://forum.kirupa.com/t/desktop-mp3-player-in-adobe-air-with-as3/240930 "2007-10-08T13:41:55Z")

</div>

Hi, Desktop mp3 player completly done in ADOBE AIR with AS3. http://neoflex.wordpress.com/ Rajesh Kumar

---

## [2 functions.....1 state......argggghhhhhhh](https://forum.kirupa.com/t/2-functions-1-state-argggghhhhhhh/240929)

<div class="topic-metadata">

**Author:** [@gibry21](https://forum.kirupa.com/u/gibry21)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 1:21pm UTC](https://forum.kirupa.com/t/2-functions-1-state-argggghhhhhhh/240929 "2007-10-08T13:21:48Z")

</div>

Right I'm going to try and explain this again...simpler and maybe see if anybody can help. Basically, I have 6 instances of 1 button, I have written 2 functions "over" and "out", these functions are used simply to cont…

---

## [Scope](https://forum.kirupa.com/t/scope/240924)

<div class="topic-metadata">

**Author:** [@wanda](https://forum.kirupa.com/u/wanda)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 11:29am UTC](https://forum.kirupa.com/t/scope/240924 "2007-10-08T11:29:50Z")

</div>

Hi guys I am developing a mobile application for the new Nokia N95 but i am having some problems. This is Flash Lite 2.0 by the way. I want to use the softkeys to unload movieclips so that i can go back. I have for…

---

## [Filereference Ghost](https://forum.kirupa.com/t/filereference-ghost/240923)

<div class="topic-metadata">

**Author:** [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 11:23am UTC](https://forum.kirupa.com/t/filereference-ghost/240923 "2007-10-08T11:23:32Z")

</div>

hello every one.. i am facing a strange problem , i have a set of files being downloaded from a server. When i download it on my machine which is the server it downnloads.. but on other systems , the file save dialo…

---

## [External .swf](https://forum.kirupa.com/t/external-swf/240921)

<div class="topic-metadata">

**Author:** [@L2Aeos](https://forum.kirupa.com/u/L2Aeos)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 11:02am UTC](https://forum.kirupa.com/t/external-swf/240921 "2007-10-08T11:02:16Z")

</div>

Hello. Here's what I want to do. I have a "main.fla", and an "inside.fla". I want to put the "inside.fla" (with a preloader), inside "main.fla", but I also want to use the buttons, actions I create in "inside.fla". I…

---

## [Sorting special characters in XML file](https://forum.kirupa.com/t/sorting-special-characters-in-xml-file/240919)

<div class="topic-metadata">

**Author:** [@mogs](https://forum.kirupa.com/u/mogs)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 9:43am UTC](https://forum.kirupa.com/t/sorting-special-characters-in-xml-file/240919 "2007-10-08T09:43:17Z")

</div>

Hi, hoping someone has and idea of how I can solve the problem of sorting special characters such as à, è, ì etc in an actionscript array. I am working on a dictionary which has been created in XML and loads into Flash. …

---

## [While statement crashing!](https://forum.kirupa.com/t/while-statement-crashing/240916)

<div class="topic-metadata">

**Author:** [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 9:32am UTC](https://forum.kirupa.com/t/while-statement-crashing/240916 "2007-10-08T09:32:35Z")

</div>

I've nevered used a while loop before but everytime I try and implement it into my code it keeps on crashing my computer. Can anyone tell me why? var tagString:String = content\_txt.text; var tags\_found = true; while (…

---

## [Limit display size of external swf](https://forum.kirupa.com/t/limit-display-size-of-external-swf/240915)

<div class="topic-metadata">

**Author:** [@NickZA](https://forum.kirupa.com/u/NickZA)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 9:21am UTC](https://forum.kirupa.com/t/limit-display-size-of-external-swf/240915 "2007-10-08T09:21:23Z")

</div>

Hi I have an external swf I am loading. It is a text scroller, and part of the way it works is that it moves the text up or down off the top or bottom of the stage when it scrolls. Unfortunately when I load it in a m…

---

## [Help! cant get html & swf onto my site!](https://forum.kirupa.com/t/help-cant-get-html-swf-onto-my-site/240912)

<div class="topic-metadata">

**Author:** [@macrflashmxnewb](https://forum.kirupa.com/u/macrflashmxnewb)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 7:53am UTC](https://forum.kirupa.com/t/help-cant-get-html-swf-onto-my-site/240912 "2007-10-08T07:53:56Z")

</div>

I use yahoo sitebuilder and i just got macromedia flash mx v6 and i made a photo gallery and i tried everything. i used the tutorials, lessons, everything nothing helped. i "published" it and i even tried to look around …

---

## [Overlay of seperate flash movies](https://forum.kirupa.com/t/overlay-of-seperate-flash-movies/240908)

<div class="topic-metadata">

**Author:** [@Chappo](https://forum.kirupa.com/u/Chappo)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 6:15am UTC](https://forum.kirupa.com/t/overlay-of-seperate-flash-movies/240908 "2007-10-08T06:15:57Z")

</div>

Hi everybody, Have this dilemma involving 2 seperate .SWF files. 1st .swf file contains a drop down menu and the height of it is 800px and the 'effective' height is about 200px. 2nd .swf file contains clickable but…

---

## [Creating a 2D array?](https://forum.kirupa.com/t/creating-a-2d-array/240904)

<div class="topic-metadata">

**Author:** [@nutcase88](https://forum.kirupa.com/u/nutcase88)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 4:23am UTC](https://forum.kirupa.com/t/creating-a-2d-array/240904 "2007-10-08T04:23:57Z")

</div>

Hi im trying to create a 2d array in flash and the fact that im a C++ programmer isnt helping me so im a little lost here. Ive searched the forums and found something like this \[FONT=Courier New\]\[LEFT\]\[COLOR=#000000\]v…

---

## [LoadVars result is spliting!?!](https://forum.kirupa.com/t/loadvars-result-is-spliting/240902)

<div class="topic-metadata">

**Author:** [@TandemAdam](https://forum.kirupa.com/u/TandemAdam)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 4:19am UTC](https://forum.kirupa.com/t/loadvars-result-is-spliting/240902 "2007-10-08T04:19:49Z")

</div>

I have had this issue for a while now, and cant seem to find an answer anywhere. I am always using LoadVars to load in data from PHP or whatever and it normally always works. But some times my result data is split into…

---

## [Printing Minor Problem](https://forum.kirupa.com/t/printing-minor-problem/240901)

<div class="topic-metadata">

**Author:** [@adiboy](https://forum.kirupa.com/u/adiboy)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 4:16am UTC](https://forum.kirupa.com/t/printing-minor-problem/240901 "2007-10-08T04:16:22Z")

</div>

I use the script below to do the printing of a movie clip. on(release){ var pj.PrintJob = new PrintJob(); if( pj.start() ) { if( pj.addPage( 0 ) ) { pj.send(); } } delete pj; } However, because the stage s…

---

## [\[Flash 8\] Dynamic Movieclips with Dynamic Movie Clips : Help](https://forum.kirupa.com/t/flash-8-dynamic-movieclips-with-dynamic-movie-clips-help/240898)

<div class="topic-metadata">

**Author:** [@Ogmatter](https://forum.kirupa.com/u/Ogmatter)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 2:47am UTC](https://forum.kirupa.com/t/flash-8-dynamic-movieclips-with-dynamic-movie-clips-help/240898 "2007-10-08T02:47:20Z")

</div>

Hello, is there a way to: 1. create an empty movieclip (zone1) 2. create a movieclip in zone1 (zone1.contentMC) 3. create an empty mask movieclip in zone1 (zone1.maskMC) 4. draw a filled rectangle into zone1.maskMC 5. se…

---

## [Having a silly rollover problem. Would love some help!](https://forum.kirupa.com/t/having-a-silly-rollover-problem-would-love-some-help/240895)

<div class="topic-metadata">

**Author:** [@LeiaGraf](https://forum.kirupa.com/u/LeiaGraf)\
**Replies:** 0\
**Last updated:** [October 8, 2007, 1:33am UTC](https://forum.kirupa.com/t/having-a-silly-rollover-problem-would-love-some-help/240895 "2007-10-08T01:33:17Z")

</div>

Hi all, I feel like this should be really simple, but I can't seem to get it to work! I put Flash down for a month and promptly forgot everything, it seems. Unfortunately, I'm at work not at home, so I can't add th…

---

## [loadVariables() error detection](https://forum.kirupa.com/t/loadvariables-error-detection/240889)

<div class="topic-metadata">

**Author:** [@anonymous\_c](https://forum.kirupa.com/u/anonymous_c)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 10:07pm UTC](https://forum.kirupa.com/t/loadvariables-error-detection/240889 "2007-10-07T22:07:20Z")

</div>

Is there any way for error detection with the loadVariables() function? The only way I can think of is to set a local variable, such as 'load\_complete' to zero and have it set to one in the server response. Then set a t…

---

## [Mac Flash 8 encoded flv files stop playing prematurely](https://forum.kirupa.com/t/mac-flash-8-encoded-flv-files-stop-playing-prematurely/240886)

<div class="topic-metadata">

**Author:** [@pacificm](https://forum.kirupa.com/u/pacificm)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 8:45pm UTC](https://forum.kirupa.com/t/mac-flash-8-encoded-flv-files-stop-playing-prematurely/240886 "2007-10-07T20:45:22Z")

</div>

I am using Flash 8 to encode flvs from one minute movs on a Mac with 10.3.9. If I create flvs using Sorenson Squeeze, the flvs made from movs play back completely. However, if I encode flvs from the same movs, the fl…

---

## [Childs and authoring tool](https://forum.kirupa.com/t/childs-and-authoring-tool/240882)

<div class="topic-metadata">

**Author:** [@Element9](https://forum.kirupa.com/u/Element9)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 7:31pm UTC](https://forum.kirupa.com/t/childs-and-authoring-tool/240882 "2007-10-07T19:31:09Z")

</div>

If I make some graphics in a symbol that I export for AS and make a class for it, are those graphic objects accessible as childs?

---

## [Using \[Embed\]](https://forum.kirupa.com/t/using-embed/240880)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 7:09pm UTC](https://forum.kirupa.com/t/using-embed/240880 "2007-10-07T19:09:29Z")

</div>

Hi guys, Can I use \[Embed\] in my AS3 that I compile with Flash CS3 ? Is there a difference between using AS3 one way (say, with Flash CS3) and another way (say, with Flex) ? I don't get it. What I do is use a stand…

---

## [\[AIR\] stage.window.maximize();](https://forum.kirupa.com/t/air-stage-window-maximize/240878)

<div class="topic-metadata">

**Author:** [@Gazurt](https://forum.kirupa.com/u/Gazurt)\
**Replies:** 0\
**Last updated:** [October 7, 2007, 6:34pm UTC](https://forum.kirupa.com/t/air-stage-window-maximize/240878 "2007-10-07T18:34:22Z")

</div>

I saw this code in a example.But when I tried to write it it gives error.The error number is = 1119 I think in new version there is no code like this.Because I tried to write it in Beta 2... So how can I colve this? …

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

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