[Xerte] RE: Importing Flash into Xerte
Gavin Reynolds
GREYNOLDS at col-westanglia.ac.uk
Fri Jul 10 08:27:49 BST 2009
Julian, you are legend!! That is exactly the problem with my swf, I have looked into and implemented _lockroot and the swf is now working spot on! All I did was put 'this._lockroot' in the first frame of my swf and the magic happened! :)
Garry - Have you managed implement the _lockroot method to your code?
Many Thanks
Gavin Reynolds
Multimedia Content Developer
ILT Development Unit
The College of West Anglia, Isle Campus - B9
Tel: 01945 582561 Ext. 232
greynolds at col-westanglia.ac.uk <mailto:greynolds at col-westanglia.ac.uk>
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Julian Tenney
Sent: Thu 09/07/2009 12:07
To: Garry Lunn; Xerte discussion list
Subject: RE: [Xerte] RE: Importing Flash into Xerte
I cannot open your flash file in Flash 8 to see why this is failing, but I can load the swf into a raw xerte file using the graphic icon. The interactivity fails.
If I load it up in a component icon, it works.
You need to make sure that you are setting _lockroot to true in the swf, and that your code in the swf is not making any assumptions about where in the Flash movieclip hierarchy it is. If you use '_root' in your code, when it is loaded into Xerte, _root wont be where it was when the swf runs alone, and so things get screwed up.
Componetn icons take care of the _lockroot thing themselves, graphic icons don't. So I imagine that is your problem,
J
-----Original Message-----
From: Garry Lunn [mailto:garry.lunn at tic.ac.uk]
Sent: Thursday, July 09, 2009 9:37 AM
To: Xerte discussion list
Subject: RE: [Xerte] RE: Importing Flash into Xerte
Hi Julian,
I've simplified my Flash component so there are only two frames and used ActionScript to control moving from one frame to the other. I've inserted it into the Xerte on-line tool kit. I made sure "interactivity Native SWF" was added but When you view the published page it loads the first frame of the component but I cant navigate to second frame.
In all my trials I haven't been successful in navigating to the next frame. Do you know why this is?
Simple Flash file in Xerte (Not working correctly):
http://xerte.vledev.bcu.ac.uk/play.php?template_id=25
Simple Flash file in HTML (Working correctly):
http://www.tic.ac.uk/assets/flash/simpleFlash/simpleFlash.html
Simple Flash File source code:
http://www.tic.ac.uk/assets/flash/simpleFlash/simpleFlash.zip
Complex Flash File source code (Example of the media I want to insert into Xerte):
http://www.tic.ac.uk/assets/flash/FlashImport.zip
Regards, Garry
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 07 July 2009 15:44
To: Xerte discussion list
Subject: RE: [Xerte] RE: Importing Flash into Xerte
Lets simplify things.
Does it work if you use it as a component in a raw, empty Xerte file?
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Gavin Reynolds
Sent: Tue 07/07/2009 09:43
To: Xerte discussion list
Subject: RE: [Xerte] RE: Importing Flash into Xerte
Hi Julian
Thanks for this, unfortunately I have already tried this and had no joy. I also removed any rollover text just in case that was blocking interactivity.
The resource behaves very strangely, the rollover on the button on the first frame works but the code to move onto the next frame doesn't work...
I did a bit of research into the template and noticed that the flash animation is being treated as a graphic and when I am not using the template I embed it as a component, I wonder if this has anything to do with it?
Kind Regards
Gavin Reynolds
Multimedia Content Developer
ILT Development Unit
The College of West Anglia, Isle Campus - B9
Tel: 01945 582561 Ext. 232
greynolds at col-westanglia.ac.uk <mailto:greynolds at col-westanglia.ac.uk>
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Julian Tenney
Sent: Tue 07/07/2009 09:12
To: Xerte discussion list
Subject: RE: [Xerte] RE: Importing Flash into Xerte
you need to set the interactvity to nativeSWF - its one of the options,
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Gavin Reynolds
Sent: Mon 06/07/2009 13:26
To: Xerte discussion list
Subject: RE: [Xerte] RE: Importing Flash into Xerte
Hi
I have had exactly the same problem. I was using the pageTemplates file to create a learning module and any flash files that I imported were being treated as images and lost all interaction.
I did receive some helpful advice on this and tried this with a different swf that was provided and this appeared to function correctly!!
I would be very interested to hear if you are able to get this problem solved!
Regards
Gavin Reynolds
Multimedia Content Developer
ILT Development Unit
The College of West Anglia, Isle Campus - B9
Tel: 01945 582561 Ext. 232
greynolds at col-westanglia.ac.uk <mailto:greynolds at col-westanglia.ac.uk>
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Julian Tenney
Sent: Mon 06/07/2009 13:18
To: Garry Lunn; xerte at lists.nottingham.ac.uk
Subject: [Xerte] RE: Importing Flash into Xerte
No, theose files should work, but it depends on how they were put together, and without a bit more info I can't really offer any more insight. Check the archives. Do you have the flash source code?
________________________________
From: Garry Lunn [mailto:garry.lunn at tic.ac.uk]
Sent: Mon 06/07/2009 11:08
To: xerte at lists.nottingham.ac.uk
Subject: Importing Flash into Xerte
Hi Guys,
I have to migrate 180 hours of e-learning material from our proprietary VLE into Moodle and was hoping to use Xerte to display the media rich content. I've tried to import the current Flash content into Exerte but it doesn't animate and the ActionScript doesn't work. The content was created in Flash CS3 Professional using ActionScript 2 and I'm trying to import it into Xerte v2.5.9. I remember reading in the manual that Exerte was written using ActionScript 1. Is this the reason why the imported content doesn't display correctly?
I've attached a zip file which includes the HTML, JavaScript, swf and fla files in the hope you can identify the problem.
Regards, Garry
Team Leader: E-learning Development and Support
Technology, Innovation and Development
Birmingham City University
w:_www.tic.ac.uk/elearning <http://www.tic.ac.uk/elearning>
e:_garry.lunn at bcu.ac.uk
p:_0121 331 7540
Ofsted, the Government`s inspection body for schools and colleges, rates The College of West Anglia as "Outstanding". Read their report on our website: www.col-westanglia.ac.uk
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error you must take no action based on them - nor must you copy or show them to anyone. Please notify the College of West Anglia via email to groups-support-itservicedesk-kl at col-westanglia.ac.uk.
This email contains the views of the sender and may not be representative of the views of The College of West Anglia.
This footnote also confirms that this email message has been swept for the presence of computer viruses.
**********************************************************************
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte
mailing list