Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: transparent background app




Thanks guys, thats awesome. I appreciate all the tips on windowless QC rendering. I had it working perfectly... until it just stopped working! My QC patch is loading an xml file in an assets folder (assets/data.xml) and loading in jpgs (again from the assets folder), I'm guessing it has something to do with that. When I run the composition from QC it works fine, when I run the .app all I see is the background (the assets folder is next to the .app file so relative path should work). Is this a security issue? Are there any complications in loading xml files from compositions embedded in an .app? I noticed if I export my composition to a .mov from QC it also doesn't work (can only see background).

A .app is not really a file, it's a bundle, which means it's essentially a directory that is displayed as a single file in the Finder (other prominent bundles are Keynote or Pages documents). Just right-click on the .app bundle to see its contents. All the stuff that is in the "Resources" group inside your Xcode project goes into "MyApp.app/Contents/Resources," including your .qtz file. Therefore, you must either set the path in your .qtz file to "../../assets/ data.xml" or drag the XML file into the Xcode project (the same goes for your images, of course).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden


This email sent to email@hidden
References: 
 >transparent background app (From: Memo Akten <email@hidden>)
 >Re: transparent background app (From: Memo Akten <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.