Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

elisha cuthbert

macrumors 6502a
Original poster
Feb 25, 2006
665
0
Melbourne
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
 
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

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";
}
}
 
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";
}
}

Yeah I think it would be heaps easier if you do it with Javascript, Flash Actionscript can be a little painful at times
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.