Beginner Flex2 / AS3 question

I am a beginner by all respects and have decided to develop
an FTP via browser application for my company website in my free
time. Before I buy a few Flex 2 and Actionscript books for myself
and dive in, I figured it might be smart to ask the community if
its even possible or recommended.
Can you (should you) use Flex2 / AS3 as the basis for a drag
and drop .ftp through browser application? If so, feel free to
advise me on any Flex packages or methods to use as a basis and I
can place emphasis on that in my learning.

One thing I'd like to point out, generally I'm all for
recreating something on my own but for something on that magnitude
I'd suggest checking out this link, someone has already pretty much
created what you need to accomplish.
http://www.onflex.org/ted/2007/05/flexftp-ftp-client-in-flex-using.php
obviously if your not using PHP you can change the server side
around to reflect your needs but the source there has already
tackled some of the major issues of a(n) FTP client in Flex. One of
the biggest ones is with sockets you don't know when it's full so
you constantly need to clear it. However if you were to use the
FileReference classes (based on HTTP protocol) your going to need
to configure your server to allow large buffer sizes for files to
be uploaded as well as setup long timeouts. The other drawback is
using sockets theres no way to create a true progress of what's
been done. Just my two cents. Hope this helps.

Similar Messages

  • FlashBuilder and Flash AS3 question

    I'm heads down working with the FlashBuilder tool which is heavy AS3, and have used Flash CSx for years.
    My question: I'm assuming my AS3 skills that I develop with FlashBuilder will be directly applicable to Flash CSx, correct? I understand I'll need the context of applying my AS3 code to the Flash objects when working in Flash CSx but for the most part will my AS3 skills carry over from FlashBuilder to Flash CS4/5?
    Thanks in advance,
    Rich

    AS3 knowledge and skills has nothing to do with editors/IDE (which CSx, FlashBuilder, etc. are) per se. So, once you get your hands on AS3 - it doesn't matter where you write your code - it will work the same way in the final compiled swf. Nevertheless, there is a learning curve involved while getting to know new development environment as with any new software.

  • Beginner Menu Layout Question

    Hello,
    I apologize since I know this question has to be answered somewhere but I'm not sure how to search it...
    What is the proper way to build a menu for a website?  I have built my homepage with the header, footer, and side menu that I like.  Now I want to build pages that the menu link while keeping the header, and menus.  What is the right approach?  My code is written in html and css.  I use to develop websites in pure html and used frames but I know they are not recommended.  Also, I don't want to have to copy my code into each link.
    If you could also recommend a good beginner tutorial on layout for css websites, I would be greatly appreciative.  I have read through w3schools tutorials and a few others.
    Thank you in advance!
    -Eric

    You have 2 choices:
    Templates    
    Server Side Includes
    Using the template function within Dreamweaver is a good way to go if it's a small site . .
    For larger sites then serverside includes would be more practical and easier for maintenance purposes.
    Templates:
    You create a master template page, you declare which areas will be the same for every page, (non-editable regions)  and then declare an area that will
    change on every page (the content area) , these are editable regions.
    Once you create the template and save it, you are then able to create 'child' pages from this template  - as many as you like  :-)  If you every need to make a change to the menu or the footer or the header, change it in the master template, save it and the changes will flow through to the child pages created from the template.
    Using DW Templates:
    http://www.adobe.com/devnet/dreamweaver/templates.html
    http://www.adobe.com/devnet/dreamweaver/articles/dw_templates.html
    The other option is to use Server Side Includes (SSI)
    A bit more about SSIs here:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f 693f21-7b6ca.html
    http://bignosebird.com/ssi.shtml
    Using PHP includes if your server supports php:
    http://www.w3schools.com/PHP/php_includes.asp 
    One major difference between using Templates and SSI and PHP Includes?
    When you make a change to a template page, you will need to re-upload all the pages to the server that were changed - may become very tedious if it is a very large site.
    With using SSI, you make a change to one file and only have to upload the one file and all pages on the server will be update accordingly.
    When to use Templates, Library Items & SSIs -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • Beginner Unity Connection question

    I have a very simple beginner question I would've thought would be really easy to find the answer, but so far, I have not.
    To set up a call system call handler for your basic company main number, do I need a physical phone with the number attached to a line.
    I've tried it without the physical phone and can't get it to work, but with a line, no problem?
    thanks

    Thank You.
    Figured it would be fairly simple, just needed to know where to start.
    This might be the answer to another beginner question I have been thinking about also.
    Is it common for users to call their own number when they are calling in from outside to pick up vm and then press * to access?
    The Meridian system we are tossing has a common DID number, but the way our vm was setup, the number is internal. I'm not sure if calling your own number is common or if I need to make a new number, or another CTI rp sort of thing and forward to internal vm DN.
    Hope that makes sense.

  • Noob transition to AS3 question

    Slowly learning my way into AS3, here is the original code that i am trying to move into AS3 from AS2. The function is to allow the mouse over state to stay selected until the mouse moves off of the selected area. Here is the AS2 code:
    mc.onRollOver = function(){
    mc.gotoAndStop(2);
    mc.onRollOut = function(){
    mc.gotoAndStop(1);
    How i have changed it: This is where i need help
    mc.addEventListener(MouseEvent.ROLL_OVER)=function(){
    mc.gotoAndStop(2); }
    mc.addEventListener(MouseEvent.ROLL_OVER)=function(){
    mc.gotoAndStop(1); }
    What am i missing with the code?

    I tried this code, and got a duplicate error:
    mc.addEventListener(MouseEvent.ROLL_OUT, overHandler);
    function overHandler(evt:MouseEvent):void {
         mc.gotoAndStop(2);
    DId you define the overHandler function twice? That's about the only way you could get a duplicate error... I think you want:
    mc.addEventListener(MouseEvent.ROLL_OUT, outHandler);
    function outHandler(evt:MouseEvent):void {
         mc.gotoAndStop(1);

  • Hard mathematics/as3 question.

    Hi all;
    I've made a 3D spherical gallery that builts itself solely by the number of pictures it has to contain, and spreads the photos even on the 3D surface.
    basicaly the final goal is to import an XML and convert it to array that will fill the sphere.
    I'f you're willing to help pleas give me your email here and I will send you the FLA because you need to see what I mean inorder to understand what im about to ask, all the code is in the first frame, I have several class for this but i've connected all the crutial parts together so you will get the point.
    the final goal is that the spacing between the pictures closest to you will be minimum 70px wich is the spacing you see if:
    var PhotosNum:Number = 150;
    var rad:Number=600;
    this.transform.perspectiveProjection.fieldOfView=115;
    the photosNum is the length of the photos array built from the XML.
    the rad is a number used to build the Sphere obj.
    the fieldOfView is a pain in the @#%! and the root for all my problems.
    play with these three values so that the sphere will always be in the size of the grey circle on the stage.
    What I need:
    well besicaly, a formula that will set the rad and fieldOfView to achive a good and clear spacing between photos by any parameters you decide to use.
    (PhotosNum, grey circle, width of single photo)
    for now treat all the photos as identical.
    if you need details on the function that spreads the photos to get the number of circles and number of photos in each circle let me know i'll explain it in depth.
    if the explanation/ request is not detaild or not understandble please let me know, sry for my english.
    thanks in advance for whoever chosses to accept the chalange

    Thanks Harm /
    I thought  you might be out there, 7 am here and I am just callin it wuits for tonight / another all nighter here.
    I just wanted to be sure it would have no impact down the road when I get to raid setup.
    Question about the Quadro drivers:
    On the CD they have drivers which I did not install at this point / they said they were some kind of accelleration drivers for CAD graphics work..
    Should I also install these ?
    Also:
    Did not install NVIDIA HD Audio Drivers thinking they might conflict with Premier or the Audio drivers for the Gigabyte UAD-5 motherboard.
    Think I would only need those if I were connecting to a HD TV Display and I wanted the audio to travel with those conncetions ?
    Any feedback on those topics ?
    Thanks Much !

  • Simple AS3 question

    in AS2 I used to load swf and send vars to the swf through
    the url like that:
    _root.loadMovie("myMovie.swf?name='bob'")
    how would i do it in As3
    thanks

    shikozel,
    > thanks David. first I have to tell you that I am a
    regular on
    > your blog. I really like it.
    Thanks! I like writing it and getting to know so many fellow
    developers.
    > how would you get this var within Flex application?
    Although I use Flex Builder fairly often and have tinkered
    with the Flex
    framework, I haven't yet loaded SWFs with FlashVars-type
    variables into that
    framework. In AS3, the approach would be the one I posted
    earlier, but the
    Flex framework itself may have some other way of evaluating
    the additional
    data.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Studying "programming in AS3" questions

    Hi,
    Looking at the code below, I presume KeyCode and ENTER are both values (or should I say property?) of the Keyboard class.   Bear with me, I'm new at learning AS3.  So far, I find it easier than learning Flash itself, but still I want to make sure I learn it right.
    function keyPressed(event:KeyboardEvent):void
    if (event.keyCode == Keyboard.ENTER)
    mainText.text = myGreeter.sayHello(textIn.text);
    The manual mentions (see below) that sample files come with it, but it doesn't say where those files are located.  Any ideas where they are?
    Working with end-of-chapter examples
    Like this chapter, most chapters in this manual include a significant end-of-chapter example that ties together many of the concepts discussed in the chapter. However, unlike the Hello World example in this chapter, those examples will not be presented in a step-by-step tutorial format. The relevant ActionScript 3.0 code in each example will be highlighted and discussed, but instructions about running the examples in specific development environments won’t be provided. However, the example files distributed with this manual will include all of the files you need to compile and run the examples easily in your chosen development environment.
    Updated 11

    Getting more and more interesting.
    Thanks!
    Ron

  • Beginner PS CS5 question

    In PS CS5, I masked a rectangular selection on my first photo.   Then I dragged a 2nd photo on to 1st photo using the move tool and it creates a new layer which I can now see a portion the 2nd photo through my 1st photo's rectangular selection window I selected a minute ago.  So far so good.
    However, I can only see a portion of the 2nd photo through the window because the window is not large enough for the entire 2nd photo to be seen.  Is it possible to reduce the size of only the 2nd photo so that the entire 2nd photo is small enough to be seen through the 1st photos rectangular selection?
    Thank you.
    Sevkie

    If I understood your question the process is quite simple.
    1. Make sure the layer with the part you want to resize is the active layer
    2. Click "cmd" + "a"
    3. Go to the "Edit" drop down menu and select: "transform": "scale"
    4. Drag corner of the marquee until you have the size you want, then hit ENTER. To constrain the proportions hold down the shift key as you drag.

  • Beginner ask a question !!!

    Hello ...
    I'm a beginner in java language... and when i am try to compile the file it gives this error ??
    unreported exception java.lang.Exception; must be caught or declared to be thrown
    int guess = askForNumber(0,100);
    can you give me any help ,,,
    thanx
    the code down here !!!
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    class hangman{
         static int h;
    public static void main(String[] args){
         h=newRandom(100);
         int guess = askForNumber(0,100);
    public static int askForNumber(int minRange,int maxRange)
         throws Exception{
         try{
              BufferedReader keyboard = new BufferedReader(new InputStreamReader(System.in),1);
              System.out.print("Guess the number "+minRange+"-"+maxRange+" ??");
              int read=Integer.parseInt(keyboard.readLine());
              return read;
         }finally{
              System.out.println("System error !!");
    public static int newRandom(int Dificulty){
         return (int)Math.round(Math.random()*Dificulty);
    }

    Use [ b ] ..... [ /b ] to make fornt bold
    Use [ i ] .... [ /i ] to make font italic
    use [ u ] ..... [ /u ] to make font
    underlined
    but without spaces put the tags at the first and at
    the end of the selected textI'm sure jverd knows that. He was asking you how you didn't manage to find the code tags, when obviously you found the other tags. He wasn't asking you to explain how those other tags work.

  • Beginner product selection question

    My first post here ... I apologize if I have the wrong forum or didn't see this question in a FAQ.   I am on the verge of purchasing Premiere Pro.   My video editing needs are relatively simple as I am a consumer who just makes home/family movies and music videos with footage from a bicycle helmet cam.  Unfortunately, the video editor that I have used for the last ten years does a terrible job of rendering HD.  Since I will be taking on a learning curve I want to go with Premiere vs. another consumer level product.
    An individual I know suggested the Creative Suite Production Premium bundle, but in analyzing the components my instincts tell me I don't need the suite.  I do not do still photography, web development, graphics development, or publishing.   However, I did notice the suite contains After Effects and Audition.   What I don't know is whether those two products are highly worthy for a consumer or are they really for far more advanced tasks and Premiere contains plenty of built in capability here.
    Regarding audio, I do include music tracks that sometimes overlap slightly; make volume adjustments up and down during a clip, etc.  Pretty simple stuff really.   I use very few special effects in my movies, although perhaps if I knew more about them I would do more.   Color and lighting correction, slow motion, and anti-camera shake would be useful.   I'm guessing Premiere includes facitilies for these basic things, but then maybe not.
    Suggestions?
    Thanks,
    Jon

    Hello everyone - thank you for your help here.   Here are a few more comments back and I'm all ears if there is additional pertinent feedback.
    I use a Sony HD camcorder, consumer level; a Countour+ HD bike camera; Flip Mino HD; and my wife's iPhone.  I realize I may have problems with various native formats the devices store, but hopefully not.  If so, I will find some sort of conversion workaround for various issues like the one's John noted above.
    The problem I have with my current software Corel Videostudio X4 is what happens when I render a project - the video quality goes south.   I realize you lose some data any time you render something, but we are talking about another league of bad here.    I tried some other trial software products and they do not have the same issues.  So knowing I was going to switch to new software, I decided to either get Premiere or buy a Mac/FC.  Being a PC user I decided to go the Premiere route.   Just wanted to make sure I get the right product on the suite vs. premiere front.

  • Beginner XCode/Java Question - printf problem

    Hello,
    I have just started playing around with XCode and Java. I entered the statement:
    System.out.printf("%s\n%s\n", "Welcome to", "Java Programming!");
    into the default working java project (File -> New Project -> Java Tool) and Im getting the error "cannot find symbol" after I compiled it. I do not believe this is a syntax error since it was copied straight from a textbook. So, my questions are:
    1. What "symbol" is Xcode refering to?
    2. Does Xcode coem with the latest version of Java?
    3. How can I check the Java version?
    4. Is there a library that needs to be imported to get it working?
    Thanks in advance!

    Hi Arcus
    I think you might have to change some of the Xcode settings to force it to use Java 1.5. Try this:
    - From the menu, select: Project > Edit Active Target 'Your Program Name'
    - From the popup window, select Settings > Simple View > Java Compiler Settings.
    - Set Target VM Version and Source Version to 1.5
    - Dismiss the window by clicking on the red dot at the top left corner.
    Best wishes
    Bob

  • Beginner JSP / Forms question

    Hello,
    I'm just starting with jsps and I've got a pretty simple question. In my jsp I generate a form with two fields: age and weight. I'm wondering what the best method is for handling the users response. Two specific questions: (1) I'm currently handling the response in the same jsp which generates the form. Is this bad, uh, form? (2) To differentiate between the 'initial' request and the request resulting from the users form submission I'm arbitrarily checking whether the value of the 'age' parameter is null. Is there a better way to do that? Thanks in advance for any thoughts on these issues.
    -exits

    Yeah, that is fine for early JSPs (on both questions).
    A couple of thoughts:
    1) What if the user submits a weight but not an age? You should probably check if either of the two inputs are null.
    2) This design is fine for smaller applications (it is called the Model 1 application design). For more complex applications, using Model 2 (Model - View - Controller or MVC) pattern is much better.
    Basically you use a combination of Servlets and JSPs. One servlet is the target of all your links and forms - this is the Controller. Based on parameters and other conditions, the controller determines where the page should go next, and accesses the business logic (other classes that get/store data or calculates results. These other classes are the Model) , and passes this information to the the JSP needed to display that information (the View).
    This helps JSPs stay small and manageable, since adding to much logic in a JSP means writing scriptlets, which become tough to maintain later on. It takes more work up front, but for larger apps and over longer periods of time (when it becomes time to update the look, or fix bugs) it makes a lot of sense.

  • Beginner's EJB Question

    I've been going through the J2EE tutorial and generally understand how it works but I have a question about application clients. I get the general concept that a client uses JNDI to look up the environment entry to find an EJB. However, I think my question is "how does the JNDI entry get set in the application client's machine?" In a web client it makes sense to me because the JSP hits the server (and the server is where the JNDI entry is). On the application client the only way I can think that the entry gets there is through maybe a jar file created when the application is compiled on the app server. My guess is that that's packaged with the application client and each user who installs the application client has to put the jar in their classpath. Is that correct?
    In a very much related question, I'm also wondering how the client calls methods on the enterprise beans. I assume that the jar files have some code in them that make a network connection to the app server. I just wanted to verify that my understanding of how this all works is correct.

    I've been going through the J2EE tutorial and
    generally understand how it works but I have a
    question about application clients. I get the
    general concept that a client uses JNDI to look up
    the environment entry to find an EJB. However, I
    think my question is "how does the JNDI entry get set
    in the application client's machine?" In a web
    client it makes sense to me because the JSP hits the
    server (and the server is where the JNDI entry is).
    On the application client the only way I can think
    k that the entry gets there is through maybe a jar
    file created when the application is compiled on the
    app server. My guess is that that's packaged with
    the application client and each user who installs the
    application client has to put the jar in their
    classpath. Is that correct?
    Not really. JNDI binding exists on server only. When client does a lookup it connects to server's naming service (via remote call) and asks an object with specific JNDI name.
    In a very much related question, I'm also wondering
    how the client calls methods on the enterprise beans.
    I assume that the jar files have some code in them
    m that make a network connection to the app server.
    I just wanted to verify that my understanding of how
    w this all works is correct.
    Yes, it's correct. Code that makes a network connection is called a stub (or client stub). For some app. servers (SUN AS) you need to generate stubs of EJB's and put them into clien't classpath. For others (JBoss) it's not required, because a stub can be downloaded from server.

  • Need help AS3 question

    I am programming a music game where there are five movieclips (acting as buttons) representing five notes of a piano.  When the user clicks on each one, they play a note.  I would like to know how I can program it so that if the user clicks a specific five note sequence, it will trigger an animated movieclip in the timeline.
    Example:
    Note_1 + Note_4 + Note_2 + Note_5 + Note_3 = Animation_movie
    I am using Flash CS4 and Actionscript 3.  I've searched everywhere for a posting on this and couldn't find it anywhere.  Any help would be greatly appreciated!

    I tried using the array command, I feel like I'm getting closer, but I still can't get it to work.  This is what I have so far
    ActionScript Code:
    var noteArray:Array = new Array(note05_mc, note01_mc, note03_mc, note04_mc, note02_mc);
    var buttonArray:Array = new Array();
    stage.addEventListener(MouseEvent.CLICK,musicsequence);
    function musicsequence(event:MouseEvent):void {
        if (noteArray.toString().indexOf(event.toString()) != -1) {
            buttonArray.push(event);
            if (buttonArray.toString().indexOf(noteArray.toString()) != -1) {
                // (This is where my event would go)
            trace("Hey, it works!");
            buttonArray = new Array();
    } else {       
            buttonArray = new Array();

Maybe you are looking for