How to let *.amd file work with active static selector

Well, I try to use different background for different visualstyle pattern. but I don't know how to make it work.

my bottom paint is:

ImagePaintDefinition {
    id: backgroundPaint
    imageSource: "asset:///Background.amd"
    repeatPattern: RepeatPattern.XY
}

Background.AMD is:

#RimCascadesAssetMetaData version=1.0
source: "Background.png"
repeatable: true

If I use the structure of file like this:

-VisualStyle.bright

| - Background.png

-VisualStyle.dark

| - Background.png

-Background.amd

the error message is:

Image not found: "/ apps/***/native/assets//Background.png".

or if I use the structure of file like this:

-VisualStyle.bright

| - Background.png

| - Background.amd

-VisualStyle.dark

| - Background.png

| - Background.amd

the error message is:

"AssetMetaDataParser: file not found: /apps/***/native/assets//Background.amd".

I'm so confused. could someone help me with this problem? Thank you very much!

Thank you very much for your advice!

It looks like to caused by my Dev Alpha A, which is always the version 10.0.0 rather than the new version 10.0.1. Because the second structure works well on the Q10 Simulator which has version 10.0.1.

Now, I try to use the following structure. He has passed the test on my Dev Alpha A, and I'm about to test it on the simulator of Q10.

| - Background.png
| - Background.amd

-VisualStyle.bright
| - Background.png
| - Background.amd
-VisualStyle.dark
| - Background.png
| - Background.amd

Tags: BlackBerry Developers

Similar Questions

  • How to install Labview7 to work with win7(64bit)?

    How to install Labview7 to work with win7(64bit)?

    Try to install the Program Files (x 86) directory.

    But there is no guarantee that this will work because LV7 isn't officially compatible Win7.

  • Automator - how I got a file zip "with replacement"?

    Automator - how I got a file zip "with replacement"?

    I have an action that selects a folder - then creates archive in a chosen folder

    Currently - it uses the name of the source folder, and then brings new archives every time as:

    My folder.zip

    my zip 1 file

    My 2 zip. folder

    I wish there was only a single zip and the new version would ALWAYS OVERWRITE the old.

    Q: How can I get what's going on?

    or how to do that with applescript?

    Hello

    In an Automator workflow, you can use this script in "run AppleScript" action.

    ----

    on track {, parameters} - script for Automator

    -create an archive in the parent folder, it uses the name of the folder, it overwrites one archive existing and returns the path of the archive

    return fileZipper (item 1 of the entry) - entry is a list and it contains the path of the folder

    end of race

    on fileZipper (thisItem)

    tPath thisItem text value

    If tPath ends by ":" and then

    the value text delimiters oTid point

    the value point text delimiters {"": "}

    tPath the text value 1 through the text element - tPath 2

    the point text delimiters oTid value

    end if

    zip (tPath & ".zip") the value as a text file

    shell script "/ usr/bin/Ditto - c k - rsrc - keepParent" & (quoted in the form of tPath POSIX path) & "" & quoted form of POSIX zipFile path ".

    return the zip as an alias file

    end fileZipper

    -----

    This script create a new archive or overwrite an archive existing with the same name as the folder.

    The destination is the parent of the selected folder.

    If you want to move this archive to a specific folder, add "move Finder items" action after the action "Run the AppleScript.

  • How can I load file rtf with control of JavaFX?

    Hello
    How can I load file rtf with control of JavaFX?
    I would like to show the contents of the rtf file, I can't find any solution. Do you have any suggestions?

    Thank you

    Published by: imtoocute on August 2, 2012 11:01

    Google revealed this link:
    http://www.codeproject.com/tips/136483/Java-how-to-convert-RTF-into-HTML

    The link is based on an old RTF converter that is built into the jdk and some swing classes - so don't expect a conversion out of it, but it seems by far the best way to perform such a conversion. Depending on your document display requirements of loyalty it might OK for what you are trying to do.

    Other more complex solutions are things like http://www.artofsolving.com/opensource/jodconverter/ jodconvertor that would probably give a higher quality conversion, but is a solution much more heavy weight (based on Open Office converters to perform the actual conversion).

    This kind of thing is also a candidate for service transformation server where you would spend the rtf document in a http post and the conversion would be done on a server, then the converted document is passed back in the http response.

    Once you have the rtf html string, you can use webview.getEngine () .loadContent to display the HTML resulting.

  • How are we supposed to work with the new motion tweens if there is no editor of motion more?

    How are we supposed to work with the new motion tweens if there is no editor of motion more? Without query editor, we can see what kind of key frames are defined and we cannot set acceleration anywhere. Adobe go us back and use the old motion tweens does want now?

    Hi all

    Flash Pro CC 2014 (v 14.0.0.110) is now available for download through the creative application of cloud.

    We have included a whole new motion editor and several other new features with this release of Flash Pro. The new query editor is completely redesigned, intuitive and easy to use while retaining the basic features and backward compatibility with Flash CS6

    To call the query editor, just double-click on your motion tweens on the timeline (or right click and select "Refine the Motion") and the motion Editor opens in the context of the scenario itself. Double click again to collapse once you have made your adjustments.

    Complete list of the new features of Flash Pro CC 2014 is available at these links:

    Overview: https://www.adobe.com/in/products/flash.html

    What's new: https://helpx.adobe.com/flash/using/whats-new.html

    Release notes: https://helpx.adobe.com/flash/release-note/flash-professional-cc-2014.html

    Videos: https://helpx.adobe.com/in/flash.html

    Thank you

    Mabrouk

  • How does the Macbook 12 '' works with large office files?

    Hi, I am looking to buy the 12 Macbook "", in may daly job most I ask of my current Macbook 13 "pro (early 2011) is to run excel and powerpoint files, but some are larger than 20 MB, some to the top you 80 MB." Then the Macbook 12 '' handle these files? or should I buy the Macbook pro again? The reason why I like the 12 '' is portability, I travel a lot, but I need to work with this type of files.

    The 12 '' Macbook must able to manage these files with the 512 GB of storage.

    It is only 2.03 lb > http://www.apple.com/macbook/specs/

  • How to configure TB to work with Filemaker 10?

    Hello

    Thanks for any help you can offer.

    I'm on a Macbookpro on 10.6.8. I want to send e-mails via Filemaker Pro 10.0v1. Thunderbird 31.0 is my default e-mail client. I think I must also configure mac Mail somewhere in this process. These e-mails will be turned off on 5wcw.featheredpipe.com located on the webmail via my Web site. This will complicate things?

    Please excuse me if I'm not using correct jargon here - it's new to me. Support FM advises to use Eudora - I hope it's just old info and Thunderbird will work.

    Thanks for any help,

    Linda

    Looks like the real question is how to configure the file creator to work with Thunderbird. Most of the applications like that just use the default mail client. If it does not, you should ask the people to lead Maker how their software works.

  • How do the elements to work with iTunes game

    I have a large collection of music on CD I am downloading from iTunes. I am subscribed to iTunes Match so that they are not available on all of my devices, including my iPad and iPhone. Some of my CDs are more obscure artists and not found in the iTunes store. These elements do not play on my other devices. I can manually transfer them via iTunes by synchronizing, but iTunes game erases my current library on all devices. I want to have all my music in the cloud, how do I get these obscure music files to work with game?

    Hello

    Music that does not must be downloaded as long as it satisfies file type requirements it is bit rate 96 Kbps gt, size less than 200 MB and the file is MP3, AAC, AIFF, Alac, or WAV.

    Add icloud status to display the song - what is iCloud status of these securities?

    Jim

  • How to merge data to work with Arabic text

    I need to make use of the data merge tool for a project I'm working on, but it involves the creation of documents in English and Arabic. I created a CSV (with Excel and OpenOffice) with English and Arabic text in there, but when I use it as a Data Source, the English is fine, but comes from Arabic in lines, points mark or arbitrary characters. I have UK InDesign CS6 and also a test of InDesign ME CS6, but doesn't seem to work. Any help would be massively appreciated.

    I have never tried to work with Arabic text, but my suspicion is that the problem lies in the data file, not necessarily in InDesign.  I don't know how your data file has been created, but my instinct would be to record from Excel as Unicode text, if that's an option avaialable you. This should give you a tabs-delimited text file that keeps the characters in extensive ranges required for Arabic, I think.

  • How to make the printer work with the new Windows 7 laptop?

    can someone me please help... my printer is windows xp and I just got a computer laptop windows 7, how can I make my printer work with my laptop!

    Thank you
    need help with my printer

    Hi gingerbabe001,

    To set up and install your printer, see the link below.

    http://h10025.www1.HP.com/ewfrf/wc/documentSubCategory?tmp_task=setupCategory&cc=us&DLC=en&LC=en&OS=4062&product=1153754&sw_lang

    Good luck.

  • I can't read the files Works with Word 2000.

    I've been using Microsoft Word 2000 so I removed my program works, now I can't open the files to work. I can't restore works.  A message says that I need a works332.cnv conversion program.  Download the converter from Microsoft?

    Have you looked at?

    http://Office.Microsoft.com/en-us/Office-2000-Resource-Kit/working-with-Word-2000-text-converters-and-graphics-filters-HA001138192.aspx

  • Reference Dell Touch P2314T - working with active stylus?

    I bought this touchscreen monitor, because I wanted a bigger workspace for the drawing. I used 3 Surface with Pen of Surface until now, but I wanted a bigger screen. So, I bought a monitor Dell Touch P2314T. I was wondering, is it possible to use this monitor with the active stylus Dell here?

    I want to know if the monitor works with the stylus, and if the pressure and palm rejection sensitivity will be sustained. Thank you in advance.

    I do not know. You'll need to read through the Manual for touch screen monitors find these data.

  • Worked with activation, then disappeared, in Win 7 under VirtualBox

    I have a XPS 13 22 Linux Fedora running. Win 7 is installed as a guest under VirtualBox operating system. 2013 office is installed.

    I implemented this successfully and activated Windows 7 and Office 2013 a month ago. Win 7 activation was not automatic - I had to do the dance with the activation window and typing in sets of 7-8 to 6-digit to another set of numbers to enable. But it worked. Activation Office 2013 is automatic as soon as the entry of the product key.

    Can I not open Win 7 for a while. When I did, I went to set up Outlook, and before I could see my mail, it says that Outlook has not been activated. I clicked on the link for automatic activation, who worked.

    Then, Windows said "this copy is not genuine" and asked me to turn it on! So I did the dance once again, and it worked.

    What the devil? Will it stick this time? What did I not do, or hurt?

    Thank you

    Matt

    It seems that something with the State of the virtual machine is being modified. Made more changes to your installation of Fedora Linux? Uninstalled and reinstalled the Virtual Machine by chance?

    Are these copies of Windows 7 and Office 2013 volume license or retail licenses?

    Please run the Microsoft Genuine Diagnostics Tool then copy and paste the results into an answer here for further analysis:
    http://go.Microsoft.com/fwlink/?LinkId=52012

  • How to build the file manager with cascade?

    Guy of Halo,

    How can IM new with waterfall, I build a file manager with cascade? is there a lesson or sample

    Thank you

    concerning

    Hello

    Can you clarify a little more what you mean by FileManager? Do you want the opportunity to browse and select files? If so, take a look at this thread. http://supportforums.BlackBerry.com/T5/Cascades-development/using-native-FileBrowse-and-FileSave-dia...

    See you soon

    Swann

  • How can I get Canoscan9950F works with windows 7

    "The scanner have kontakt with the computer, but in the program" Windows faxand scan "have I not this message - no scanner have disovered.

    Hello

     

    Welcome to the Microsoft community!

    You cannot use the scanning device in the computer.

    To work with the issue, I suggest you follow the steps mentioned.

    Method 1: run it Resolution of hardware problems and devices

    See the site:

    Open the hardware and devices Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2: Update the drivers

     

    See the site:

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

     

    You can also get the latest drivers on the site:

    http://www.USA.Canon.com/Cusa/support/consumer/scanners/canoscan_series/canoscan_9950f?selectedName=DriversAndSoftware

    I hope this helps. If the problem persists, or if you have problems of Windows in the future, let us know and we would be happy to help you.

Maybe you are looking for

  • What WLAN-card Satellite A30 PSA33E-7K2X3-gr

    Hello What in the PSA33E-7K2X3-GR WLAN card and where can I buy in Germany. It's briefing for the WLAN and where I have to fix the antenna. Thanks for your help

  • Impossible to install vista service Pack1

    can not get vista service pack 1 to install the retail of error code 80073712

  • Cannot install KB980470 KB980729, KB981433 KB981715

    I was able to install, either through Windows Update or manually, updates KB980470 KB980729, KB981433 KB981715.  I was able to install some other updates since it came out just not these. I get a code 646, who says that there is an unknown error.  Wh

  • computer slows down to this that frozen

    the performance of my office slowdown until it hangs completely. This occurs if it is in use or sitting dormant. a reboot or a complete stop will heal it temporarily however it is a recurring problem. I've defragged, old / unused files removed and pr

  • Cannot change the photo security screen

    The image I have chosen for my screensaver is also that I want displayed when I lock my keyboard (at work). Instead, the old image will appear when I lock the keyboard. How can I change the image even as the screen saver?