The Daily Click ::. Forums ::. Klik Coding Help ::. AO "Load frame" action doesn't work at runtime.
 

Post Reply  Post Oekaki 
 

Posted By Message

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
31st January, 2010 at 19:29:19 -

I need to load multiple images into an Active object using an expression such as Apppath$+"Temp\"+Str$(LoopIndex("LoadImages"))+".png" to retrieve the files.

Everything works fine when I run the application from MMF2, but the images aren't loaded when the app is compressed. The same thing happens with the Animated Picture object.

Using the same expression, the Active Picture object does work fine though, so I don't think the expression could be the problem.

I also tried including the files in the .exe without any result.
Could this simply be due to both objects' runtimes not working correctly?
Does one of those actions (AO: load frame/AniPic: cache image) ever worked at runtime for anyone?


 
...

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
31st January, 2010 at 20:11:42 -

Sounds like you just need to include the .png filter when you build the exe.

In the properties panel, click on the "edit" button next to "image filters".
Un-tick "automatic", and manually tick the box for ".png" (and any others you need).

Edited by Sketchy

 
n/a

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
31st January, 2010 at 20:22:14 -

Many thanks! That's a part of the properties I never took the time to look into.

 
...
   

Post Reply



 



Advertisement

Worth A Click