Help with flash (n00b question)

Discussion in 'Mac Programming' started by elisha cuthbert, Nov 9, 2006.

  1. elisha cuthbert macrumors 6502a

    elisha cuthbert

    Joined:
    Feb 25, 2006
    Location:
    Melbourne
    #1
    hello all
    i have a pretty n00bish question about some code in flash,
    i would like to make a widget eventually showing me my timetable.
    i have thought about some pseudo code and would like some help transforming it
    begin
    if calendar note = week 1, display week 1.png
    else if calendar note = week 2, display week 2.png
    end if
    end if
    end

    is this feasible?
    please help me as soon as you can
     
  2. slooksterPSV macrumors 68030

    slooksterPSV

    Joined:
    Apr 17, 2004
    Location:
    Nowheresville
    #2
    I think you can do this easier with javascript

    function changeImage()
    {
    if(date something == a certain week, maybe in the range of 1 to 52 or 0 to 51)
    {
    img.src = date week number+".png";
    }
    }
     
  3. ezekielrage_99 macrumors 68040

    ezekielrage_99

    Joined:
    Oct 12, 2005
    #3
    Yeah I think it would be heaps easier if you do it with Javascript, Flash Actionscript can be a little painful at times
     
  4. elisha cuthbert thread starter macrumors 6502a

    elisha cuthbert

    Joined:
    Feb 25, 2006
    Location:
    Melbourne

Share This Page