SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member xcaliber's Avatar
    Join Date
    Feb 2004
    Location
    Houston, TX
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dynamic schedule in flash MC

    hello, i need some help on getting a "daily schedule" to load into a flash movie clip. this will change daily, and will need to scroll if bigger than given area.

    anyone have any ideas?

    thanks in advance for any help.

    xcaliber

  2. #2
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,479
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    you can load a movie clip dynamically by using the action
    Code:
    loadMovie("mymovie.swf", "container");
    And you can update this mymovie.swf now & then, as you please. Or if you'd rather that the content come from a database then you can use the action
    Code:
    loadVars("mypage.asp", "container");
    Now, for the above action, you need to have a server side script in place, like ASP, PHP, JSP, CGI, ColdFusion, etc.
    From that server side script, you can pass on variables to the Flash Movie which can be displayed in a dynamic text field, which have scrollbar component attached(you can use your own custom scrollbar in Flash5 but that is too tough of a job).

    Or if you fancy going out far & be a little adventureous, try the data components of FlashMX 2004.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  3. #3
    SitePoint Member xcaliber's Avatar
    Join Date
    Feb 2004
    Location
    Houston, TX
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by asp_funda
    you can load a movie clip dynamically by using the action
    Code:
    loadMovie("mymovie.swf", "container");
    And you can update this mymovie.swf now & then, as you please. Or if you'd rather that the content come from a database then you can use the action
    Code:
    loadVars("mypage.asp", "container");
    Now, for the above action, you need to have a server side script in place, like ASP, PHP, JSP, CGI, ColdFusion, etc.
    From that server side script, you can pass on variables to the Flash Movie which can be displayed in a dynamic text field, which have scrollbar component attached(you can use your own custom scrollbar in Flash5 but that is too tough of a job).

    Or if you fancy going out far & be a little adventureous, try the data components of FlashMX 2004.

    thanks for the info.

    i should have given a little more detail. this will be a table showing "todays schd" that would include "leagues", "teams" and "time". this data will be coming from a database and will be using MySQL.

    being a designer, this is currently outside my scope of understanding. are there any tut's that show how do this or something similar?

    thanks-xcaliber

  4. #4
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,479
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    hmm, yeah, there are many tuts(err, tutorials) available for this. You'll just have to search them. www.flashkit.com & www.actionscript.org are two better places to start.

    You'll have to get your thing right in a server side language. Since you are using mySQL, I'd recommend using PHP, but if you know any other server side language, it really doesn't make any difference.

    Getting vars from PHP or any other language, into Flash will be a breeze.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!

  5. #5
    SitePoint Member xcaliber's Avatar
    Join Date
    Feb 2004
    Location
    Houston, TX
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the help.

    xcaliber

  6. #6
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,479
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    my pleasure.
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •