PhotoDune

Flash - Link ID

1 post
  • Has been a member for 1-2 years
dc11 says

Hi,

I’m trying to integrate flash headers in moodle courses. But i have a problem.

I want that all my courses have an header with 4 links for folders. If i do that manually i know how, just put the complete link to the folder i want.

But i want that my flash link can catch the course id from moodle.

Ex.: http://www.platform.com/course/view.php?id=3 AS2 : on (release) {
//Goto Webpage Behavior
getURL("http://www.platform.com/moodle/files/index.php?id=3&wdir=%2F02-PLANIFICACOES%2F01-DISCIPLINAS&choose=","_self");
//End Behavior
}

But how can i create a code tha can get my course id? I know that in my PHP is possible, but can i do the same in FLASH , AS2?

Best Regards.

by
by
by
by
by