No effect using backgroundColor

Hello

I tried using samples of their dev guides, but I don't see any effect of the use of the backgroundColor option in this code:

[SWF (height = "600" width = "1024", frameRate = "30", backgroundColor = "#BBBBBB")]

In my case, the color is always white, no matter what the values are set there.

The only way I've found for now is draw an another rect or image with a color I need, but what about default OS app count in this case?

All the solutions for this?

Or is it a "like what" for this version of the SDK?

Man, you are a genius! And I'm a beast...

I got it before the constructor, whereas I would have it before the class declaration.

Shame on me...

P.S., a way to delete the topic? Or leave as one tip for others like me?

Tags: BlackBerry Developers

Similar Questions

  • Satellite U840W-C9S - Windows 8 installation and effective use of SSD

    I am trying to install Windows 8 on my Toshiba Satellite U840W C9S.

    It has two disks: * HDD (500 GB) * and * SSD (32 GB) *. Originally, my computer has Windows 7 HP, and, as I understand it, SSD has acted as a cache, so that Windows has been installed on the HARD drive.

    I installed Windows 8 at the disk and started looking for information on the ssd as cache usage.
    But it turns out that you must set the SATA RAID mode in BIOS, but I don't have the option here.

    This is why when I install technology Intel Rapid Storage (which is used to configure the SSD as cache) there is no option to use the SSD as cache.

    It is clear that my computer used to treat the SSD somehow. The question is, how can I use SSD + effective + (not only as another hard drive, but as cache, for example)?

    Any help would be greatly appreciated!

    > It turns out that you must set the SATA RAID mode in BIOS, but I don't have the option here.

    This option isn't available in the BIOS because the RAID is still active / active.

    To use the QuickStart, you must follow these steps:
    -Firstly the Intel IRST utility must be installed
    -Now go to the disk (win key + X-> disk management) management and format the SSD drive. In this case the SSD will be visible in the Explorer (windows Explorer)
    -Now right click on the SSD drive, choose Properties and here you should find a tab (don t know exactly how its called) that contains the option for the quick start

    I hope that this will be functions, otherwise there is no other way to effectively use the SSD drive

  • After Effects using only 1% of the RAM

    Dear Adobe,

    My after effects uses only 1% of my ram 32 GB can I know how to increase this, I allocated 8 GB for other application

    Why my application showing.

    Please inform as soon as possible.

    Kind regards

    Knani

    Screen Shot 2016-08-02 at 12.24.19 PM.png

    Screen Shot 2016-08-02 at 12.20.13 PM.png

    Perhaps because it doesn't do anything?   When he starts using 32gigs of RAM to display the 'about' dialog that is at this time, you should start to worry.

  • Can not browse the Presets of After Effects using bridge

    Whenever I try to browse the presets in After Effects using Bridge, a warning notification appears saying bridge to not installed when I installed it well. So I try to uninstall it and then installed it again and it still doesn't work. Help, please.

    Hello

    We published a new version of Adobe Bridge (CC 2015) on July 19, 2016. This update is available via the Adobe Creative Cloud application.

    We addressed some launch bridge issues experienced on the launch of the After Effects application. Please try the new version and look for problems you encounter.

    If you are not able to locate the bridge (CC 2015) on the creative cloud application, you will need to update the creative cloud application and restart your computer.

    Thank you

    Deepak Gupta

  • After Effects using 5 GB of ram for the preview of a video 12 MB in size without any effect.

    I after effects CC 2015 to date.

    My terms of reference are:

    CPU: i5 6500 3.2 Ghz

    8 GB of RAM: DDR4-2133 MHz RAM

    Storage:256 GB SSD (on which After Effects is installed)

    1 TB HARD DRIVE

    Graphics card: GeForce GTX M 970, 6 GB

    All the drivers are up to date.

    The problem is: I create a new project and import a video in. The video has a full HD resolution and is 12.5 MB in size. First of all, it takes a minute to play the video of RAM so that it begins to play in real time. Then, the video is 30 frames per second, but reading the preview, he plays at 60 frames per second (frame rate is defined as 30 fps in composition settings). I saw the RAM usage in the Task Manager and After Effects using 5 GB of RAM. Then I applied an effect and the CPU usage rose to 100% and it took about 5 minutes to get the applied effect, and after that, After Effects crashed.

    I'm quite new to After Effects, but I'm also a tech geek. I tried to play in the settings but it didn't help. I also searched on google and forums, but to no avail. This problem is essentially what makes the software unusable for me. Please HELP!

    You do not want to edit long movies in AE. After effects is NOT video editing software.  A non-linear editing (NLE) like Premiere Pro is for editing photos to tell a story. AE is for compositing, Visual effects and graphic cartoons. It is for the creation of clichés that you then use in an NLE.

    I suggest to get at least 16 GB of RAM to work with AE, but your system should work as it is. You will need to learn to manage your memory well and to get a glimpse at lower resolutions where possible.

    Now, as to your original question. AE is not simply to play a video stream, as does a NLE. After effects (such as other software based compositing on pixels) with completely decompressed frames. When you put a video compressed in a composition, the size of the original video file has no effect on the size of the images that works with After Effects. After effects unpacks this video and works internally with a full, uncompressed resolution, frames. AE calculates the values of each pixel in each image, comes with a new pixel and then reads these pixels. Who is?

    In fact, since you have so little RAM and the processor is not either, it may be a good idea to convert your video files highly compressed in a good intermediate codec for the shots, that you intend to use in AE. QuickTime with the PNG codec would be a decent choice. This way AE doesn't have to do a ton of work to decompress images behind the scenes until you can even work with him.

  • Apply the effect using PlayActionEvent

    Hello

    I am applying the effect revolution 3D using PlayActionEvent. Because the effects are not recordable, I added it using «Insert Menu Item»... "and file .aia saved, which contained 3 params (itnm, lcnm and cmid). These params were sufficient to call 3D Revolve Options dialog box by using the SDK, but nothing more. Two questions:

    1. Is it possible to remove the Options dialog box? I used kDialogOff, but without effect. I assume this dialog box because I haven't specified an additional parameter (like x, y, z rotation, angle, surface, etc.), which leads to the second question
    2. How to know the list of settings that are needed for a particular effect?

    As a general rule, it is at all possible to apply effects using PlayActionEvent?

    TNX

    Zdravko

    Sorry, I should have been more clear. The discharge I posted wasn't for actions - I don't know how we're going to apply a live effect through PlayAction. Those who entered the direct effect settings. If you create and assign a direct effect in action, the parameters are accessible in the form of a dictionary. If you get the settings like an AIDictionaryRef and you would set & get entries of the dictionary by using the display names.

    Here are a few (very very) rough code showing how you would:

    Sub ApplyLiveEffect (AIArtHandle art)

    {

    Assert (art);

    AIArtStyleHandle style = 0;

    Error AIErr = sArtStyle-> GetArtStyle(art, &style);)

    THROW_EXCEP_IF (Error);

    Assert (style);

    AIStyleParser parser = 0;

    error = sArtStyleParser-> NewParser (& parser);

    THROW_EXCEP_IF (Error);

    error is sArtStyleParser-> ParseStyle (parser, style);.

    THROW_EXCEP_IF (Error);

    ASSERT (sArtStyleParser-> IsStyleParseable (parser));

    AILiveEffectHandle liveEffectId = 0; WHICH MUST BE FILLED IN

    AIParserLiveEffect parserEffect = 0;

    NOTE: AILiveEffectParameters is actually a typedef for AIDictionaryRef!

    Parameters AILiveEffectParameters = 0;

    Error AIErr is sLiveEffect-> CreateLiveEffectParameters(¶meters);.

    THROW_EXCEP_IF (Error);

    AIDictionarySuite allows you to set values of parameter here

    error = sArtStyleParser-> NewParserLiveEffect (liveEffectId, settings, & parserEffect);

    THROW_EXCEP_IF (Error);

    const ai::int32 count is sArtStyleParser-> CountPostEffects (parser);.

    You can also use pre-effect, but I find his usual poster; I'm a little

    blurry on the difference, but you can read about it in the docs

    error = sArtStyleParser-> InsertNthPostEffect (parser, count, parserEffect);

    THROW_EXCEP_IF (Error);

    style = 0;

    error = sArtStyleParser-> CreateNewStyle(parser, &style);)

    THROW_EXCEP_IF (Error);

    Assert (style);

    error is sArtStyle-> SetArtStyle (art, style);.

    THROW_EXCEP_IF (Error);

    error = sArtStyleParser-> DisposeParser (parser);

    THROW_EXCEP_IF (Error);

    parser = 0;

    }

    To change the settings, you can use AIArtStyleParserSuite::GetLiveEffectParams() & SetLiveEffectParams(). For the use of AILiveEffectHandle something like that at startup:

    AILiveEffectHandle FindLiveEffect(const char* name)

    {

    AILiveEffectHandleresult = 0;

    AI::Int32 count = 0;

    Error AIErr = sLiveEffect-> CountLiveEffects (&count);)

    THROW_EXCEP_IF (Error);

    for (ai::int32 i = 0; i)< count;="" i++)="">

    Effect of AILiveEffectHandle = 0;

    Error AIErr = sLiveEffect-> GetNthLiveEffect (i, & effect);

    THROW_EXCEP_IF (Error);

    const char * effectName = 0;

    error = sLiveEffect-> GetLiveEffectName (indeed, & effectName);

    THROW_EXCEP_IF (Error);

    Assert (effectName);

    TRACE ("effect of living found ' % s ' \n", effectName);

    If (strcmp (effectName, name) == 0) {}

    result = effect;

    break;

    }

    }

    return the result;

    }

    In this case, the effect name is "Adobe 3D Effect.

  • Link to ' effective use of bind variables, cursor_sharing and related ' KO

    If I try to access to "the effective use of the bind variables, cursor_sharing and parameters related cursor" doc with link http://www.oracle.com/technetwork/database/features/performance/whitepapers-098560.html http://www.oracle.com/technology/deploy/performance/pdf/cursor.pdf I get

    >
    We're sorry, the page you requested was not found.
    We recorded this error (404) to help us solve the problem.
    You can try again using one of the tools below.
    Back to previous Page
    Site map
    Index of products
    To find your page, try our search function.
    Refine your search

    This PDF file does not exist if the link has been deleted.

  • Effective use of the FPGA read/write

    I am writing an application for a CompactRIO real-time and I am looking for ways to simplify my code and reduce the CPU usage. I use FPGA to do much CAN e-mail and signal processing, then I have a VI running on the real-time processor that reads values in the FPGA, does some processing and outputs data in the FPGA. My code running on real-time parallel uses several loops running in a master/slave architecture. A single loop reads all necessary information in the FPGA in indicators and writes the values of the controls in the FPGA. The other loops read entries and manipulate the outputs via local variables.

    My question if it would be more effective to get rid of the loop which is dedicated to the communication of FPGA and has of each loop to read and write directly on the FPGA. If I use a reference block FPGA open and use the reference of the output in several loops, each read/write operation block others until it's over? Each output is changed only in one place in the code, but there are several entries that are used by multiple loops. It is even more effective for each loop of read/write for the FPGA on request? How will this affect determinism?

    Thank you

    Jon

    Jon,

    Read/write controls is not deterministic, but I think that your previous method should work just fine, as long as you have that unique writers. If you have multiple writers, you start affected by race conditions.

    I don't think you will see a significant improvement in the performance/CPU in the alternative method. You would see big performance gains if your master loop reads more slowly indeed, but it's always a compromise.

  • Is it a good idea to add predefined effects using presetEffects.xml?

    Hello

    I am currently working on a plugin using scriptUI.
    One thing I do is add a control null, which have many options for expressions.

    My basic problem is I want to sort them into groups for better ergonomics. The only way I found to do this, add some excerpts to presetEffects.xml. (please tell me if you know another way)

    Presents all works. So great. But now, I think, is it really a good idea? My main concern is: will they stay there? When the user is updating to a newer version of AE they are replaced?

    Y at - it other problems, that I should be aware?

    Thank you
    Jakob

    If you would not add new effects to null-controller, I think that the best way to organize things, is to create custom predefined ( you can use this script )

    store as a binary file inside your script, and then apply this preset.

  • You can animate an object (of a position effect) using a mask (AE)?

    Hello

    So I'm animating a stray light (AE Lens Flare effect applied to a black layer solid base defined on screen, Flare Center) to follow the end of the line graph "grows". I did the graphic animated by making several points of mask and application of race (solid layer) and the percentage of 'End' keyframing.

    However, I realized that I I want to change the speed in the future and it would be very useful if there was a quick way to also change the position of the center of the Lens Flare without going through a ton of keyframe points. I was wondering if there was a way I could just parent the Center Flare path at the same mask (or a way to follow) and control the speed with less keyframes or anything that works. Pickwhipping "flare Center" at the end of the line "" just changes the values both horiz and green what is the percentage.

    After searching other forums/tutorials, I've not found a way yet.

    After Effects CS6

    You don't have to do it all.  Highlight the property of retouching.  All keyframes highlight.  Right click on one and use the Rove across time control.  Now when you move the beginning or ending keyframe on the timeline, between both keyframes move.  Very handy to speed up or slow down.

  • When will be after effects use metal.

    What ae will use the metal?

    I will try to clarify:

    What David showed the scene of Apple has been a demonstration of the possibility that the metal was for After Effects, as well as other Adobe creative applications. In his role as leader of our R & D group, it committed us to continue execution in general and specifically with the metal on the Mac platform. But is not a statement of specific timing of when these features will be available publicly, nor is it a promise on exactly this that parts of the application that will take advantage of this technology when that day comes.

    My statements here were intended to avoid misunderstandings that there is a specific commitment in the short term to identify the characteristics of this nature in a specific version of After Effects.

    I apologize for the confusion.

  • No audio rendering in After Effects using the render queue

    In after effects CC2015, all of a sudden no audio is rendered when I use the line to return, just the video.  When I use the Adobe Media Encoder queue waiting, both audio and video are rendered. All correct audio boxes are checked. I read that there is a new glitch in AE CC2015. I'd rather be able to use the Render Queue, making it faster than the Adobe Media Encoder queue. Does anyone know how to get new once audio rendered using the render queue. Thanks for any help or suggestion.

    See the last article here:

    known issues in after effects CC 2015

  • After Effects uses a lot of memory (live RAM) when you perform simple work

    Hello

    When I open AE, make a new project, import a simple 20 MB mp4 file itself and start playback of the clip (RAM Preview), consumption of RAM of After Effects gets up to 5 GB, and the CPU usage gets up to 50%!

    This is a really simple job, and I don't know why it takes so many resources, it wasn't happening to me before.

    I'm on Windows 8.1, I use After Effects 13.2.0.49 (2014.2) and I have 8 GB of RAM.

    Why is this happening?

    Thanks in advance.

    Post edited by: Bogdan Mitrovic

    MP4 are notoriously calculation-heavy because they are so heavily compressed.  What explains the treatment part.

    RAM previews allow AE to use so much memory that it has to play in real time.  What explains the part of the memory.

  • want to know what kind of effect used in this video?

    want to know what kind of used in the transformation in this video effect or can we just crop effect.

    This transformation is the result of careful planning, 3D modelling and layering. It isn't just an effect. 3-d tracking, camera tracking, match moving, rotoscoping, seizure and other effects can be used to create this kind of transformation. Without preproduction attention this kind of a fire effect / planning, it is almost impossible.

    If you already knew then what part of the transformation is to give you troubl?

  • After Effects uses all my VRAM?

    So, I just upgraded my GTX 460 SE to a GTX 770 4 GB and cut my 81 minutes rendering time on a project at 23 minutes which is awesome, but I have a question where CS5.5 AE is not allowing me to use more than 800 MB of VRAM regardles of how many models I use. A unique model of poly 300 k takes me to 700 MB (element using 3D plugin). Addition of 20 several models ranging from 20 k to 400 k does not change my VRAM usage at all. There's just around 700 MB.

    What I need to change some setting to get After Effects to see that I have more VRAM which can store more models? I'm not asking so he could fill in completely all 4GB, but I expected to enjoy at least 2 to 3 GB. My old 1 GB card would fill up to 900 MB that I increased the number of models and would scale down that I removed the templates. Thanks in advance for any help!

    System Specs:

    I7 - 3930 k OC had to 4.5 GHz

    GTX 770 4 GB GPU

    16 GB RAM (upgrading to 48GB soon) 1866

    SSD for the OS and programs only (no games)

    SSD for scratch and media

    HARD drive for media audio and low res

    Double 23 "1080 monitors (HP 23xi)

    Okay, so I've done a few tests more and I discovered that I had to put the quick previews of Adaptive resolution - Open GL Off. Now, my GPU stores up to 2 GB exactly (value I put my memory of texture to). Thus, it seems as if I can put my memory of texture like that I'll also be able to make better use of my GPU. However, After Effects CS5.5 do not increase higher than 2000MB texture memory. Is there a workaround for this or After Effects is simply not able to use more than 2 GB of VRAM?

    Edit: Did some more tests. For some reason any 2 GB seems to be the limit for 1080 video, but bumping up to a model of 4 K me has 4 GB very quickly. So it seems that the high quality 3D models, I've been adding did not place as much VRAM as I thought they would. Even better than it is after changing fast Adaptive resolution preview, now I can have 1000 low to medium poly count models and move around the stage in real time, no lag at all. Still not sure why have Open GL causes things to slow down so well. Maybe because 3-d element using its own rendering engine Open GL and the after effects Open GL rendering engine begins to come into conflict? No idea, anyway I am more than satisfied with my findings.

    Edit 2: Ran some tests with a model plane k 4 into a model of 1080. It takes about 1.5 GB of VRAM to load, but once I run a RAM preview it takes up to 3.5 GB. It seems that everything depends on the models that you use in your projects. If you are not using crazy high res/specialemement models then you'll be fine with / 3GB, or maybe even 2 GB of VRAM, but as soon as you start using models high-resolution, models particularly high resolution of very large/complicated models such as big planes, cars, people, etc. then more VRAM really makes a difference. I hope this helps someone else down the road!

Maybe you are looking for

  • Buy an unlocked iPhone factory 5s

    I want to buy an iPhone 'unlocked factory' 5 s to use it in other countries (in America). How can I buy it online from the apple.com site? The Amazon sites and eBay sell refurbished who is actually damaged or without work. I bought one and it did not

  • Satellite L500 PSLJ0A will automatically switch to standby

    Laptop Satellite L500 PSLJ0A - 01 K 013 is about 18 months old and I recently received the warning that the battery is no longer works to its full potential. The other computer has begun to fall in mode "Eve" without warning.This has happened even wh

  • HP ENVY x 360-m6-w103dx (ENER: Touchpad feels rough!)

    Touchpad of my laptop has become very rough. My finger does not move smoothly above him. Can I apply a bit of cream on? Any suggestion would be appreciated!

  • Wireless switch on, but the green light is turned OFF so WiFi doesn't work do not

    Hello Sony VAIO VGN-FE780G with Windows 8. Wireless switch starts giving the problem for the past 1-2 years. The green light is used for down working on laptop, usually as he used to come down as soon as you move the laptop little. I used to move the

  • files

    I can't open RTF file, how can I change the settings, so I can open these files?