We help IT Professionals succeed at work.

iml32.dll macromedia projector error #2

muso120999
muso120999 asked
on
22,447 Views
Last Modified: 2013-12-24
Further to a previous question, which we thought to have fixed - please refer to:

https://www.experts-exchange.com/Web/WebDevSoftware/Director/Q_20881013.html

Also, I feel I need to mention that it is not a Shockwave projector but a standard projector
Comment
Watch Question

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.

Author

Commented:
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

Author

Commented:
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?

Author

Commented:
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.

Author

Commented:
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.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Again, many many thanks for your help.

And some well deserved points to you!

Nice site btw

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.