# programming

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

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

**Page:** 732

---

## [How to convert a table](https://forum.kirupa.com/t/how-to-convert-a-table/293960)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:39am UTC](https://forum.kirupa.com/t/how-to-convert-a-table/293960 "2009-08-06T09:39:38Z")

</div>

Hi, all, I have a problem to convert table content based on existing content: DROP TABLE IF EXISTS list; CREATE TABLE list ( FACILITY varchar(30) NOT NULL, PRODUCT varchar(30) NOT NULL, SEGMENT varchar(30) NOT …

---

## [OOPS - MySQL](https://forum.kirupa.com/t/oops-mysql/293958)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:35am UTC](https://forum.kirupa.com/t/oops-mysql/293958 "2009-08-06T09:35:21Z")

</div>

Hey guys, I am looking for help with my OOPS code for connecting to MySQL, just for people that don't know what OOPS is Object Oriented Programming. I am trying to connect to my database (MSQL) using this technology, h…

---

## [Searching Database Using Like](https://forum.kirupa.com/t/searching-database-using-like/293957)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:34am UTC](https://forum.kirupa.com/t/searching-database-using-like/293957 "2009-08-06T09:34:37Z")

</div>

I am trying to query my database for specific words in variables. I have one database titled pranks with a column called prankentry and tags Another database holds an ID number and an entrytext column. I pass the I…

---

## [PHP loop through database and limit number of entries](https://forum.kirupa.com/t/php-loop-through-database-and-limit-number-of-entries/293955)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:30am UTC](https://forum.kirupa.com/t/php-loop-through-database-and-limit-number-of-entries/293955 "2009-08-06T09:30:34Z")

</div>

Hello, Going to try to explain this as best I can. I have a bunch of stuff in a database and I need to display this info within a table. This isn't a problem at all but, I need it to only display 3 td tags per line and t…

---

## [Creating a file upload form with PHP](https://forum.kirupa.com/t/creating-a-file-upload-form-with-php/293954)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:29am UTC](https://forum.kirupa.com/t/creating-a-file-upload-form-with-php/293954 "2009-08-06T09:29:58Z")

</div>

Hi, Now we can create our upload.php file. To start we'll check that the file upload is safe by setting a list of allowed filetypes and disallowing all other file uploads. This will prevent people from uploading maliciou…

---

## [How to install PHP on Apache?](https://forum.kirupa.com/t/how-to-install-php-on-apache/293953)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:27am UTC](https://forum.kirupa.com/t/how-to-install-php-on-apache/293953 "2009-08-06T09:27:33Z")

</div>

Hi, You need to add the following lines to httpd.conf (If you're using Apache for Win32) ScriptAlias /php/" c:/path-to-php-dir/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" Then…

---

## [How do I install PHP as a CGI?](https://forum.kirupa.com/t/how-do-i-install-php-as-a-cgi/293952)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:26am UTC](https://forum.kirupa.com/t/how-do-i-install-php-as-a-cgi/293952 "2009-08-06T09:26:09Z")

</div>

Hi, What you need to do is to run: ./configure --without-apache --without-apxs --with-other-options It will tell you that as you are building it without Apache support, it is building it as a CGI binary. Then do ma…

---

## [How do I install Curl?](https://forum.kirupa.com/t/how-do-i-install-curl/293951)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:25am UTC](https://forum.kirupa.com/t/how-do-i-install-curl/293951 "2009-08-06T09:25:35Z")

</div>

Hi, http://curl.haxx.se wget http://curl.haxx.se/download/curl-7.16.0.tar.gz tar -pxzf curl-7.16.0.tar.gz cd curl-7.16.0 ./configure --with-ssl make make install ldconfig -v Then use --with-curl in PHP's configure F…

---

## [What’s the difference between include and require?](https://forum.kirupa.com/t/what-s-the-difference-between-include-and-require/293950)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:22am UTC](https://forum.kirupa.com/t/what-s-the-difference-between-include-and-require/293950 "2009-08-06T09:22:15Z")

</div>

Hi, failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.

---

## [PHP and AJAX](https://forum.kirupa.com/t/php-and-ajax/293949)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://forum.kirupa.com/u/gilbertsavier)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 9:21am UTC](https://forum.kirupa.com/t/php-and-ajax/293949 "2009-08-06T09:21:37Z")

</div>

Hi, This is a really simply tutorial so you can integrate your php with ajax. The example code utilizes a universal function called get. You can pass the get function the php file name to execute, the div id where the re…

---

## [Strange Papervision IE Behaviour](https://forum.kirupa.com/t/strange-papervision-ie-behaviour/293948)

<div class="topic-metadata">

**Author:** [@Flash\_Zone](https://forum.kirupa.com/u/Flash_Zone)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 8:56am UTC](https://forum.kirupa.com/t/strange-papervision-ie-behaviour/293948 "2009-08-06T08:56:01Z")

</div>

Hi, Just put our new site up, it's made in Papervision. Works fine in FF and GC etc but just noticed that in IE when you hit refresh it shoots up the screen? It a fluid flash layout with size set to 100%, i can only as…

---

## [Adding interactivite to plane](https://forum.kirupa.com/t/adding-interactivite-to-plane/293947)

<div class="topic-metadata">

**Author:** [@bigboys\_84](https://forum.kirupa.com/u/bigboys_84)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 8:34am UTC](https://forum.kirupa.com/t/adding-interactivite-to-plane/293947 "2009-08-06T08:34:48Z")

</div>

i cant add interactivite too plane.İt looks simple but i cant do and where is the problem i cant find.İ dont get any error message but my nteractivity codes not work.Codes are in the first frame.Thanks you help impor…

---

## [Flash outpur variables](https://forum.kirupa.com/t/flash-outpur-variables/293946)

<div class="topic-metadata">

**Author:** [@Liorep](https://forum.kirupa.com/u/Liorep)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 8:10am UTC](https://forum.kirupa.com/t/flash-outpur-variables/293946 "2009-08-06T08:10:15Z")

</div>

Hi All, I'm new to flash, have some experience with HTML and JavaScript. I wonder if and how I can have a flash object in an HTML page that returns or updates a variable in the page, or assigning it to an input element's…

---

## [Drag & Drop 'Related' Question (Not Asking How To Drag & Drop)](https://forum.kirupa.com/t/drag-drop-related-question-not-asking-how-to-drag-drop/293943)

<div class="topic-metadata">

**Author:** [@popnfresh24](https://forum.kirupa.com/u/popnfresh24)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 7:20am UTC](https://forum.kirupa.com/t/drag-drop-related-question-not-asking-how-to-drag-drop/293943 "2009-08-06T07:20:05Z")

</div>

Ok... so i wanna make something where i have several images (movieclips) that open out on a menu... and then they are all drag-able... and i have 5 slots on the screen that any of the movieclips can be draged into... now…

---

## [How to tell Flash that an image stills loading? If something stills loading. If](https://forum.kirupa.com/t/how-to-tell-flash-that-an-image-stills-loading-if-something-stills-loading-if/293940)

<div class="topic-metadata">

**Author:** [@abstrato](https://forum.kirupa.com/u/abstrato)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 6:35am UTC](https://forum.kirupa.com/t/how-to-tell-flash-that-an-image-stills-loading-if-something-stills-loading-if/293940 "2009-08-06T06:35:14Z")

</div>

Hey, I'm building an AS3 multi-photo gallery. In this project I have several buttons that take me to each respective gallery, each gallery shows the images side by side, each one loading sequentially from an array. If …

---

## [Need help with hittest and scaling](https://forum.kirupa.com/t/need-help-with-hittest-and-scaling/293938)

<div class="topic-metadata">

**Author:** [@Neofatalist](https://forum.kirupa.com/u/Neofatalist)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 5:19am UTC](https://forum.kirupa.com/t/need-help-with-hittest-and-scaling/293938 "2009-08-06T05:19:12Z")

</div>

Hello, I made a movie clip called mainMap and inside main map I have my main character which stays in place... a boundry area that moves... if the scale is 100, everything is fine. but if I modify the xscale / yscal…

---

## [Get keyframe interval of a .flv from metadata](https://forum.kirupa.com/t/get-keyframe-interval-of-a-flv-from-metadata/293933)

<div class="topic-metadata">

**Author:** [@neeraj\_b](https://forum.kirupa.com/u/neeraj_b)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 4:50am UTC](https://forum.kirupa.com/t/get-keyframe-interval-of-a-flv-from-metadata/293933 "2009-08-06T04:50:17Z")

</div>

Hi, How to get the keyframe interval from the metadata of an flv in actionscript 3? Is there something like 'meta.duration' or some way to calculate the keyframe interval? Thanks, Neeraj

---

## [Send email](https://forum.kirupa.com/t/send-email/293930)

<div class="topic-metadata">

**Author:** [@GarFonz](https://forum.kirupa.com/u/GarFonz)\
**Replies:** 0\
**Last updated:** [August 6, 2009, 12:03am UTC](https://forum.kirupa.com/t/send-email/293930 "2009-08-06T00:03:38Z")

</div>

I need some assistance. I have been looking for the commands to send an email. Hopefully we appreciate.

---

## [Really need help with a simple animation/audio willing to pay](https://forum.kirupa.com/t/really-need-help-with-a-simple-animation-audio-willing-to-pay/293928)

<div class="topic-metadata">

**Author:** [@lorelei](https://forum.kirupa.com/u/lorelei)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 10:45pm UTC](https://forum.kirupa.com/t/really-need-help-with-a-simple-animation-audio-willing-to-pay/293928 "2009-08-05T22:45:02Z")

</div>

I have this simple animation (or so I thought) involving sound. It's a letter animation that has a sound file attached to it. The sound is suppose to fade out at the end of the animation. Instead it does something else…

---

## [Button Rollover States](https://forum.kirupa.com/t/button-rollover-states/293922)

<div class="topic-metadata">

**Author:** [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:54pm UTC](https://forum.kirupa.com/t/button-rollover-states/293922 "2009-08-05T20:54:50Z")

</div>

I dug through the forums and I couldn't find a solution to this, so I'm hoping someone can help. I'm relatively new to AS3 and it's killing me. I have a mouseOver and mouseOut stage of a button. Each button has some …

---

## [Dynamic Mc](https://forum.kirupa.com/t/dynamic-mc/293919)

<div class="topic-metadata">

**Author:** [@moiseszaragoza](https://forum.kirupa.com/u/moiseszaragoza)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:30pm UTC](https://forum.kirupa.com/t/dynamic-mc/293919 "2009-08-05T20:30:10Z")

</div>

I am using flash vars to pass variables into my swf file. but i want to refetence a Mc by using a flash var. MY HTML LOOKS LIKE \<script type="text/javascript"\> AC\_FL\_RunContent( 'codebase','http://download.macro…

---

## [Writing 3D Engine from Scratch](https://forum.kirupa.com/t/writing-3d-engine-from-scratch/293918)

<div class="topic-metadata">

**Author:** [@renton79](https://forum.kirupa.com/u/renton79)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:11pm UTC](https://forum.kirupa.com/t/writing-3d-engine-from-scratch/293918 "2009-08-05T20:11:26Z")

</div>

I would like to write a very simple 3d engine just to learn it. I have some knowledge about 3d in as3 and perspective concept but I would like to see some tutorial about where to start to build it. can anyone recomend…

---

## [printAsBitmap that doesn't scale to fit paper](https://forum.kirupa.com/t/printasbitmap-that-doesnt-scale-to-fit-paper/293917)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 8:06pm UTC](https://forum.kirupa.com/t/printasbitmap-that-doesnt-scale-to-fit-paper/293917 "2009-08-05T20:06:48Z")

</div>

I have looked at the help files and tried all 3 possible parameters, bframe, bmovie and bmax. The only thing I want to print is a JPG I am loading into an empty mc and I don't want it to scale to fit the paper. Looks …

---

## [Text Leading and Selectable Text](https://forum.kirupa.com/t/text-leading-and-selectable-text/293916)

<div class="topic-metadata">

**Author:** [@Garfty](https://forum.kirupa.com/u/Garfty)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 7:59pm UTC](https://forum.kirupa.com/t/text-leading-and-selectable-text/293916 "2009-08-05T19:59:20Z")

</div>

Hi all!! I have a dynamic textfield that I am styling using CSS and setting its leading to 2, I am also setting the textfield to be selectable = true. However this is where im wondering if anyone else had seen this bef…

---

## [onLoad](https://forum.kirupa.com/t/onload/293915)

<div class="topic-metadata">

**Author:** [@Offrenbaruna](https://forum.kirupa.com/u/Offrenbaruna)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 7:23pm UTC](https://forum.kirupa.com/t/onload/293915 "2009-08-05T19:23:36Z")

</div>

Hello again, this is more a question than a solution request, here we go.... I have this code myXML.onLoad = function(success){ code more code and code ++ } myXML.load("gallery.xml"); so, where is my…

---

## [How do i make my scroll buttons keep scrolling when pressed?](https://forum.kirupa.com/t/how-do-i-make-my-scroll-buttons-keep-scrolling-when-pressed/293909)

<div class="topic-metadata">

**Author:** [@helious](https://forum.kirupa.com/u/helious)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 6:04pm UTC](https://forum.kirupa.com/t/how-do-i-make-my-scroll-buttons-keep-scrolling-when-pressed/293909 "2009-08-05T18:04:26Z")

</div>

I have created two scroll buttons for my dynamic text field, following this guide http://www.kirupa.com/developer/flash5/scrolltext.htm My problem is, that you have to click the buttons many times to scroll down to t…

---

## [Including inherited code in an override](https://forum.kirupa.com/t/including-inherited-code-in-an-override/293906)

<div class="topic-metadata">

**Author:** [@midimid](https://forum.kirupa.com/u/midimid)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 5:41pm UTC](https://forum.kirupa.com/t/including-inherited-code-in-an-override/293906 "2009-08-05T17:41:45Z")

</div>

Override seems to completely replace a function's code. Is there any way to "append" to the superclassed function instead of replacing it? i.e. - so that both traces show in this example: package { public cla…

---

## [Page Tracking with Google Analytics in AS3?](https://forum.kirupa.com/t/page-tracking-with-google-analytics-in-as3/293903)

<div class="topic-metadata">

**Author:** [@rawtiger](https://forum.kirupa.com/u/rawtiger)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:28pm UTC](https://forum.kirupa.com/t/page-tracking-with-google-analytics-in-as3/293903 "2009-08-05T16:28:43Z")

</div>

Page Tracking with Google Analytics in AS3? Hello.. I have been asked to put some of the above into a flash site. I haven't really come across this before and was wondering if anyone knew anything about it? There a…

---

## [Label text not shown](https://forum.kirupa.com/t/label-text-not-shown/293902)

<div class="topic-metadata">

**Author:** [@Lokeshb](https://forum.kirupa.com/u/Lokeshb)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:21pm UTC](https://forum.kirupa.com/t/label-text-not-shown/293902 "2009-08-05T16:21:38Z")

</div>

Hi all, I have created two layers one masking the other.When I create a label in the masking layer, the text is not shown.This situation remains for the button too.While the button component is displayed, its label val…

---

## [Transitions between external SWFs problem](https://forum.kirupa.com/t/transitions-between-external-swfs-problem/293901)

<div class="topic-metadata">

**Author:** [@TomSaunders](https://forum.kirupa.com/u/TomSaunders)\
**Replies:** 0\
**Last updated:** [August 5, 2009, 4:18pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-problem/293901 "2009-08-05T16:18:46Z")

</div>

Hello everybody, Please could somebody help? I'm trying to add a submenu to the tutorial called: http://www.kirupa.com/developer/mx2004/transitions.htm But I'm having trouble. The problem is probably quite simple…

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

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