PDA

View Full Version : Help with flash (n00b question)




elisha cuthbert
Nov 9, 2006, 07:39 AM
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



slooksterPSV
Dec 28, 2006, 05:16 PM
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";
}
}

ezekielrage_99
Dec 28, 2006, 08:50 PM
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

elisha cuthbert
Dec 29, 2006, 04:05 AM
thank you very much for your help