Inserting PHP in to flash

I wonder if its possible to insert php page with TABLES in to
flash? I succeeded inserting php page loaded with simple text and
photos. Looks like tables or divs are not supported or I am using a
wrong technique??? Does anyone knows how can I solve this
problem?

No you cannot use tabular data in Flash. You can, however,
create pseudo tables with the use of a <textformat> tag and
tabstops. Just do a search for "Text format tag" in the help file
and it gives you a working example of how this works.

Similar Messages

  • Insert animated gif or flash files (.swf) in Form?

    How can i insert animated gif or flash files (.swf) or another type of animated files in Form?

    If you are web deployed you can put an animated gif as the image to an iconic button.
    Image items cannot display animated gifs.
    Anything else you can do through a JavaBean if you need to.

  • How to read a .php file in flash

    Hi,
    Does anyone know if there's a possibility to read out a .php file in flash? (Like the iFrame in html) Some other webs showed me the 'loadvars' array..
    Thanx!

    So.. I do need to make a dynamic tekst block? And add to the first frame the action (as3?):
    var lo:URLLoader = new URLLoader();
    lo.load(new URLRequest("http://www.hcdbfeesten.nl/aenb/test.php"));
    lo.addEventListener(Event.COMPLETE, typeIt);
    function typeIt(e:Event){
        trace(lo.data);
    It does show me:
    http://www.hcdbfeesten.nl/aenb/test.swf
    Nothing... Instead of:
    http://www.hcdbfeesten.nl/aenb/test.php

  • When insert my lexar USB flash drive I get the message that the disk was not readable by this computer.  It has worked previous to this and I do not want to lose the data by reformatting the drive.  How can I reformat this drive and not lose my data?

    When insert my lexar USB flash drive I get the message that the disk was not readable by this computer.  It has worked previous to this and I do not want to lose the data by reformatting the drive.  How can I reformat this drive and not lose my data?

    You can't reformat it and not wipe everything on it.
    Have you tried a different USB port?
    Only other option, back it up on a different computer.

  • How do I insert a movie in Flash format?

    How do I import or insert a movie in Flash format to
    Fireworks? Because I had no problem doing so with image files, but
    when I try to import the .swf file, it brings "All readable
    files"and .swf are not included. Please I am in a hurry with this,
    help me.

    admaldo wrote:
    > How do I import or insert a movie in Flash format to
    Fireworks?
    You can't. You need to do that in Dreamweaver.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • Php form mailer/Flash help

    I have a php form that I am using with my Flash file. It
    works great so far, but I would like to get confirmation from the
    php in the Flash file, that the info has really been sent. I think
    it is already sent up in the php, but I don't know how to handle it
    in my Flash file. The php file is attached. Do I use the echo? How
    would I do that? What I want, is in my Flash file to say sending,
    until I get then feedback from the php, and then say, sent
    successfully.
    Thanks a lot for any help!

    It is all inside an ifStatment that is inside a function,
    which gets called by the button that send the form. Here is the
    full thing.
    function validateForm(tName:String, tEmail:String,
    tSubject:String, tMsg:String):Void {
    trace("validateForm was called");
    if (tName == "" || tName == undefined) {
    trace("tName if");
    this.showAlertMsg("Please enter your name");
    } else if (tEmail == "" || tEmail == undefined ||
    tEmail.indexOf("@") == -1 || tEmail.indexOf(".") == -1) {
    trace("Invalid email address: "+tEmail+" infexOf1:
    "+tEmail.indexOf("@")+" indexOf2: "+tEmail.indexOf("."));
    this.showAlertMsg("Invalid email address");
    } else if (tSubject == "" || tSubject == undefined) {
    trace("tSubject if");
    this.showAlertMsg("Please enter a subject");
    } else if (tMsg == "" || tMsg == undefined) {
    trace("tComments if");
    this.showAlertMsg("Please enter some comments");
    } else {
    trace("the else was called...");
    var send_lv = new LoadVars();
    //send_lv.onLoad = ShowStatus;
    //send_lv.EmailType = "Quote";
    send_lv.Name = tName;
    send_lv.FromEmail = tEmail;
    send_lv.Subject = tSubject;
    send_lv.Comments = tMsg;
    send_lv.status = "";
    send_lv.sendAndLoad("php/sendContact.php",result_lv,"Post");
    this.showAlertMsg("Sending...");
    var submitListener:Object = new Object();
    submitListener.click = function(evt:Object) {
    var result_lv:LoadVars = new LoadVars();
    result_lv.onLoad = function(success:Boolean) {
    if (success) {
    this.tf_showAlertMsg.text = "Thank you for sending us an
    email";
    } else {
    this.tf_showAlertMsg.text = "Email did not go through";
    function showAlertMsg(msg:String):Void {
    this.tf_showAlertMsg.text = "";
    this.tf_showAlertMsg.text = msg;
    this.send_btn.onRelease = function() {
    validateForm(tf_Name,tf_Email,tf_Subject,tf_Comments);
    I tried the new way Dave posted and it still does not get the
    echo from the form.
    Thanks so much to both of you for the help!

  • Php vars to flash

    I'm useing the following scripts to pass a variable from php
    to a flash combo box....problem is I get undefined in the combo box
    when i test my movie using cntrl + enter and if i try to view the
    swf on the webserver.
    Will somebody please tell me what i'm doing wrong?

    Just a couple of notes.
    1) don't use a '$' in front of the variables you are sending
    to Flash.
    "$comboData1" should be "comboData1"
    2) Not sure about using multipl "echo" statements. I never
    have but that doesn't mean you can't.
    3) Try something straightforward first, like:
    echo 'comboData1=this is data 1';
    If that works then move up to trying the variables.
    4) The last thing to note is that your PHP variables are
    surrounded by quotes.
    "$dataForCombobox_1" should be $dataForCombobox_1
    Hope these help.
    Tim

  • Loading HTML or PHP page in flash

    Hi,
    I would like someone to tell me if there is a way to load html or php page in flash just like a movieclip without actually navigating from the flash player(by using getURL code). Basically, I am wondering if there is a way to load a html file just like we load movieclips and perform all the functions of html page.
    Thanks,
    Abinash

    No.  Flash can only display html content in textfields and only supports a very limited number of html tags (look up the htmlText property of TextFields).  So to display an html/php file is not possible.

  • How we can load external html or php file in flash?

    Hi there,
    I want to show my php's file desing in flash..
    i m getting data through database in php file and it has
    table... so I want to show that data in my flash movie...
    Please help me ..
    How can I load external html or php file in flash?
    If any other way is there then plz tell me.....
    thanx

    No.  Flash can only display html content in textfields and only supports a very limited number of html tags (look up the htmlText property of TextFields).  So to display an html/php file is not possible.

  • To insert hand_right shock wave flash

    Pleas let me know the following
    1. how I can insert hand_right shock wave flash in a question
    slide
    2. What is the ways to give back gound music as a continous
    loop and also from where how I can download the back gound music as
    free
    With thanks
    Pol

    Hi Pol
    I'm losing you on the Flash bit. What is hand_right? Is this
    something you created?
    Normally to insert a Flash object you click Insert >
    Animation and browse to where the object resides. Have you tried
    that?
    As for background music, click Audio > Background Audio
    followed by the Import button.
    www.FlashKit.com offers some
    music files there. I'm sure some Googling and other searching could
    reveal lots more sites offering music clips. The big issue with
    those is copyright and possible infringement. But that's a whoe
    other gnarly issue.
    Cheers... Rick

  • Returning php vars to flash AS

    Hi,
    I am not able to get a variable value from PHP back into
    flash after sendAndLoad. I can only get the actual value returned
    by php. here is the detail.
    Initially from flash
    dataOut.sendAndLoad("phptest.php", dataIn, "POST");
    and the return from phptest.php
    dataIn.onLoad = function() {
    msg.text = ' returned from php is '+this.value1 + this.value2
    the code in phptest.php
    <?php
    $a = "&value1=foo&";
    $b = "&value2=";
    $c = "bar&";
    echo $a.$b.$c;
    ?>
    in response
    the msg.text reads like this
    returned from php is foo";
    It only returns the actual value of value1 and not the passed
    value of value2, but one doublequote.
    and this is what is displayed in the browser from the
    phptest.php .
    &value1=foo&&value2=bar&
    any sugggestions. ?
    Thanks for any help

    thanks kglad
    but how do you pass a variable value. For example, if you
    don't want to send 'bar 'directly as the value for value2, but want
    to use the value of a variable say $c which will have a value of
    'bar', how do you pass that back to flash. In my example it won't
    pass the value of $c as 'bar', unless I actually assign 'bar' to
    value2. I need to be able to pass the value of $c rather than send
    the assigned value. I looked at the various examples including
    those from login examples, but they didn't work. has the same
    problem. somehow AS does not seem to accept the values passed via
    variable. Any other way to do it?
    thanks

  • Unable to insert into mysql from flash burrito

    I'm having issues inserting a record to mysql, if I use the test "test operation and use these values the it works fine, but now in the android app.
    values in my test operation
        id:0,
        type:"cool",
        navn:"vegar 16"
    the getall method works fine, and shows up on the network monitor, but the button dont work at all, nothing happends in the network monito, if I debug it I can see that the button works, any suggestions on what Im doing wrong?
    code in my view:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:kunderservice="services.kunderservice.*"
            title="Home">
        <fx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                import valueObjects.Kunder;
                protected function list_creationCompleteHandler(event:FlexEvent):void
                    getAllKunderResult.token = kunderService.getAllKunder();
                protected function button_clickHandler(event:MouseEvent):void
                    var item:Kunder = new Kunder();
                    item.id=0
                    item.navn="vegar"
                    item.type ="test"
                    createKunderResult2.token = kunderService.createKunder(item);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <s:CallResponder id="getAllKunderResult"/>
            <kunderservice:KunderService id="kunderService"/>
            <s:CallResponder id="createKunderResult2"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:List id="list" x="35" y="45" width="409" height="193"
                creationComplete="list_creationCompleteHandler(event)" labelField="navn">
            <s:AsyncListView list="{getAllKunderResult.lastResult}"/>
        </s:List>
        <s:Button id="button" x="20" y="406" label="Button" click="button_clickHandler(event)"/>
        </s:View>

    I really appreciate your help. Yes indeed, debugging and seeing what is going on in general is most difficult with flash!
    Once I get this cracked I should be able to complete a lot of what I am trying to achieve.
    After inserting some echo's into my php as such:
    <?php
    $player = $_POST['player'];
    $tournament = $_POST['tournament'];
    $position = $_POST['position'];
    $prize = $_POST['prize'];
    mysql_connect("localhost", "root","poker");
    echo "onnected to database"
    mysql_select_db("poker");
    echo "database connected";
    mysql_query("INSERT INTO results(player,tournament,position,prize) VALUES
    ('$player','$tournamnet','$position','$prize')");
    echo "result added";
    ?>
    The returned info is a load of nonsense to me:
    response from server:  %3C%3Fphp%0A%24player%20=%20%24%5FPOST%5B%27player%27%5D%3B%0A%24tournament%20%3D%20%24%5 FPOST%5B%27tournament%27%5D%3B%0A%24position%20%3D%20%24%5FPOST%5B%27position%27%5D%3B%0A% 24prize%20%3D%20%24%5FPOST%5B%27prize%27%5D%3B%0A%0Amysql%5Fconnect%28%22localhost%22%2C%2 0%22root%22%2C%22poker%22%29%3B%0Aecho%20%22onnected%20to%20database%22%0Amysql%5Fselect%5 Fdb%28%22poker%22%29%3B%0Aecho%20%22database%20connected%22%3B%0Amysql%5Fquery%28%22INSERT %20INTO%20results%28player%2Ctournament%2Cposition%2Cprize%29%20VALUES%20%0A%28%27%24playe r%27%2C%27%24tournamnet%27%2C%27%24position%27%2C%27%24prize%27%29%22%29%3B%0Aecho%20%22re sult%20added%22%3B%0A%3F%3E

  • Php service issue (flash builder 4)

    I started playing with Data/Services panel in FB4. Works pretty nice so far but there are a few issues I have:
    1. How can I manualy configure input types for the service? The dialog that appears is buggy - size is very small and I can't select input types there. Also changing method definithion in services.myservice._Super_MyService.as file (which is auto-generated) doesn't work - when I refresh or do something else FB4 just rewrites this file...
    2. Second issue is PHP related. I didn't use PHP for several years so my knowledge is still limited. I've created a service class like this:
    <?php
    class MyService {
    public function addUser($username, $password) {
      $connection =
    mysqli_connect('127.0.0.1', 'root', 'root', myDB, 3306) or
    die(mysqli_connect_error());
      $query = "INSERT INTO users (username,
    password, role)
          VALUES ('$username', PASSWORD('$password'),
    'visitor')";
      mysqli_query($connection, $query) or
    die(mysqli_error($connection));
    ?>
    and it works. But if I move $connection variable outside function (to use it with other methods) I get some errors.. Anyone knows why and how to do this? Tried it with different access modifiers, wrapping it in separate function, but nothing helps..
    Thanks

    Thanks for your inputs. I will look into that construct thingie (:
    As for 'Configure Input Types' dialogue, I can also use it in most cases, but some times it's static size isn't sufficient. For example, try adding this function to service:
    public function addUserData($username, $firstName, $lastName, $company, $jobTitle,
            $country, $state, $city, $zipCode, $address, $eMail,
            $phone, $cell, $fax, $webPage, $pictureURL) {
    On my PC when trying to change values, only one row is visible, and when I try to 'Select Type' for it, dropdown just closes without changing value. It would be nice if we could resize 'Configure Input Types' dialogue when needed... Or maybe just limit the size of 'Operation:' string in that dialogue..
    PS. I just played with it for a bit. If you enter too long function name select window completly disappears:
    public function abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz($abcdefghijklmnopqrstuvwxyz) {}

  • PHP Connection in Flash Builder 4

    Hi
    Sorry if this is in the wrong place. I could see nowhere else to ask this question.
    I am very, very new to Flash Builder (in fact, I am following a tutorial on building a data-centric application using Flash catalyst CS5 and Flash Builder 4).
    The problem I am having is that I cannot seem to validate the data connection in Flash Builder 4.
    For my project, I click "Connect to Data/Service" then select PHP. I select Flex Server and change the "Application Server Type" to PHP.
    The page I then get asks for a Web Root and Root URL. This is where I'm having problems. No matter what I type in these boxes, when clicking the "Validate Configuration", I get the error of "Cannot access the web server".
    I have Apache and PHP installed on this Windows 7 64-bit machine.
    The Web root folder for my site is actaully held on my D drive, so web root reads.. "D:\Web Files\Site".
    The URL for this local site is http://site.local
    I can browse to http://site.local in my browser and all is well. My site shows. I can even see this fine in Flash Builder's Internal web browser.
    I have tried moving the web root folder inside the default apache root htdocs folder, but get the same problem. I have even changed the permissions on all folders to allow full control, but this doesn't help.
    I really am starting to tear my hair out now. Can someone please help me? Am I doing something obviously wrong?
    Many Thanks

    Did you install apache / php / (optionally mysql) separately or in a bundle. I would suggest using xampp bundle, because it configures everything correctly along with installing a few helpful tools like phpmyadmin, etc. Great fast setup for testing purposes. Anyway... about the URL: I think the url you should be using is something like http://localhost/yourprojectfolder/...
    Presuming you have set up a project... and selected the option PHP at application server type you would then input (in my case, using the default xampp setup):
    Web root: C:\xampp\htdocs
    Root url: http://localhost
    Output folder: C:\xampp\htdocs\<projectname_here>-debug
    The url you d input in the browser to navigate to your project would then be: http://localhost/<projectname_here>-debug
    (no index.html at the end, provided your server is setup to serve this file automatically if it exists)
    Hope this helps!

  • Please help!!! generate sample php service in flash builder 4.5

    Hi all complete noob here. I have gone trough several tutorials and this keeps popping up.
    On most of these tutorials after clicking new data service and selecting PHP the tutorials have a link generate sample php.
    I am using flash builder 4.5 for php premium and I don’t have that link. Was this link possibly moved? I really need this functionality please can someone help me?

    Hi Anju
    no wasnt what I was looking for but did find it after clicking all the buttons in the UI.
    For other users it is located on the Data/Service tab. on the right hand side is a little triangle pointing down. click on it and will have connection options. Select connect to PHP. Not sure why its not on the other tab.
    But thank you for the reply

Maybe you are looking for