Link to home
Start Free TrialLog in
Avatar of muso120999
muso120999

asked on

iml32.dll macromedia projector error #2

Further to a previous question, which we thought to have fixed - please refer to:

https://www.experts-exchange.com/questions/20881013/iml32-dll-macromedia-projector-error.html

Also, I feel I need to mention that it is not a Shockwave projector but a standard projector
Avatar of MediaMacros
MediaMacros

Ok.  Here is how projectors work...

When you create projectors (standard) the following happens.

The Dir and cst files you choose are packaged into the exe
The core skl file is packaged in
4 DLL files are added (Iml32.dll, msvcrt.dll, Proj.dll, and Dirapi.dll)
All used Xtras are packaged in.  

This basically is like one archive file and when you run this on the user's machine it creates a folder in the temp folder and unpacks all these parts for playback.  

To make it start faster, don;t package the Xtras and crete a shockwave folder.  This means just the dir gets embedded.  If you do nothing else the player will rely on Shockwave for the Xtras and dll files (not ideal)  By installing the Xtras and 4 dll files in the Xtras folder beisde the projector it uses these instead and launches much faster.

Now, if you have a CD that does not read well (common with CDRs with oler burners, low spead rated CDRs adn burning too fast.) then you will sometimes get the above error as it is running and trying to unpack and play but is not able to get everythign off the CD fast enough.  Using a fast start sub helps as does good burning practices.

1. Use the higest speed rated media and best quality you can.
2. Use a good drive.  Pioneer and Sony make great drives and are typically better than no-name ones.
3. Burn at the slowest speed possible.  1X reads better than a 12X burn, etc.

Play back in drives that are newer (support CDR and CDRW read) and laptop drives are known to be the worst on reading CDR discs.

Either way once its pressed as a mastered and replicated disc this is not an issue anyway, but helpful for testing and making masters.  I also use CD emulation programs like Alchol 120% to create and run a virtual CD drive to get a more accurate playback for testing without wasting tons of blanks.
Avatar of muso120999

ASKER

Sorry, my mistake I am using a fast start stub projector (standard compression) and the .dll files you mentioned are in the Xtras folder as well. As for burning I am using a Sony CD-RW CRX1600L burner and have been burning at 1x speed.

I can only wonder if the size of the casts i am using are the cause.

The program is 140mb for the .dxr and 2 .cxt files.

It can slow the loading process but its hard to say.  Typically the best test is to play from the hard drive.  If it works there but not on the CD its a CD read issue 99.9% of the time
Okay, the strange thing is that i did a test with the whole program with projector running from disc and the course run fine. The issue is that the projector is on the hard drive and the program is on disc but doesn't crash until going onto the next movie.
1. WHat code is sending it to the other movie
2. What code is in the startmovie or first frame of the second movie?
3. Are you using relative paths to load each file?
I beleive I have a solution.

The course is so big the Disc is 675MB and the movie consists of 29000 frames of vector based keyframe animation tranitions between menus, flash, MPEG and Audio. I took your view of the CD struggling and after some testing I thought that it need more time put in two timers .

Below is an example:

on beginSprite
startTimer
end

on exitframe me
if(the timer < 60 * 0.5) then go the frame
go to frame "WhichMarker" of movie "WhichMovie"
startTimer
if(the timer < 60 * 0.5) then go the frame
end

This seems to work. More testing needed thou.

Thanks.




It may verry well be a problem loading the media fast enough but I have never seen this cause a crash, just slow playback. You can also put a script in the start that loops until the media of the last frame or last cast library is loaded and maybe even preload some cast members too.
Already preload and unload frames on a frequent basis as well as unload previous movies in the startmovie of the new movie.

I know the fix seems strange but I think it is to do with the CD being idol and not getting up to speed quick enough and therefore not finding where to be on the disc.
ASKER CERTIFIED SOLUTION
Avatar of MediaMacros
MediaMacros

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Again, many many thanks for your help.

And some well deserved points to you!

Nice site btw