Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DIRECTOR: HomeDirector ForumTagMotion Graphics

Re: Final checks (World's longest post!)

Cow Forums : Adobe Director
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: Final checks (World's longest post!)
by darren john on Aug 26, 2008 at 10:47:44 am

Howdy there! It's never too late to hear any tips and advice from you guys!

Very interesting tips and scripts, I currently use the preLoadMember but I might just try out those other ones ; )

Also had another bit of a breakthrough where I now simply load any media files into the project via external dummy media. Here is a breakdown, quoted from Irv Kalb at director-online, for anyone that isn't sure how the dummy media functions:

QUOTE:

Regarding the dummy media, here's the idea. Imagine that you have all your photos stored externally in a folder called "photos" which is at the same level as your movie. For simplicity, let's say that you have A.jpg, B.jpg, C,jpg, etc. in that folder. In that photos folder, create an additional picture called "dummy.jpg", and have it consist of a single black pixel.

Now, in Director, you create a single bitmap cast member, give it a name (let's call it "PhotoToShow"). In the properties for this member, you set the "linked" option. This says, this member will always be linked to some external media (file). By default, set the linkage to the dummy.jpg so it links to the smallest possible file (one pixel).

In your program, when you are ready to display a picture from your photos folder, you set the "filename" property. So to show a different picture, you do this:

delimChar = the last char of the moviePath -- or just "" is this is PC only
member("PhotoToShow").filename = the moviePath & "photos" & delimChar &
This changes the linkage from the one member in the cast to whatever picture you want to show. Using this approach, your Director program will only take up memory for the largest picture you are showing.

UNQUOTE

I've now implemented this approach to hopefully improve memory usage and this coupled with PreLoadMember and a few other of those scripts, Brodd, might just solve any issues I'm having : ) so fingers crossed!

Cheers again,

Darren



Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]