Basic Actionscript 3.0 OOP Confusion

I'm having a difficult time getting basic Actionscript OOP
principles to work in my code. I have an application I'm building
that extends the Sprite object. I try to instantiate another Sprite
object, and specify the with/height/x/y values to size this new
object, but it never properly sets these values. If I trace the
width/height, etc. they're always equal to 0. I'm not exactly sure
what I'm doing wrong.
The 3 different sizing syntax I've tried are:
graphics.drawRect(0,0,width,height); // DOES NOT WORK
graphics.drawRect(0,0,parent.width,parent.height); // WORKS
graphics.drawRect(0,0,600,400); // WORKS
Code is posted below:
package {
import flash.display.Sprite;
import flash.display.Stage;
import flash.display.StageScaleMode;
import flash.display.StageAlign;
import ChartPanel;
public class Chart extends Sprite
private var chartType:int;
private var chartPanel:ChartPanel;
public function Chart()
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
graphics.beginFill(0xffffff);
graphics.drawRect(0,0,stage.stageWidth,stage.stageHeight);
// Fill BG as White
graphics.endFill();
chartPanel = new ChartPanel();
chartPanel.setDimensions(600, 400, 0, 0);
addChild(chartPanel);
chartPanel.draw();
package
import flash.display.Sprite;
public class ChartPanel extends Sprite
public function ChartPanel() {}
public function setDimensions(w:int, h:int, off_l:int,
off_t:int):void
this.width = stage.width;
this.height = stage.height;
this.x = off_l;
this.y = off_t;
public function draw():void
trace("DRAWING: this.width=" + this.width + " this.height="
+ this.height + " this.x=" + this.x + " this.y=" + this.y);
graphics.beginFill(0x0000ff);
// DOES NOT WORK graphics.drawRect(0,0,width,height);
graphics.drawRect(0,0,parent.width,parent.height);
graphics.endFill();

well... you still don't grab the hole width and height
concept, as I told you they are MEASURES not fixed variables, so by
setting a width and a height you are not defining a biding
rectangle with content in ti, the Sprite class simple doesn't have
the code for that, the Sprite is simply an elements with things in
it, now actual border or frame.
For what you want you'll still need your invisible rectangle,
but it will have to be a MASK of the sprite class.
As for the code (NOTE I'M JUST WRITING HERE SO IT CAN HAVE
SOME BUGS) it should be something like this:
public class Box extends Sprite {
private var border:Shape;
private var _width:Number = 100;
private var _height:Number = 100;
public function Box() {
border = new Shape();
addChild(border);
mask = border;
drawDispArea();
private function drawDispArea():void {
border.graphics.clear();
border.graphics.beginFill(0xFF0000);
border.drawRect(0, 0, width, height);
override public function set width(v:Number):void {
_width = v;
drawDispArea();
override public function get width():Number {
return _width;
override public function set height(v:Number):void {
_height = v;
drawDispArea();
override public function get height():Number {
return _height;
}

Similar Messages

  • Very Basic actionscript question

    Hi,
    This is very basic but for some reason cant get it to work.
    Basically I have a movie that plays and at the end I have a button that comes on screen but once the button stops I want the user to press the button then it goes to the url.
    I have
    stop() {
    on (release) {
            getURL("http://google.co.uk","_self","blank");
    but this doesnt work.
    Thankyou for any help.

    I have now sorted it, I had my movie on actionscript 3 and needed to put the url code onto the actual button.

  • Basic Actionscript question

    Forgive me, I'm really new to this.
    Ok, so I'm wanting to have ads radomly play before people watch a video on my site.Is there a way to write the script for this and place it in the xml or do I have to something differently.
    I already have the video up on our site. So I'm just not sure how I "connect" the actionscript and xml that way it plays the commercial before the video.
    Do I have to build a new player and everything to do this? I've never built a player before, so if I don't have to, I'd rather not. Thanks.

    This is not a basic question but rather extensive topic.
    Yes, there are ways to connect anything to XMLs. But you have to write your own application/player that will contain the logic to do that.
    Also, there are open source player out there that may do what you ask.

  • Basic Actionscript Trouble in CS3

    In MX, and in Flash 8 I had no problems with making buttons
    and putting some basic actionscipt on it. In CS3 for some reason
    when I make a button, look in the properties window and the button
    windows there (which tells me I'm on the buttons layer) but when I
    go to put the actionscipt in, it doesnt allow it. It says "Cannot
    add actionscript because blah blah". It only allows it with the
    frame, not the button if that makes any sence. Why is this?

    Ok, will try. However I tried that one I think. I changed it
    to AS2 (not from the beginning). So basiclly open a new Flash FLA
    and how do I make it ONLY go to AS2? Thanks

  • Basic actionscript help

    i confess, i am a newbie. i have been working with a
    template, modifying it to my needs. i have ran into an actionscript
    code that i cant seem to find the reference to in the books. it is:
    _root.G
    can someone point me toward the proper reference material to
    read up on this?
    thanks!

    Basically the "_root" part of the script references your main
    timeline. Meaning your not inside a symbol but you are working
    directly on the main timeline. So what you are probably doing here
    is referencing a movie clip on the main timeline with the instance
    name "G".
    For example, if I wanted to tell a movie clip named G sitting
    on my main timeline to start playing from frame label startHere I
    would write the following code:
    _root.G.gotoAndPlay("startHere");

  • How to do a simple or basic actionscript on Adobe Flash CS4? I am just having problems

    I am doing my simple portfolio on Adobe Flash CS4. However when I am already looking just for the basic action scripting from the tutorial I can't determine which is the most accurate for the buttons.
    Here's my sample below
    the texts that were listed below are my buttons such as  ABOUT, PROFILE, PRINT ADS, MAGAZINE, LOGO, PRINT, ILLUSTRATION, and DESIGN CONCEPT
    I've already convert it into symbol as BUTTON and now I am ready to put a basic action script to function and transfer into another scene.
    Example I want to function the ILLUSTRATION and PRINT button into Illustration and Print scene how would I do the action script about it?
    Here's the example of next scenes that could be clicked from the homepage
    This is the ILLUSTRATION scene
    This is the PRINT scene
    Please help me on how to do the action scripting by using the gotoAndPlay or anything else to function my portfolio. Thank you

    Give each of your buttons an instance name via the Properties panel.  As an example fr coding them, let's say you named the button "about_btn" for the scene named "about" that you want it to go to.  Then to have that button make your file go to the about scene, you would add the following code into a frame of the timeline where that button is (in a separate actions layer preferably).  Select the frame and in the Actions panel write...
    about_btn.onRelease = function(){
         gotoAndStop("about", 1);
    If you wanted it to play instead of stop at frame 1 of the about scene, then you would use gotoAndPlay(...) instead of gotoAndStop(...).  If you intended to go to a frame other than 1, then it is best to use frame labels and specify the label instead of the frame number.
    Just a word of warning, if you haven't gotten too far with the design yet, you should back away from using scenes and just build all your sections into the first scene as sections of the timeline and/or movieclips.  Combining scenes with navigation can be problematic... they just don't play right.  Scenes are more useful for animations that do not have navigation.
    When you use just the one scene, all your gotoAndStop/Play commands only need to specify the frame... as in gotoAndStop(1);

  • Basic actionscript help, tracing properties of my class object

    Hi all,I'm just starting to learn about classes in actionscript, I am following along with Moocks book Actionscript for Flash MX and are trying to execute a trace on the properties of my ballclass but all I get is undefined. He is what I have in my actions panel.
    function Ball () {
        this.radius = 10;
        this.color = 0xFF0000;
        this.xPosition = 59;
        this.yPosition = 15;
    var boucyBall = new Ball();
    trace (bouncyBall.radius);
    trace (bouncyBall.color);
    trace (bouncyBall.xPosition);
    trace (bouncyBall.yPosition);
    Any help would be great

    Since you are learning about classes, you might want to use one to help you:
    class Util{
    public function Util(){
    // empty constructor because you don't need one for this kind of class
    public static function traceProps(obj:Object,label:String):Void{
    if(label != undefined){
    trace(Properties for "+label+":");
    for(var a in obj){
    trace("   "+a+": "+obj[a]);
    trace(newline);
    Then place that class file somewhere in your class path so it will always be available to you. And then you can always add these lines.
    import com.complexity.Utils;
    If the file is in your class path you don't really need the above line, but it will help you remember that you are using it. Also I'm just making up what your class path might be based upon your screen name. You would need to use whatever actual path you had. And then...
    Utils.traceProps(bouncyBall,"trouble maker here");
    Of course don't use it with an 10,000 element array, unless you really like to suffer.....
    or just
    Utils.traceProps(bouncyBall);

  • Actionscript 3 rookie

    Hi,
    i´m totally new to actionscript 3 and definitely
    confused by all the new terms and the whole OOP itself. As for
    myself, i´m more into design and was quite happy with some of
    my rudimentary as1-skills. But now I really feel the need to
    enhance my knowledge and i´m ready to take some deeper steps
    into flash-programming. Normally i used movieclips for buttons. For
    example, I defined some rollOver/rollOut-animation for them and
    wrote some code like:
    example_btn.onRollOver = function(){
    this.gotoAndPlay(rollOverEvent);
    The rollOverEvent plays till it reaches the "stop"-call on
    its timeline.
    example_btn.onRollOut = function(){
    this.gotoAndPlay(rollOutEvent);
    My AS3-approach was:
    example_btn.addEventListener(MouseEvent.MOUSE_OVER,
    playRollOver);
    function playRollOver():void{
    example_btn.gotoAndPlay("in");
    So my questions are:
    1st. Is it okay to put "stop"-calls on different frames in
    different timelines (or how can I bypass that and write everything
    in the main code?)
    2nd. I encountered, that if I publish my as3-file it works
    fine for the first time but then begins to strike.
    and 3rd.
    What is the best solution to put this into clear AS3-code.
    thanks
    Stefan

    Hi,
    i´m totally new to actionscript 3 and definitely
    confused by all the new terms and the whole OOP itself. As for
    myself, i´m more into design and was quite happy with some of
    my rudimentary as1-skills. But now I really feel the need to
    enhance my knowledge and i´m ready to take some deeper steps
    into flash-programming. Normally i used movieclips for buttons. For
    example, I defined some rollOver/rollOut-animation for them and
    wrote some code like:
    example_btn.onRollOver = function(){
    this.gotoAndPlay(rollOverEvent);
    The rollOverEvent plays till it reaches the "stop"-call on
    its timeline.
    example_btn.onRollOut = function(){
    this.gotoAndPlay(rollOutEvent);
    My AS3-approach was:
    example_btn.addEventListener(MouseEvent.MOUSE_OVER,
    playRollOver);
    function playRollOver():void{
    example_btn.gotoAndPlay("in");
    So my questions are:
    1st. Is it okay to put "stop"-calls on different frames in
    different timelines (or how can I bypass that and write everything
    in the main code?)
    2nd. I encountered, that if I publish my as3-file it works
    fine for the first time but then begins to strike.
    and 3rd.
    What is the best solution to put this into clear AS3-code.
    thanks
    Stefan

  • Java Guy Confused w/ Flash Technologies

    I'm having a
    tough time trying to decipher exactly which programs I need
    in order to create Flash applications. I see lots of products that
    seem to do similar things (Flex 2, Flash Pro, Breeze, Capture,
    etc.) but it's unclear to me how much they interoperate. For
    example, can I create an Breeze presentation then open it up in
    Flash Professional to make enhancements?
    Could anybody point me to a good, simple page that summarizes
    how all these products fit together?

    BALONA,
    > I'm having a
    tough time trying to decipher exactly which
    > programs I need in order to create Flash applications. I
    see lots
    > of products that seem to do similar things (Flex 2,
    Flash Pro,
    > Breeze, Capture, etc.) but it's unclear to me how much
    they
    > interoperate.
    Gotcha. Well, each of these has the capability to produce
    published
    files (SWFs) that are playable by the Flash Player, but
    that's where the
    similarity ends.
    > For example, can I create an Breeze presentation then
    open it
    > up in Flash Professional to make enhancements?
    No.
    > Could anybody point me to a good, simple page that
    summarizes
    > how all these products fit together?
    I don't know about good, but I'll give you simple (I hope).
    The Flash Platform represents files that can be played by
    the Flash
    virtual machine (comparable in many respects to the JVM). The
    current Flash
    Player (version 9) contains two virtual machines: 1) AVM1,
    for legacy
    ActionScript; 2) AVM2 for ActionScript 3.0.
    Flash Professional (or Basic) 8 saves FLA source files that
    are
    effectively mini databases of audio-visual material, vector
    images, text
    fields, fonts, and the like, including possibly ActionScript.
    (In OOP
    projects, the ActionScript is almost entirely stored outside
    the FLA.) The
    compile process converts in-FLA or external ActionScript into
    bytecode,
    resulting in binary SWF files that are played by the Flash
    Player.
    Flex 2 provides server-side APIs for interactive SWFs. Flex
    Builder 2
    (built in Eclipse) does not necessarily rely on the server
    aspects of Flex
    as a whole; it may be used as an alternative means to produce
    stand-alone
    SWFs, and is currently the only Adobe release software that
    compiles
    ActionScript 3.0. (An alpha release of the Flash 9 IDE
    [available on
    labs.adobe.com] also compiles AS3.) Flex Builder contains now
    timelines and
    no drawing tools. It is arguably Macromedia's (now Adobe's)
    answer to
    JBuilder or Visual Studio -- but the end result, again, is a
    SWF. Source
    files for a Flex Builder 2 project do not involve FLAs, but
    rather many text
    files that comprise AS3 classes.
    Breeze has been renamed Adobe Connect, and is intended to
    provide
    "enterprise web communication solutions for training,
    marketing, enterprise
    web conferencing, and online collaboration" (re: Connect
    product page).
    These communication solutions happen to run in the Flash
    Player, but
    practically all of the functionality is handled for you. You
    just plug in
    your webcam and microphone, and go.
    Capture is a large scale doc to PDF application. I wonder if
    you meant
    Captivate? In which case ... Captivate is what used to be
    called RoboDemo.
    It's a kind of video-capture tool for creating training
    material ... but
    better, because it allows you (in and of itself) to adjust
    the position of
    the "captured" mouse cursor (it actually uses a movie clip,
    so that you can
    edit it). I believe Captivate outputs FLA files, in which
    case those can be
    opened in Flash.
    Each of these products has detailed product pages on
    Adobe.com, so
    you're sure to find greater detail -- and downloadable free
    trials -- if my
    descriptions aren't useful enough.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Actionscript 3 Noob Question

    So I'm one of those guys who is trying to figure out a basic actionscript 3 problem that everyone has probably already asked a thousand times so bear with me.
    All I want to do is make my Flash Scene "aspen" redirect from from frame 298 to frame 7. In my "action" key frame I used to just write
    gotoAndPlay(7, "aspen");
    Apparently that won't work anymore. And I am not using a button. I just want to run a loop.
    Also if I wanted to jump to another scene "breckenridge" I used to just write
    gotoAndPlay(7, "brekenridge");
    How do I make this work? Thanks in advance for the help

    Ok, I have isolated the problem.
    Something in the actionscript on frame 150 makes the gotoAndPlay (7); on frame 298 fail.
    The following is the actionscript on frame 150
    aspen3.addEventListener(MouseEvent.CLICK, myButtonFunction6);
    function myButtonFunction6(event: MouseEvent) {
    var request:URLRequest = new URLRequest("acrobat/aspen.pdf");
    navigateToURL(request);
    reverse1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler7);
    function mouseDownHandler7(event:MouseEvent):void {
    gotoAndPlay(7);
    forward1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler8);
    function mouseDownHandler8(event:MouseEvent):void {
    gotoAndPlay(7);
    pause1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler9);
    function mouseDownHandler9(event:MouseEvent):void {
    gotoAndStop(299);
    ok, when I test the movie the compiler errors reports one error
    Location
    aspen, Layer 'action', Frame 150, Line 1
    Description
    1120: Access of undefined property aspen3.
    I have a button on the stage and I have given it an instance name "aspen3"
    So why am I getting the error message?
    I have a mask layer on that button but that shouldn't be the problem because I have a mask on other buttons and they are working perfectly.

  • Using Actionscript to create complete scenes

    Ok let me paint a picture. I'm designing an online flash
    application that will dynamically display tutorials stored in a
    MySQL database. These tutorials will be added via a php control
    panel for tutors to add new tutorials to the database.
    So my flash will load, dynamically create a new scene, add in
    some static elements i.e. logo and some other images and then list
    the tutorials for the user to select.
    The user then selects a tutorial and a new scene is
    dynamically created to display the contents of this scene i.e. a
    scrollPane for the text, video component for the video elements and
    the title etc.
    I recently read this tutorial so getting the data from the
    database into Flash shouldn't be a major problem.
    http://www.webmonkey.com/webmonkey/03/40/index1a.html
    Here's what I think I need
    I'm about to start digging through my flash bible so I'll
    edit this and let you know what I've found out myself,
    1. How to create a new scene using Actionscript,
    2. How to add a few images (jpgs) from the library using
    Actionscript,
    3. how to add a scrollPane (all using actionscript),
    4. how to add some text fields,
    5. how to add a video player to access a video from a folder
    on the server and lastly
    6. some kind of back button..
    Majority of these components will be loading content from PHP
    which will access my MySQL server.
    Any help would be greatly appreciated.
    Thanks
    Steve

    A tall order for a single thread! There are many possible
    answers to each question. Plus there are not enough specifics to
    guide you to the correct alternative. The good news it you can do
    what you are planning.
    1. How to create a new scene using Actionscript,
    Do not be confused with the technical feature of a scene in
    Flash IDE. It is not something you use in Actionscript. However
    from a design view, you can create any page oriented content
    application you want. The usually dynamic element for creating a
    page is a MovieClip or the as you mentioned the component
    ScrollPane which is MovieClip.
    Beyond that there are many many ways to go.
    In general you would create one or more template layouts and
    load the content in selecting the template.
    A shell Flash movie would handle the loading of the templates
    and the data or content that would show.
    As well there could be swf that are custom pages that simply
    load and handle all the needed content separately.
    2. How to add a few images (jpgs) from the library using
    Actionscript,
    MovieClip.attachMovie
    You also can load externally using
    MovieClip.loadMovie
    or if you need to manipulate it after loading then
    MovieClipLoad.onLoadInit
    3. how to add a scrollPane (all using actionscript),
    Explained at
    ScrollPane.contentPath">MovieClipLoad.onLoadInit
    4. how to add some text fields,
    The question implies to create the TextField dynamically and
    a central method is:
    MovieClip.createTextField
    5. how to add a video player to access a video from a folder
    on the server and lastly
    Use the FLVPlayback component that is delivered with Flash 8
    Pro. You need to encode the video as FLV format using the video
    encoder that comes with Flash 8 (also possible with import except
    you elected to make it external) or a third party encoder.
    You put the flv files on the server with the swf containing
    the FLVPlayer and use the
    FLVPlayback.contentPath
    method.
    6. some kind of back button..
    Again many many ways to go: You can use the Flash component
    button or create your own. You can make a button from a MovieClip.
    You can do these dynamically or at design time and in either case
    change their functionality and respond to their interactions at
    runtime.

  • A little Confused About Apps...

    Hi Everyone,
    I've been looking at the iPod Touch and it seems like the best-designed player on the market. I'm a journalist and I want to use the Touch to play my interviews, which are voice recordings in WMA format (converted to MP3).
    OK, I'd love to do some basic things, and I'm confused about what the June update will offer.
    Please tell me if the June apps will allow these capabilities:
    1. Play voice recordings with the speaker instead of headphones
    2. Allow me to create a folder on the home page to go directly to my voice recordings
    3. Drag-and-drop files in Windows explorer directly into a folder on the home page
    Yes, I know, I'm trying to use the Touch for an unusual thing, but I think there are a lot of other journalists and bloggers out there who would also use the Touch if it could provide these capabilities!
    I'm not interested in fancy games for the Touch. I'm much more interested in expanding basic capabilities.
    If I know the Touch will be able to do these things, I'd buy one today!
    Thanks,
    Matt

    neuroanatomist,
    Thanks for the response. This is all very interesting...
    I understand it's not a real speaker, but I have heard some demos where it was used to play rudimentary sounds. That's why I wonder if it would be good enough for simple voice playback.
    I know some people like this, but I don't like is having to always drill down several "layers" to get to my actual recordings. Instead of having to do Music > Album > Playlist, I'd really like to just have folders on the home page. To my mind, this does not sound like a difficult thing to be able to do, though maybe I'm missing something here.
    On the drag-and-drop thing: of course, I understand Apple's need to force us to use iTunes. I like iTunes, and use it for music all the time, even though I don't have an iPod at the moment. But it just seems to me that Apple would not suffer if you could drag and drop your valid music files (or voice recordings) directly into folders on the iPod. You'd still have to own legal music files, bought from iTunes.
    Anyway, if these hurdles could be overcome, I'd buy an iPod Touch today. At the moment, it's a tough choice. Several other players do some of the things I am asking for, though none of them has the elegance of the iPod.
    I just wish Apple would put their elegance together with the capabilities of other players.
    Matthew

  • Actionscript Books

    I need to learn the basics of Actionscripting 2.0...I have
    the Actionscript book " Macromedia Flash 8 ActionScript: Training
    from the Source" but I am still lacking the basics... I don't know
    when to use certain functions and where to place them. I have the
    hardest time with some of the most simple projects such as creating
    a preloader correctly. I really need some advice...I got a job
    offer and I am lacking basic actionscripting knowledge...I want to
    ensure them that I am a great candidate for this entry level
    position and I can learn the materials...just need a good teacher
    that all...

    Hi danielle_01... I found the Friends of Ed book by Sham
    Banghal really helpful out of the 3 or 4 books I've bought on the
    subject. It was, by far, the easiest to digest coming from a design
    background.
    Amazon
    link

  • Backward Timeline Navigation

    I'm doing a project for my fathers wedding, and I need some
    help. I've got my timeline running and I stop it in order to show
    some animation (in the form of a movie symbol). Now my problem is,
    that I can't figure out how to make the regular timeline start back
    up again after the animations have finished their thing.
    Some things i've tried...
    Basic actionscript: gotoAndPlay("example", 12); I just
    attempted to get it to go to the outside timeline, that the movie
    symbol was in...didn't work
    Complex actionscript: I created variables and made loops to
    check to see if something like "goOn =1" then it should
    navigate...but that doesn't seem to work either.
    I've attempted this with both booleans, and int's, and I've
    got nothing.
    So, If someone could help me out...Is there even any way of
    backward navigating a flash project. (If its confusing, this is
    what i'm talking about. MAIN TIMELINE > MOVIE SYMBOL 1> MOVIE
    SYMBOL 2. I'm trying to go from MOVIE SYMBOL 2 back to MOVIE SYMBOL
    1) And if there is a way, how do I do it?
    Any help with this as soon as possible would be a great help.
    THANKS A BUNCH!!!

    >> Basic actionscript: gotoAndPlay("example", 12); I
    just attempted to get
    >> it to go to the outside timeline, that the movie
    symbol was in...didn't
    >> work
    I'm not entirely sure what you're needing to do, but I think
    you want to
    first familiarize yourself with the _parent and _root
    properties. The main
    timeline is _root - it is a movie clip timeline just like
    clips you place in
    it. If you open Flash, make a new movie clip symbol and then
    place two
    instances of it on the main timeline your hierarchy is:
    _root
    testClip
    testClip2
    Within the timeline of testClip you can tell the main
    timeline to do
    something using either:
    _parent.gotoAndPlay(10);
    _root.gotoAndPlay(10);
    If you want to tell testClip2 to do something from within
    testClip you could
    do either again:
    _parent.testClip2.gotoAndPlay(10);
    _root.testClip2.gotoAndPlay(10);
    You can't target testClip2 directly because it's not in the
    timeline of
    testClip - it's on the _root timeline. If you were to make a
    second movie
    clip and place it within the timeline of your first clip, so
    you have this:
    _root
    testClip
    anotherClip
    then from within another clip _parent will get you to the
    timeline of
    testClip. _root will get you to the main timeline - as will
    _parent._parent - as in:
    _parent.parent.gotoAndStop(10);
    HTH
    Dave -
    Adobe Community Expert
    www.blurredistinction.com
    www.macromedia.com/support/forums/team_macromedia/

  • Cannot create new app in mgr

    I just installed the latest FSM2 on Fedora 5. Everything went
    perfectly, I didn't even have to add any libraries.
    I fired up fms2_console.htm on my windows client and logged
    in to my remote server. In the "Manage servers" pane I can see my
    server and I can ping it so I'm sure I'm connected properly.
    When I go back to the "View applications" pane there is
    nothing in the list. When I click on "New Instance..." nothing
    happens. I have restarted the server from the console and I've
    restarted the console but nothing helps.
    Does anyone have a clue what I'm doing wrong?
    P.S. Why does the button use the word "instance" instead of
    "application"? Am I supposed to create some kind ofapplication
    "class" first?

    well you have to build an application first in a a .swf can
    connect to the server and either share data or stream video and
    sound...when you click on instance button you have to specify the
    .swf that you wish to connect to by its name or you can just fire
    up the .swf and it will automatically connect to the server. I
    sugget you look up flash media server 2 remote shared object and
    falsh media server 2 stream using google.com
    a good book from amazon for $15.00 is an invalueable tool.
    remember google is your friend and i suggest you learn about
    remote shared objects and basic actionscript before you attempt to
    build an RIA .....RIA = rich internet application.
    be prepared to spend 400 hours dedicated to learning how to
    use the media server.

Maybe you are looking for

  • N8; How to set up SIP and make (WiFI & 3G)VOIP cal...

    N8 only comes with SIP software and you need to download the the VoIP setting software at this link (use VoIP 3.1): http://www.forum.nokia.com/info/sw.nokia.com/id/d476061e-90ca-42e9-b3ea-1a852f3808ec/SIP_VoIP_Settin...  You can use the N8 web browse

  • HT2729 How do I sync my phone without losing all of my current tracks?

    I can't sync my iphone to my macbook air library without sacrificing all of my tracks from my last computer. How do I just add to my current list?

  • How to use CSS and images in a plsql-dbms_output reports?

    Hi. Windows 2000 SP4 SQL Developer 1.2.1.32.13 Java 1.5.0_07 Oracle 9.2.0.6 I'm trying to create a plsql-dbms_output report with HTML that uses a stylesheet (CSS) and an image. These seem to be ignored by the report viewer. The following example work

  • How do I put a photo with a song embedded on the page........

    I finally figured out how to put a song with a photo on top on my iWeb Photo Page. What I can't figure out now is how to arrange all the photos so that this is not on top of any other photo. If I move a photo, another fills the spot. But my song/phot

  • Can't create calendar events and reminders

    Having a problem creating events on calendar and reminders, the add button or the 'plus sign' is grayed out. and my past few added events is missing, so now, my meetings, meet ups and important events. im using iPhone 4S running in iOS 7.1.2