Shockwave download limit from a php file ?

i have wierd problem
i work with getnettext("
http://www.pbs.org/pov/borders/2004/sas21/flowers.php?")
i can receive the information, about 100k of text, in the
director environment
but when i call from shockwave in a browser it'll not get the
information...
this project
http://www.pbs.org/pov/borders/2004/sas21/garden.html
worked fine untill about half a year...
it is a database people can distribute to...
is there a limit on how much shockwave can receive from a php
file ?
please help!
i am sitting here since 3 day not finding the problem...
put attached code in a framescript, and try in a shockwave..
thank you
sascha merg

Your behavior works for me in Director. except that...
alert tsrt.char.count
... causes a script error since tsrt.char.count is not a
string. The script error informs me that 97229 characters have been
downloaded. Here's my rewrite of your behavior, which might give
you more information as to what may be going wrong at your end:
property pID
on beginsprite me
phpRoot = "
http://www.pbs.org/pov/borders/2004/sas21/flowers.php?"
pID = getNetText(phproot)
end
on exitFrame me
if not pID then
-- The net operation has been completed
else if netDone(pID) then
vStatus = netError(pID)
if vStatus = "OK" then
tsrt = netTextResult(pID)
alert tsrt
alert string(tsrt.char.count)
else
-- Something went wrong
alert "Error: "&vStatus
end if
-- Stop polling for the end of the net operation
pID = 0
end if
go the frame
end

Similar Messages

  • Loading Variables from a php file

    Im trying to get the stats from a shoutcast radio stations
    into flash so i can manipulate them into a nicer looking site.
    Anyway, ive identified the line on which the stats are
    updated (its in a php file, line 48):
    <stong>Current
    Song:</strong></b><p><marquee>
    Morel&#x27;s Grooving Again - That Melody [Morel&#x27;s
    Groove Mix]</font></p>
    and i was wondering the following things:
    is it possible to have flash load only this line of text from
    the php file,
    how do i get flash to recognise "<stong>Curren Song" as
    the variable
    how to get flash to recognise the colon sign as meaning that
    that is waht the variable is equal to,
    and how, once flash recognises the parameter, to remove the
    formatting code from the text.
    Or is there an easier way of getting this variable into
    flash, like using some kind of self-updating html file...
    help would be much appreciated.
    thanks

    u can convert the array in to a string in FLEX and in PHP u can use the "split" command...
    here s sample program see if it helps u
    http://flexarraytransfer.blogspot.com/
    similary u can transfer VARIABLES also,in the place of the string just put ur variable on the PHP use t variable without spliting t

  • Downloading audio from a video file from iTunes?

    I have a 40G 4th Gen click wheel iPod (no color or video). Is there a way to download just the audio from a video file that I have in iTunes?

    I use Steve's method all of the time, and edit the Audio output in Adobe Audition. You will want to Export/Share to PCM/WAV @ 48KHz 16-bit, and keep that format both going and coming back into PrE. Remember that you will be working with an Audio file, that is the full (or almost) Duration of the Timeline. When you Import that edited Audio file, give the program a few moments to Conform that newly Imported PCM/WAV for editing. I suggest not touching the computer, until Conforming has completed 100%, and the little progress bar in the lower-right of the GUI has disappeared. If the Imported Audio file is short, and your computer is fast, you might not even see that progress bar, but the Conforming has taken place, just the same.
    I like to keep the original Audio on its Audio Track(s), and just use Window>Audio Mixer to Mute that/those Track(s), leaving only my edited Audio on its own Track un-Muted. This is a "fail-safe," just in case I change my mind along the way, and wish to revert to the original Audio for some reason. It is much easier to Mute-Unmute, than to gather up all of that original Audio again.
    Good luck, and happy editing,
    Hunt

  • How do I remove certain data being imported from a php file

    I have data being loaded from a php into an xml class.
    My host (which is free for testing purposes) keeps adding data to the php file which causes errors.  I need to know how I can delete this extra text before I put the data into an XML class so I do not get the error.  I did a trace of the data and this is what comes up below.  I need everything below the </data> tag to be removed but do not know how to do this.  Can someone please help me.
    <?xml version='1.0' encoding='UTF-8'?><data>
        <google rate='21' />
        <yahoo rate='3' />
        <msn rate='2' />
        <tv rate='10' />
        <diger rate='4' />
    </data>
    <!-- www.000webhost.com Analytics Code -->
    <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
    <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
    <!-- End Of Analytics Code -->
    Thanks,
    Jason

    in your load complete function:
    var s:String=e.target.data;
    var xml:XML=XML(s.split("<!-- www.000")[0]));

  • Xml from a php file does not load

    hi
    i have a php file that output an xml ,in order to use it in
    flash.
    when i test the php file in the browser i get the xml i need
    but in flash i get this error message:
    TypeError: Error #1088: The markup in the document following
    the root element must be well-formed.
    at taakexml_fla::MainTimeline/seexml()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    i took the xml i get and made it a separate file (an xml one)
    and i can load it.
    what am i doing wrong?
    best regards
    ron

    Try this php file:
    $xml_output .= "<posts>";
    while($row=mysql_fetch_array($Result)){
    $xml_output .= "<post>";
    $xml_output .=
    "<title>".$row['title']."</title>";
    $xml_output .= "<date>".$row['date']."</date>";
    $xml_output .=
    "<shortdesc>".$row['short_desc']."</shortdesc>";
    $xml_output .=
    "<thepost>".$row['thepost']."</thepost>";
    $xml_output .= "</post>";
    $xml_output .= "</posts>";
    echo $xml_output;
    Flash should do the rest.

  • I would like to download my iTunes library onto a mac mini running OS 10.4.11 (and iTunes version 9.0.2), or transfer it from my macbook air, running OS 10.7.5. Tried downloading direct from iTunes and file sharing, but neither is working.

    Hello apple support community!  I'm trying to download my music purchases from iTunes onto my old Mac Mini.  It runs OS 10.4.11 and doesn't have the capacity to upgrade to a newer OS.  When I ask iTunes to check for available downloads, it says there are none.  I have tried updating the iTunes software (version 9.0.2) but it can't connect to the server, even though I am on a wireless network.  I've tried using home sharing and file sharing with my macbook air, but neither are working.  Grateful for any suggestions!!  The only thing I really use this mini for is music, so really hoping to be able to get my music purchases on there.  Thanks.

    Thanks, Jim, for taking the time, but the reply is unfortunately vague in the exact area of my confusion!  "you need to copy that file to your new computer..."  Well, the Import/Export instructions make it seem as if the two computers should be able to communicate this file thru wifi, but that's the linkage I can't seem tocreate with Import/Export.  Should I instead email a copy to myself (thats what applecare suggested)?  Copy it to and from a thumb drive?  But then place the file where?  And the article was helpful, but should I be trying to move the Library file or the Library.xml file (as iTunes Help suggests)?  Sorry to be so clueless about it...I suppose I buy Apple in the hopes of not having to think about this stuff, which approach seems not to be serving me well. Thanks again for your time!

  • Re Download Music From iTunes (Broken Files)

    Hello,
    I just bought some songs from iTunes store. But I got a broken files (the last 20 seconds of the song is not working). How can I re download it? Thanks!

    Delete the current copies and then download again (free) from your purchased history. If the problem persists contact iTunes Store support staff through the report a problem links in your account history.
    tt2

  • I downloaded CS5 yesterday, i uninstalled this and tried to reinstall again today but now it won't let me open 'install' as it says preview already downloaded this from the .dmg file yesterday.

    I downloaded creative suite onto my imac yesterday and then tried to unisntall it today as i wasn't sure if i did it correctly. I dont know if i uninstalled it properly. but now when i try to re install it it says that the 'install' is damaged because the .dmg file was already installed yesterday by preview.
    Help please

    http://forums.adobe.com/index.jspa

  • Dump while downloading data from Application Server File in 4.6 system

    Hi,
    When we are trying to upload data from Application Server to internal table using dataset statements, it is resulting in a dump. System we are using is 4.6c.
    When we faced similar kind of issue in ECC version, we have used the statement, Ignoring Conversion Errors.
    Please let me know how to handle this situation in 4.6 System.
    Thanks for your inputs.
    Regards,
    Phani

    Hi All,
    I am sorry. My question was wrong. It should be while uploading data from internal table to application server, if there are any special characters, it is going to dump.
    I will let you know the dump details and code at the earliesst.
    Sorry and Thanks again for your prompt response.
    Regards,
    Phani.

  • Webdav download empty php files !!

    I connect to webdav with Dreamweaver MX 2004, the connection is good, password and everything are set up the problem is, some files I try to download from the server arrive empty (only php files), if I try to download via dream a php file with just the function phpinfo() it download to me the html result of phpinfo.
    I've tried to change owner and group to my username, I'm in the group HTTPUser, admin... I tried all but nothing change.
    Someone has an idea ?
    Thks
    By the way is it possible to change the mail in the setting of this forum ?

    Ok,
    I have the same problem. Once accessed by a PC the files named send.php is not accessible anymore.
    If the same PC tries to access this file It'll download an empty file !!
    Hey Apple This is a bug !!!
    The short term solution is to create this file on the client and download It on the server // But if a PC accesses the file… It all starts again !

  • I install firfox in my new pc but i dont know in this pc when i am trying to download videos from you tube the file download but size is 0kb i try many ways but

    i install firefox in my new pc but in this pc when i try to download video from youtube the file downloaded is in 0 kb i try many application or addons but cant get success but the same application or addons work in my previous pc i have windows 7
    the extension are Flash Video Downloader
    MP4 downloader
    and the 1 Click Youtube Downloader
    and the other option showing in addons is VLC Player also all the applications and firefox are updated this is the information i have and beside this if you have any other information required please contact me on my given email id

    I use Video Downloadhelper with YouTube. It works well.

  • Not a real problem anymore, but a weird Apache behavior wrt .php files

    Hello everyone. Yesterday I was trying to set up an ordinary LAMP server in my VPS, running Arch (first time ever touching apache). After all was said and done, and apache and PHP were correctly configured following the Arch Wiki, I tried to get some things like phpmyadmin and ampache running, but I found out that my browser was asking me to download either a login.php file or an index.php file (to be more specific: I added a test.php file in /srv/http and that was interpreted correctly and I could see all the information as intented; if i pointed my browser to /phpmyadmin or /ampache though I would see the first page but after trying to, for example, logging in with phpmyadmin I'd get the download prompt). I googled around and yes, everything was configured as it should have, I had the AddHandler directive in the apache conf file and all that jazz. This morning, I log in, I start apache (since it wasn't working I figured that I might as well shut it down for the night and yes, while testing and setting up things yesterday I restarted the daemon every time) and everything works as it should: ampache lets me create my configuration, phpmyadmin lets me see my DBs and everything works. So, the problem apparently fixed itself, or at least the weird behavior I was witnessing is no more. Is there any specific reason for this? I wouldn't want to start from scratch (and I probably will, since I like to mess up a lot, that's how i learn!) to perhaps find myself in this spot again and not know what to do!
    Last edited by mrz87 (2011-05-11 09:12:21)

    This was a problem with apache-2.2.17-2. Don't worry, it's fixed for good.
    https://bugs.archlinux.org/task/24208

  • HT4994 can I download contacts from my computer to my Iphone?

    can I download contacts from a outlook file on my computer?

    This is a basic feature of the iphone.
    The iphone is designed to be synced with your computer regularly.
    iPhone User Guide (For iOS 5.1 Software)

  • Download Image from Local PC

    Hi,
    I have a jpg image which is stored in the local system(not on the server).I have written an application from which I am not able to download the image from the local system.
    I am using the following code but this code works only if the image is present on the server.
            String file = "C:\Folder_Name\image.jpg";
            final byte[] content = this.getByteArrayFromResourcePath(file);     
         final IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.UNKNOWN);
                    try
         final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getURL(), "WD_Filedownload", true);
         window.open();
         catch(Exception e)     {
         wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
             private byte[] getByteArrayFromResourcePath(String resourcePath)throws FileNotFoundException, IOException
               FileInputStream in = new FileInputStream(new File(resourcePath));
               ByteArrayOutputStream out = new ByteArrayOutputStream();
               int length;
               byte[] part = new byte[10 * 1024];
               while ((length = in.read(part)) != -1) {
                 out.write(part, 0, length);
               in.close();
               return out.toByteArray();
    And for downloading the file or image from local system I need to put the file in \src\mimes\Components folder; Where as I want the file to be downloadable anywhere from the local file system. Is that possible?
    Thanks
    Pravin

    Pravin,
    If you want to display an image existing elsewhere on the local machine, you need to upload it first (use FileUpload UI component), store it in a byte array and then continue with your code below of creating a cached web resource.
    And you place resources in src/mimes/component so that they will be available to the application (meaning for all users). This doesnt mean you are displaying the image from the local file system. When you deploy, these images go and live in the server and accessed from there.
    In any case, the hardcoded image location in your code is valid only for YOU but not necessarily other user running the same application.
    As such, you cannot access the client's file system explicitly (i.e local machine) due to security reasons. I know of no other way to do it with WebDynpro. Any resources must be present on the server side at some point of time. Either at application start or ask the user to provide it (like FileUpload).
    No web technology allows that other than signed applets or trusted activex controls, as far as i know.
    Hope that clears the confusion.
    Thanks,
    Rajit
    Message was edited by:
            Rajit Srinivas

  • Loding variables form a php file?

    Hi!
    I'm trying to load some variables from a php file.
    The AS3 code look like this:
    var loader:URLLoader = new URLLoader();
    // specify format as being variables
    loader.dataFormat = URLLoaderDataFormat.VARIABLES;
    loader.addEventListener(Event.COMPLETE, varsLoaded);
    // vars.txt contents:  foo=bar&foo2=bar2
    loader.load(new URLRequest("load_pris.php"));
    function varsLoaded (event:Event):void {
         trace(loader.data is URLVariables); // true
         pris_ruta.text=(loader.data.antal_produkter+"____"+loader.data.loadede); // bar
    where pris_ruta.text is a texbox on the scene.
    The php code looks like this:
    <?php
    include "../../connect/config.php";
    include "../../connect/connect_database.php";
    $antal="20";
    $l="11";
       echo"antal_produkter=$antal&loadede=$l";
    ?>
    The result in the textbox  "pris_ruta" is "undefined___11
    so it seems like it can load the "loadede" varable but not "antal_produkter", anyone that can see a problem in the code tha may cause this?

    yes, because you try to split the LoadVars object! watch, you
    write: myData.onLoad.... and then: this.split... in this case the
    word 'this' refers to myData but your string is INSIDE myData! for
    example if you write in php: stringed=value1****value2****value3...
    and so on, then in flash:
    myData.onLoad = function (ok){
    if (ok){
    trace(myData.stringed);
    var myArray:Array = myData.stringed.split("****"); //or you
    can use: this.stringed...
    because the received variable ("stringed" in the example) is
    placed INSIDE the LoadVars object!!! clear? :)
    adam

Maybe you are looking for