FLASH help required Hello!
I have been given a flash project that I need to finish that was created by a collegue that has gone awol!
He took the source with him so I bought a decompiler that took the .swf back to .fla file but unfortuantly it has not done it correctly and I cannot get it to work. I have never worked with Flash before or know of anyone who can help!
This is what is meant to happen;
a parent .swf file loads a child .swf file that has been created on the fly.
This is then loaded into .aspx page that has buttons on it which are used to go up and down the frames of the child swf.
I have had to recreate the .fla file and I have got it as far as it loading the child .swf after showing a progress bar but I cannot get it to change frames.
I know the javascript and other code on the aspx page works and I have copied the actionscript that was decompiled into my new .fla file. (please see below)
function nextPage()
{
tellTarget(_root.controlme.contentHolder.nextFrame())
{
}
;
}
function previousPage()
{
tellTarget(_root.controlme.contentHolder.prevFrame())
{
}
;
}
var wasSuccessful = flash.external.ExternalInterface.addCallback("nextPage", null, nextPage);
var wasSuccessful = flash.external.ExternalInterface.addCallback("previousPage", null, previousPage);
Neither of these events are firing. controlme is a loader component, but I cannot find out what contentHolder is.
I am not sure if I have given enough information but can you help at all?
thanks so much in advance
Bexm |