DW CS5 using ActionScript without Flash files

Our Web sites should avoid requiring a download Flash in the client browser.

Can we use Dreamweaver CS5 with ActionScript (.as) files without the need for Flash in a browser?

For example, DW CS5 menus include file-> new-> ActionScript.

but I can't find the literature or examples of use as with Dreamweaver.

Thank you

Bruce

ActionScript is the backbone for Flash (FLV or SWF) applications.

Unlike HTML & JavaScript, ActionScript is not a se of the web programming language.  It's a Flash programming language.  And while some web devices support Flash others do not.

If your site cannot use Flash then your ActionScript code must be replaced by a web alternative appropriate.  Perhaps jQuery or Ajax (JavaScript & CSS).

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB

Tags: Dreamweaver

Similar Questions

  • Increase in speed for a certain images in Flash Cs5 using ActionScript 3

    I have 60 images that I want to increase the value of fps for 20 to 30 frames, and the residual value of the fps frames would remain the same

    Using the Action Script 3 or Action Script 2

    Thanks and greetings

    Also, you can vary the speed of increase the framerate when executing using stage.frameRate = higherValue;

  • Is there a simple example, I can see how to connect to a database using actionscript and Flash 8? (not with components)

    I've looked everywhere for a simple example "hello world", on how to connect to a database, pass a parameter and returns a dataset object. I'd like one that uses no components. (Actionscript only). Who uses ColdFusion 7.x and Flash 8. Can someone point me to one?

    Thanks Craig, I noticed the example, but it was meant for Flash MX, and Flash 8 documentation, the NetServices is now obsolete. Anyway, I posted my question on another site and some provided me with a simple example. Here is the url if anyone is interested... sample

  • Reading of flash file

    I made a sample.apk for Android using Flash CS5.5. The flash file contains some animations on each image. Now when I test my application in the android emulator, it start from the beginning (i.e. from the first image). It always shows me the last visited image (the last time where I left my request). Could someone tell me how to run the startup application?

    Then write the code to come out when you save:

    stage.addEventListener( KeyboardEvent.KEY_DOWN, handleKeyDown );

    NativeApplication.nativeApplication.addEventListener( KeyboardEvent.KEY_DOWN, handleKeyDown );

    NativeApplication.nativeApplication.addEventListener( Event.DEACTIVATE, handleDeactivate );

    functionhandleKeyDown( e :KeyboardEvent ) :void
    {
       switch( e.keyCode )
       {
           caseKeyboard.BACK:
               NativeApplication.nativeApplication.exit();
               break;
           caseKeyboard.SEARCH:
           caseKeyboard.MENU:
               e.preventDefault();
               break;
       }
    }

    functionhandleDeactivate( e :Event ) :void
    {
       NativeApplication.nativeApplication.exit();
    }

  • Best way to insert without flash photo album in Dreamweaver CS5.5

    Using Dreamweaver CS4, I created the site art of my wife.  It is: www.tanglewoodbrushstrokes.com

    To insert photo albums, I used the bridge and Fireworks.  Once past the initial learning curve, I was able to create these albums easily.  However, these albums have two limitations that I would like to address.

    1. Add or remove an image requires the creation of a new album and then display on the page.  Now when I practice, is not take me very long to do this, but there must be a simpler way.  As you can see on the site of my wife, she has many pages of photo albums.  Take pictures of her "Recent works" page means that these pictures my be paid during three or four different albums.  If this can be very time consuming.

    2. the created albums in this way are the flash galleries and are not visible on iPhone or iPad.

    Recently I bought Dreamweaver CS5.5, I can use HTML5 to make my site on Iphones and Ipads, but also PC.  I have almost completed the tutorial and I'm about to create a new site.  Today I did some looking of ways to use the galleries without flash and not come up with a definitive answer.

    As you can see on the Web site of my wife, the galleries are fairly simple.  What I really need is a page of thumbnails leading to a larger image and a description.  I want to keep it like that.

    Any suggestions?

    There is no single all size the solution to this.  You use DW make a gallery and it isn't really a tool for creating Gallery in itself.  It's web authoring software.  So, whatever the solution to the gallery you choose it will come from somewhere else.  And then you have to integrate into your HTML pages.

    Personally, I love the dynamic slide shows with jQuery.  Add PHP code on your page.  Download jQuery scripts and optimized images on your server.  Fact.

    To swap images later, add/remove files from the folder of the image on the server. Fact.

    You can see a live demonstration of the below:

    http://ALT-Web.com/DynamicSlides/

    http://jAlbum.NET/

    If you want to generate a large number of different galleries quickly, look at JAlbum.  It is a commercial product that creates the thumbnails and HTML pages for you.  There are a lot of skins (styles) to choose from and you can further customize layouts with CSS.

    http://www.Projectseven.com/products/galleries/SSM/index.htm

    PVII Slide show Magic - extension for Dreamweaver

    jQuery Fancy Box ~

    http://FancyBox.NET/

    Free solutions 57 picture gallery with jQuery.

    http://www.1stWebDesigner.com/CSS/57-free-image-gallery-slideshow-and-lightbox-solutions/

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

  • Deployed Adobe CC 2014 32 bits to our neighborhood. Students launch Adobe Flash Professional and are able to start a project using ActionScript 2.0. But as soon as they click on save and try to save their project... boom... an error occurs "met with an in

    Deployed Adobe CC 2014 32 bits to our neighborhood. Students launch Adobe Flash Professional and are able to start a project using ActionScript 2.0. But as soon as they click on save and try to save their project... boom... an error occurs "met with an invalid argument' it happens to any student and any computer. Help, please!

    They can only use the old Adobe CS5 flash professional because it does not crash.

    Thank you

    Raul

    [email protected]

    CC for flash doesn't support AS2, so perhaps that is the reason.  CS6 (or earlier version) supports AS2.

  • How can I really associate .as ActionScript with Flash Builder file in Windows 8?

    How can I really associate .as ActionScript with Flash Builder file in Windows 8?

    In Windows 7, you have to go to preferences - Flash Builder - File Associations, etc. There is no file Associations in the Windows 8 version: (see image)

    Adobe made a web page that indicates that you must use Windows Explorer to associate FlashBuilder.exe .as files, but it does not work: http://helpx.Adobe.com/Flash-Builder/KB/unable-set-default-file-associations.html

    FlashBuilder.exe does not support opening a file .as like that. Flash Builder attempts to launch a new process and requires a different workspace to be able to open a Windows file. So either Adobe should add support for binding to the Windows 8 file in Flash Builder, or it must be a setting that prevents the Flash Builder to open a second instance of process.

    Flash Builder Settings.jpg

    I found a solution. I used a Windows 7 machine that is the file association appropriate and observed the key of Windows registry using regedit.exe. I exported the key and made a .reg file and copied on my machine Windows 8. After installing registry keys, the associated file did not immediately because Windows 8 has this key to the user choice that always associates the file .as with Flash Professional. So after installing the underside of the keys, then I used Windows Explorer to associate files with Flash Builder .as and my file associations work as expected. It is an Adobe specific integration problem that must be fixed on the end of Adobe to support file associations in Windows 8.

    Success as follows:

    (1) install the registry keys below

    (2) use the Windows Explorer to always associate FlashBuilder.exe .as files

    ========================================================================================

    copy the below into a file with the .reg extension. Then use the "Merge" command to Windows Explorer to install in the registry

    ========================================================================================

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.as]

    @= "FlashBuilder.ActionScript".

    [HKEY_CLASSES_ROOT\.as\ShellNew]

    "NullFile"=""

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript]

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\DefaultIcon]

    @= "C:\\Program Files\\Adobe\\Adobe Flash Builder 4.7 (64 Bit)\\eclipse\\plugins\\com.adobe.flexbuilder.ui_4.7.0.349722\\icons\\fb_as.ico.

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\Shell]

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\Shell\Open]

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\Shell\Open\Command]

    @= hex (2): 22, 43, 00, 00, 3 a, 00 5 c 00, 50, 00, 72, 00, 6f, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 20,.

    00,46,00,69,00 6 c 00, 65, 00, 73, 00, 5 c, 00, 41, 00, 64, 00, 6f, 00, 62, 00, 65, 00, 5 c, 00,------.

    41,00,64,00, 6f, 00, 62, 00, 65, 00, 20, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68, 00, 20, 00, 42,------.

    00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 00, 20, 34, 00, 2nd, 00, 37, 00, 20, 00, 28, 00,------.

    36,00,34,00,20,00,42,00,69,00,74,00,29,00 5 C 00, 46, 00, 6 C, 00, 61, 00, 73, 00, 68,.

    00,42,00,75,00,69,00, 6 c, 00, 64, 00, 65, 00, 72, 00, 2nd, 00, 65, 00, 78, 00, 65, 00, 22, 00,------.

    20.00, 2d, 00, 6F, 00, 61, 00, 6 d, 00, 65, 00, 20, 00, 22, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68,.

    00,20,00,42,00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 22, 00, 20, 00, 2d, 00, 2d, 00,------.

    6 c, 00, 61, 00, 75, 00, 6F, 00, 63, 00, 68, 00, 65, 00, 72, 00, 2nd, 00, 6f, 00, 00, 65, 70, 00, 6e,------.

    00,46,00,69,00 6 C 00, 65, 00, 20, 00, 22, 00, 25, 00, 31, 00, 22, 00, 00, 00

    [HKEY_LOCAL_MACHINE\SOFTWARE\.as]

    @= "FlashBuilder.ActionScript".

    [HKEY_LOCAL_MACHINE\SOFTWARE\.as\ShellNew]

    "NullFile"=""

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript]

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\DefaultIcon]

    @= "C:\\Program Files\\Adobe\\Adobe Flash Builder 4.7 (64 Bit)\\eclipse\\plugins\\com.adobe.flexbuilder.ui_4.7.0.349722\\icons\\fb_as.ico.

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\Shell]

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\Shell\Open]

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\Shell\Open\Command]

    @= hex (2): 22, 43, 00, 00, 3 a, 00 5 c 00, 50, 00, 72, 00, 6f, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 20,.

    00,46,00,69,00 6 c 00, 65, 00, 73, 00, 5 c, 00, 41, 00, 64, 00, 6f, 00, 62, 00, 65, 00, 5 c, 00,------.

    41,00,64,00, 6f, 00, 62, 00, 65, 00, 20, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68, 00, 20, 00, 42,------.

    00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 00, 20, 34, 00, 2nd, 00, 37, 00, 20, 00, 28, 00,------.

    36,00,34,00,20,00,42,00,69,00,74,00,29,00 5 C 00, 46, 00, 6 C, 00, 61, 00, 73, 00, 68,.

    00,42,00,75,00,69,00, 6 c, 00, 64, 00, 65, 00, 72, 00, 2nd, 00, 65, 00, 78, 00, 65, 00, 22, 00,------.

    20.00, 2d, 00, 6F, 00, 61, 00, 6 d, 00, 65, 00, 20, 00, 22, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68,.

    00,20,00,42,00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 22, 00, 20, 00, 2d, 00, 2d, 00,------.

    6 c, 00, 61, 00, 75, 00, 6F, 00, 63, 00, 68, 00, 65, 00, 72, 00, 2nd, 00, 6f, 00, 00, 65, 70, 00, 6e,------.

    00,46,00,69,00 6 C 00, 65, 00, 20, 00, 22, 00, 25, 00, 31, 00, 22, 00, 00, 00

  • Automation of several Flash file by using the XML file 'mailing list '.

    I created a Flash interactive multi-fichiers 'demo' for a client. It is very well as a Web site (although he doesn't use it as a Web site) in the way it is stated that there is an index page which can then direct you to product categories, which you can click to see. Each 'page' contains the product (or product category) information, photos, diagrams, etc. There is nothing of Flash animation.

    My client also wants to be able to put in place so that the demo runs automatically in a configurable XML file. My ActionScript skills are fairly limited, but I was able to by using ActionScript 3 to load and read XML file. A loop using 'for', I am able to read the XML file and returns the path of each Flash file and the time that each file must be displayed (my client asked that he able to configure the duration of each page as well).

    I created a charger for each video clip and a timer for the duration. Unfortunately, the thing that throws me off is that when I try to load the clip (as the last element in the loop for), it reads the entire XML file, returns all the clips and the durations (I use trace to see this) before loading the clip. Thus, the single loaded clip is the last reading of the XML file.

    As I said, I'm not very good at ActionScript, so everything I managed to combine was internet tutorials.

    This is my code:

    var xmlLoader:URLLoader = new URLLoader();

    xmlLoader.addEventListener (Event.COMPLETE, xmlLoaded);

    var mcLoader:Loader = new Loader();
    mcLoader.contentLoaderInfo.addEventListener (Event.INIT, playClip);

    var mcCurrent:MovieClip = new MovieClip();
    stage.addChild (mcCurrent);

    var xml;

    function playClip(e:Event):void
    {
    trace("Function:playClip");
    stage.removeChild (mcCurrent);
    mcCurrent = MovieClip (mcLoader.content);
    mcLoader.unload ();
    stage.addChild (mcCurrent);
    }

    function xmlLoaded(e:Event):void
    {
    trace ("function: xmlLoaded");
    XML = new XML (e.target.data);

    var cl:XMLList = xml.clip;
    for (var i: uint = 0; i < cl.length (); i ++)
    {
    trace ("Begin"for"loop");
    trace ("variable" i "is" + i);

    clipPath var = cl[i].@path;
    var delay = cl[i].@duration;

    trace ("Clip path is" + clipPath);
    trace ("Display for" + delay);

    mcLoader.load (new URLRequest (clipPath));
    }
    }

    xmlLoader.load (new URLRequest ("filerunlist.xml"));


    I removed the timer event because, like all the rest was repeated until whatever it is obtained, so I wanted to figure out out to get the charger clip (mcLoader) to load the clip for each file, before I realized where put in the time to make sure each element is displayed for the appropriate duration. I suspect that the timer event must occur in the function "playClip", but that it would take advice on that as well.

    Thanks to anyone who can help me understand this.

    You need to do in the service of parsing xml is just to store all data in a table.  You will use while an array element after another through some timer control you set up, access each file in the order that they are stored in the table.  You do not load in this function, all data storage, and when finished, the last line of this function outside the loop, fires at any function you have who begins to treat the first element of the array.

    For example, to store the data objects in the array...

    var clipData:Array = new Array();   store your data xml here

    var clipToShow:uint = 0;                   use later in the function showClip

    function xmlLoaded(e:Event):void
    {
    trace ("function: xmlLoaded");
    XML = new XML (e.target.data);
       
    var cl:XMLList = xml.clip;
    for (var i: uint = 0; i
    {
    clipArray.push ({clipPath: cl[i].@path, delay: cl[i].@duration});

    }

    showClip();
    }

    function showClip() {}

    Regardless of the process of loading .clipPath clipArray [clipToShow]

    and using clipArray [clipToShow] .delay to start some timer is involved

    the timer handler function calls this function when it is run

    clipToShow += 1;   increment the counter for the next clip online

    }

    If you are not comfortable/familiar with the approach of the object, then you could also store the clip and delay data in two separate tables.

  • Using Actionscript 2.0 classes in Flash Media Server

    Hello

    I am using the new Flash Media Interactive Server 3.
    I have written quite a few classes to make a game in a nice object-oriented medium. Each of them in the style of the Actionscript 2.

    Now, when I'm in my "main.asc" (the file actually executed by FMS. I can't find a way to import these classes.
    When you use:
    Import the package. Class;
    The server cannot resolve the name of the package.
    When you use:
    Load("dir/file.asc");
    The server does not allow me to use the keyword "class".

    Does anyone have experience in this field? And it is even possible to use this kind of classes (that work well when they are used in a SWF client side)

    Thank you!



    Bart

    Hello :)

    FMS does not use AS1 but Javascript 1.5 Customize Adobe :) SSAS (Server
    Side ActionScript) isn't AS1 ;)

    But in SSAS, we can create the class of OBJECT-oriented programming and use implementations as AS2 or
    AS3 with class, design patterns, etc...

    Example in my opensource framework VEGAS based AS3/AS2/SSAS and it
    Implementation of SSAS:

    http://code.Google.com/p/Vegas/

    You can find all categories of this framework:
    http://svn1.CVSDude.com/OSFlash/Vegas/SSAS/trunk/src/

    For example... you can use the events as AS3 with EventListener model,
    EventDispatcher etc...

    http://code.Google.com/p/Vegas/wiki/VegasTutorialsEvents (all AS2
    example on this page works in SSAS with my framework)

    Classmapping we can create application N-tier base W3C events
    model...

    The SSAS for now use JS1.5... I hope that in the next version of FMS
    language JS2 or CC4 ;)

    EKA + :)

    fmslove wrote:
    > Server side scripting in FMS is possible in AS1.

  • HELP-I can't open things such as the restoration of the system or the command prompt, etc without being asked to "choose the program you want to use to open this file"

    HELP-I can't open things such as the restoration of the system or the command prompt, etc without being asked to "choose the program you want to use to open this file"

    so boring

    Hello

    Download and run the fixit tool from the link below and check if this solves the problem.

    http://support.Microsoft.com/kb/950505

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • I downloaded a Flash file to my host using FileZilla. Now how to do it to my Web site?

    I downloaded a Flash file to my host using FileZilla. Now how to do it to my Web site? DVD Flash folder created in yet. I want to put it on a website to play as a DVD. I got a GoDaddy ftp server host and they told me to install FileZilla to transfer files to my place. But I'm Muse now and I do not see how to bring it in my current project Panel.

    You can either file to your content page or you can add the files to download in Muse and then use any player to add code to read the file on the integration page.

    Thank you

    Sanjit

  • Newbe to epub creation... itunes book oven will not accept encrypted files from InDesign 2014... cant find them and which fonts can use one without this problem?

    Newbe to epub creation... itunes book oven will not accept encrypted files... cant find them and which fonts can use one without this problem?

    The book oven does not accept the embedded fonts that are encrypted, even if the encryption is by the IDPF specifications.

    InDesign will not incorporate fonts unencrypted by respect for the rights of the provider of the police.

    There is no work around as I know, at least with regard to preview what will look like the fonts. If you choose not to embed the fonts then the oven should work, but then you won't be able to see what the fonts look like, no?

    What is the team of InDesign epub is simply side load the epub via dropbox or by e-mail. Two of these routes allow you to choose "open with...". "and iBooks will be one of the choices.

    Apple knows about it. I suggest that you remember that, as a customer, you are not satisfied with this behavior and asks that they go back on their decision.

    Douglas

  • I can't find a newer version of adobe flash player for ubuntu 14.04, I tried to use the apt version but it wouldn't work and I don't know how to use the tar.gz files and install, I think the current version to .deb

    I can't find a newer version of adobe flash player for ubuntu 14.04, I tried to use the apt version but it wouldn't work and I don't know how to use the tar.gz files and install, I think the current version to .deb

    Hi LF12,.

    The latest version of Flash Player for Linux is 11.2.202.400.  The current versions of Flash Player are displayed here http://www.adobe.com/software/flash/about/. The versions on the page are updated with each new version.

    --

    Maria

  • Download a binary file using sockets without known length

    Hi all

    I am trying to download a binary (.exe) file using the socket, where the length of the file is not known. Please take a look at the code I use:

    var readBin = socketBin.read ();

    <-here's the code that checks the http Content-length header field

    ; If the field length of the content is available, then I will use it to download files, otherwise continue with the following code-->

    "pBar.reset (download plugin..", null); pBar.hit (readBin.length);

    While (1)

    {

    binFil.write (readBin);     'binFil' is the file in which the uploaded file is written.

    readBin = socketBin.read ();

    pBar.hit (readBin.length);

    If (socketBin.eof | readBin.length < = 0) {}

    Break ;}

    }

    binFil.write (readBin);

    binFil.close ();

    socketBin.close ();

    Problem is: I am able to download files within 10 seconds when the content length is known. But when the content length is not known, its about 1 and a half minute to download, also the progress bar gets hit for much of the time.

    FYI: socket is opened in binary mode, file is downloaded correctly (even if it takes abt a minute). BTW Im using extendscript CS5.5

    I am not able to understand where is the bug.

    Hi, Srikanth:

    Several points.

    #1 during the validation of code, please use the web interface and the > icon and choose syntax highlighting > Java. Otherwise your code is simply too difficult to read and gets the poster.

    #2 #1 apropos, your script, as written does not work, because this line:

    url=url.replace(/([a-z]*):\/\/([-\._a-z0-9A-Z]*)(:[0-9]*)?\/?(.*)/,"$ 1/$2/$3/$4");
    

    has an extra $ 1 space and should be this:

    url=url.replace(/([a-z]*):\/\/([-\._a-z0-9A-Z]*)(:[0-9]*)?\/?(.*)/,"$1/$2/$3/$4");
    

    Please take an extra moment to ensure that when ask you for help, you do so in a way that makes sense. Otherwise, it takes too much effort to help you, and it's frustrating.

    #3 If equip them us your script by adding a line to the loop while():

                while (1)
                {
                    binFil.write(readBin);
                    readBin = socketBin.read();
                    $.writeln(Date()+" Read "+readBin.length+" chars, eof is "+socketBin.eof);
                    if(  readBin.length<=0){         break;}
                }
    

    We get the output like this:

    Mon Jul 11 2011 12:06:56 GMT-0400 Read 1024 chars, eof is false
    Mon Jul 11 2011 12:06:56 GMT-0400 Read 1024 chars, eof is false
    Mon Jul 11 2011 12:06:56 GMT-0400 Read 1024 chars, eof is false
    Mon Jul 11 2011 12:06:56 GMT-0400 Read 631 chars, eof is false
    Mon Jul 11 2011 12:07:06 GMT-0400 Read 0 chars, eof is false
    Result: undefined
    

    So, we can reasonably conclude that the last reading at the end of the stream returns a short read when the other side blocks.

    Unfortunately, this is clearly insufficient since you can get short readings all the time.

    I don't know why you say we do not know the length of the file, HTTP, it provides you the Content Length of the response field.

    But the easy answer is to get the server to close for you. It's easy enough, with connection: close. Why were specify you

    Connection: keep-alive, what? :

                var requestBin =
                "GET /" + parsedURLBin.path + " HTTP/1.1\n" +
                "Host: " + parsedURLBin.address + "\n" +
                "User-Agent: InDesign ExtendScript\n" +
                "Accept: */*\n" +
                //"Connection: keep-alive\n\n";
                "Connection: close\n"+
                "\n";
    

    This gives a nice tidy:

    Mon Jul 11 2011 12:26:19 GMT-0400 Read 1024 chars, eof is false
    Mon Jul 11 2011 12:26:19 GMT-0400 Read 1024 chars, eof is false
    Mon Jul 11 2011 12:26:19 GMT-0400 Read 1024 chars, eof is false
    Mon Jul 11 2011 12:26:19 GMT-0400 Read 735 chars, eof is true
    Mon Jul 11 2011 12:26:19 GMT-0400 Read 0 chars, eof is true
    

    I suspect, you are better to use something like socketBin.read(64*1024) for a 64 k buffer size, but it doesn't seem to affect the on-the-wire protocol, so maybe its not so important.

    If you do not want to answer on the server

  • How to read a local file using as3 in flash in HTML object? [urgent]

    My web site contains a flash object.

    I want to use as3 to read a local .txt file

    by getting the user to the file directory.

    I know that AIR can support this by smth like:

    File.desktopDirectory.resolvePath

    but when I open an AIR file for this, it seems

    the action can not be performed when I embed in html.

    And I tried to use the above function in a normal life

    Flash file in the script action.

    But it does not recognize the file. class...

    How can it be done?

    It's urgent, reli

    Help, please...

    Thank you!

    a web-based flash application cannot detect the users directories.  You can use the method to browse class' filereference to let the user to locate a file in a directory that the user wants.  Flash can then recover the file name and type.  but, as mentioned previously, flash cannot determine the file directory.

Maybe you are looking for