How to create a single large bitmap data at run time?
Hi All,
Please help me in overcoming the issue that is mentioned below.
Requirement: Create single very large bitmap data which contain some 30 PNG images loaded and for each image it should have some text. Images and text are loaded dynamically (AS2 code. Images are stored in a remote server). The bitmap data display should show 8 images at a time and corresponding text. We can see rest content by scrolling (kinetic scroll is implemented). How can I go for it?
Some questions:
· Is there any limit for size of bitmap data ( As per link there is restriction on the height of the bitmap we can create in AS2 (max value is 2880 which is not enough for some 30 element list http://help.adobe.com/en_US/FlashLite/2.0_FlashLiteAPIReference2/WS84235ED5-9394-4a52-A098 -EED216C18A66.html ) How to overcome this limitation?
· If we create individual bitmap data for 30 individual PNG files, we find some jerks in scroll. How can we have smooth scrolling?
Thanks and Regards,
Manjunath
Thank you very much for the reply.
The number of bitmaps are not 30 always. It can vary in real time and since all PNG files are stored in a remote server which are also vary during runtime; so we can not predefine the number of child movieclips. It could be 10 at some duration and may be 20 at some other time.
Any help?
Similar Messages
-
I want to Create an Single Installer (My Application + DSC Run Time License )
Hi,
I want to create an single installer by including my Application and DSC RTL, So by using this i will give an single installer to my clients where they dont have any Lab VIEW components. Even though i seen some similar post, but its doesnt give me a proper solution for this. Please do the needfull.
With Regards,
Vijayakumar.VHi Vijay,
I think, there is no seperate RTL for DSC (for that matter, for any of other NI addons/toolkits) to be included in the installer.
You need to select the appropriate installer from the Additional Installers category while creating the installer.
Please see the attached pic.
- Partha
LabVIEW - Wires that catch bugs!
Attachments:
NI DSC 8.6 Deployment.PNG 43 KB -
How to create sub-directory by PL/SQL in run-time?
Hello,
I have directory defined in Oracle DB and I need to create a sub-directory by run-time PL/SQL code and move my file into the sub-directory.
The DB version is 10.2.0.3.0.
How can i do it without creating a new directory in DB each time i need to create a sub-directory?
Thanks!Or, as directory objects are replacable you can just change them using dynamic SQL...
e.g.
execute immediate 'create or replace directory my_home as ''/home''';
execute immediate 'create or replace directory my_home as ''/home/newfiles''';
of course this isn't going to work if the directly object is going to be used by multiple users at the same time, but if it's for a dedicated process then it would.
(it also relies on the operating system directories having appropriate read/write permissions, but that's outside the ability of Oracle to control)
Personally though, I'd avoid having things moving about dynamically.
The design of my process would specify where files are going to be located and the correct number of directory objects defined and created up-front.
Any 'incoming' files would have to be located in one of those known locations, whether that's under the control of the 'users' supplying the files, or some other process (o/s script maybe?) that receives the files and moves them to the known location. -
How to create and Pass DBLINK name at the run time
Hi,
Please help me out ....
ACCEPT DB_USER PROMPT 'Enter the DB user name :'
like this i will get the DB_USER name and i want to create one dblink with that userbame at the runtime
and in all my .sql file i have to append that user name and dblink .. how to do this ....
for example ,
1.sql file contains a query like this
select *
from <user>.emp@<dblink>
where ename= 'KING'
ACCEPT DB_USER PROMPT 'Enter the DB user name :'
user enter : SCOTT
and the dblink should create a name like SCOTT_DBLINK
and it should make the select clause in the .sql file as
SELECT *
FROM SCOTT.EMP@SCOTT_DBLINK
WHERE ename = 'KING';Hi,
Do you want to actually CREATE DATABASE LINK on the fly? - Don't there are all sorts of implications there.
If not, go ahead and read about [SQL*Plus Substitution Variables|http://www.oracle.com/technology/support/tech/sql_plus/htdocs/sub_var.html]
Regards
Peter -
How to create Dynamic prompts for a field at run time
HI all
I have a table which has 2 columns name attribute1 and attribute1_meaning.
Attribute1_meaning is the the meaning of attribute 1.
ex if attribuite1 is 500.. attribute1_meaning tells us if its MHz. RAM or whatever.
So IN my form I want to display the prompt of attribute1 as the value attribute1_meaning
Is there a way to do this ?
thanksIt also depends on your form layout. Francois' solution works if you only display one record. If you display multiple records this won't work, since an item can only have one prompt at a time. There is no set_item_instance_property for the prompt.
In that case you can create two fields attribute1 and attribute1_meaning. You can set the visual attribute of field attribute1_meaning to look like a normal prompt. -
How to create and add an XML node at run time ?
Hello and thanks to All of You i've been learning a lot since i use this forum..
I'm having another problem, !!! i would like that my executeShape function insert a new XMLChildnode called "adverts" to my Pages:XML via the evenListener of the execute_bt. I tryed copying the nodes and it works but it copy a blank "adverts" node in betwen each node copied. so i tryed with appendChild, but it works only once, then it say error. so i tryed with inserChildafter or inserChildbefore but this one doesnt work at all because "advert" doesnt exist. I understand why all my suggestions does'nt work (copied or append or insertchild), but i dont figure out how to get what i want . i love AS but im no advance in enought..
My XML structure that I want is quite simple : i just want that every time I press the execute_bt, a new "adverts" is added to the Pages XML
<Pages>
<page id="Page1">
<adverts>
<adfile>Null</adfile>
<adwidth>1</adwidth>
<adheight>50</adheight>
<adposx>514</adposx>
<adposy>200</adposy>
</adverts>
<adverts>
<adfile>Null</adfile>
<adwidth>1</adwidth>
<adheight>50</adheight>
<adposx>514</adposx>
<adposy>200</adposy>
</adverts>
</page>
</Pages>
Here is the code of the clip:
execute_bt.addEventListener(MouseEvent.MOUSE_UP,executeShape);
var _adWidth:uint=uint(Adwidth.text);
var _adHeight:Number=Number(Adheight.text);
var _adFileName:String=String(adFileName.text);
var _adpage:String=String(PageInstanceName.text);
var _adPosx:Number;
var _adPosy:Number;
var _adArrayID:int;
var currentColor:Number;
var i:int=0;
var element:int=0;
var Pages:XML=<Pages />;
Pages.page = <page />;
Pages.page.@id=_adpage;
var boldText:TextFormat = new TextFormat();
with (boldText) {
font="Verdana";
size=10;
color=0xFFFFFF;
bold=false;
multiline=true;
function executeShape(evt:MouseEvent):void {
_adArrayID=i;
currentColor=Adcolor.selectedColor;
var Container:MovieClip= new MovieClip();
Container.name=adFileName.text;
Container.id=_adArrayID;
var gr:Graphics=Container.graphics;
gr.lineStyle();
gr.beginFill(Adcolor.selectedColor, 2);
gr.drawRect(0,0,(uint(Adwidth.text)*70),Number(Adheight.text)*1.68);
gr.endFill();
var Lbl:TextField = new TextField();
Lbl.x=Lbl.y=1;
Lbl.autoSize=TextFieldAutoSize.LEFT;
Lbl.multiline=Lbl.wordWrap=true;
Lbl.width=(uint(Adwidth.text)*65);
Lbl.text=String(adFileName.text);
Lbl.setTextFormat(boldText);
var btn:Sprite=new CreateRoundRectButton(20,20,5,0,0xFFFFFF,"X",0xFF0000);
btn.name="delete";
btn.x=9;
btn.y=50;
addChild(Container);
Container.x=514;
Container.y=200;
Container.addChild(Lbl);
Container.addChild(btn);
index.text=String(Container.id);
file.text=String(Container.name);
widht.text=String(uint(Adwidth.text));
heigth.text=String(Number(Adheight.text));
posx.text=String(Container.x);
posy.text=String(Container.y);
Pages.page.appendChild(<adverts />);
Pages.page.adverts.appendChild(<adfile />);
Pages.page.adverts.appendChild(<adwidth />);
Pages.page.adverts.appendChild(<adheight />);
Pages.page.adverts.appendChild(<adposx />);
Pages.page.adverts.appendChild(<adposy />);
Pages.page.adverts.adfile=String(Container.name);
Pages.page.adverts.adwidth=String(uint(Adwidth.text));
Pages.page.adverts.adheight=String(Number(Adheight.text));
Pages.page.adverts.adposx= String(Container.x);
Pages.page.adverts.adposy=String(Container.y);
//var templist:XMLList= Pages.page.adverts.copy();
//templist[0].adfile = String(Container.name);
//templist[0].adwidth = String(uint(Adwidth.text));
//templist[0].adheight = String(Number(Adheight.text));
//templist[0].adposx = String(Container.x);
//templist[0].adposy = String(Container.y);
//Pages.page.appendChild(templist);
//Pages.page.insertChildAfter(Pages.page.adverts[0], templist);
trace(Pages);
btn.addEventListener(MouseEvent.CLICK, deleteme, false, 0, true);
Container.addEventListener(MouseEvent.MOUSE_DOWN,StartDrag);
Container.addEventListener(MouseEvent.MOUSE_UP,StopDrag);
i++;Sorry , i Found the solution......:
var Pages:XML=<Pages />;
Pages.page = <page />;
Pages.page.@id=_adpage;
var boldText:TextFormat = new TextFormat();
with (boldText) {
font="Verdana";
size=10;
color=0xFFFFFF;
bold=false;
multiline=true;
function executeShape(evt:MouseEvent):void {
_adArrayID=i;
currentColor=Adcolor.selectedColor;
var Container:MovieClip= new MovieClip();
Container.name=adFileName.text;
Container.id=_adArrayID;
var gr:Graphics=Container.graphics;
gr.lineStyle();
gr.beginFill(Adcolor.selectedColor, 2);
gr.drawRect(0,0,(uint(Adwidth.text)*70),Number(Adheight.text)*1.68);
gr.endFill();
var Lbl:TextField = new TextField();
Lbl.x=Lbl.y=1;
Lbl.autoSize=TextFieldAutoSize.LEFT;
Lbl.multiline=Lbl.wordWrap=true;
Lbl.width=(uint(Adwidth.text)*65);
Lbl.text=String(adFileName.text);
Lbl.setTextFormat(boldText);
var btn:Sprite=new CreateRoundRectButton(20,20,5,0,0xFFFFFF,"X",0xFF0000);
btn.name="delete";
btn.x=9;
btn.y=50;
addChild(Container);
Container.x=514;
Container.y=200;
Container.addChild(Lbl);
Container.addChild(btn);
index.text=String(Container.id);
file.text=String(Container.name);
widht.text=String(uint(Adwidth.text));
heigth.text=String(Number(Adheight.text));
posx.text=String(Container.x);
posy.text=String(Container.y);
var adverts:XML= new XML;
adverts=<adverts />;
adverts.adfile=<adfile />;
adverts.adwidth=<adwidth />;
adverts.adheight=<adheight />;
adverts.adposx=<adposx />;
adverts.adposy=<adposy />;
adverts.adfile=String(Container.name);
adverts.adwidth=String(uint(Adwidth.text));
adverts.adheight=String(Number(Adheight.text));
adverts.adposx= String(Container.x);
adverts.adposy=String(Container.y);
Pages.page.appendChild(adverts);
trace(adverts);
btn.addEventListener(MouseEvent.CLICK, deleteme, false, 0, true);
Container.addEventListener(MouseEvent.MOUSE_DOWN,StartDrag);
Container.addEventListener(MouseEvent.MOUSE_UP,StopDrag);
i++; -
How to create a single report using 5 difftent reports
Hi Experts
how to create a single report using 5 repors in it.
Example
I have to create a Survey history report using
Reports like Surevy 1
Surevy 2
Surevy 3
Surevy 4
Surevy 5
Please suggest me.
SantoshUse Analysis Process Designer (RSANWB) to feed each of the survey BEX reports to one DSO. Assuming each of the surveys has something in common to compare. Could also be used as a snapshot storage for the surveys in case history needs to be compared/archived.
Build the Direct update DSO with the survey objects. Add needed time characteristics and/or version control objects to the key.
Data sources will be the 5 surveys.
Add formula to hardcode version/time for history.
Data target is the direct update DSO.
http://help.sap.com/saphelp_nw2004s/helpdata/EN/49/7e960481916448b20134d471d36a6b/frameset.htm
-SM -
Unable to create a single larger partition using diskpart
Hello,
I am fairly new to Windows server management.
I have a Windows Server 2008 R2 RDP machine on Amazon EC2 cloud. I have about 10 different partitions which are 8GB each. I would like to merge them all and create a single larger partition. I know diskpart generally does the trick (as per forums) but in
this case it hasn't.
I have converted three 8GB partitions into dynamic disks and I then I type the following command in diskpart:
create volume raid disk = 4,5,6
which gives me the following:
Virtual Disk Service error:
The size of the extent is less than the minimum.
I do not understand why is this happening. Would someone please be able to throw some light on this issue?
I would eventually want to add 6*1TB partitions and then merge them into a single large partition of 5TB (I got to know that 1TB will be reserved for parity).
I also tried running the following command:
create volume raid size=10000 disk = 4,5,6
and got the following:
The volume you have specified is too big for the specified disk(s).
Any help would be greatly appreciated.
CheersHi,
Command line:
Create volume raid used to create a RAID-5 volume using three or more specified dynamic disks.
http://technet.microsoft.com/pt-pt/library/cc731343(v=WS.10).aspx
Partitions does not equal to disks.
If you do not familiar with Diskpart, you can use Disk Management to perform the same tasks.
Disk Management
http://technet.microsoft.com/en-us/library/cc770943.aspx
More information:
Partitions and Volumes
http://technet.microsoft.com/en-us/library/dd163559.aspx
Understanding Disk Terminology
http://technet.microsoft.com/en-us/library/dd163557.aspx
How To Use Disk Management to Configure Dynamic Disks
http://support.microsoft.com/kb/308424/en-us
Hope this helps.
Jeremy Wu
TechNet Community Support -
How to create a line type in data dictionary
How to create a line type in data dictionary?Please explain step by step?
Thanks & Regads,
SairamHi,
the details abbout the line type.
The line type of a table type can be defined by:
o Specification of a type that already exists (data element,
structure, table type, table, view) whose properties are then copie
as properties of the defined table line.
o Direct type input, where data type, number of positions, and, if
required, decimal places, are entered directly.
o Specification of a reference type.
and SE11 and click on datatype and click on table type and enter the line type.
Thanks
Shiva -
How to create a single SCN [Inbound Deliery] ' VL31n ' for multiple PO's
How to create a single SCN [Inbound Deliery] ' VL31n ' for multiple Purchase-Orders with the help of BAPI or BDC Recording in 4.6 b version.
Manually its possible.. but how is it possible in the background i.e through BDC Recording or BAPI's.
[ As we donot have an option of creating one same SCN [Inbound Deliery] for multiple Purchase-Orders in 'VL31n' ].
Please provide the needful Information.These mpeg2 clips do not have audio.
I simply want to create a script that can read in the files, append to each other and then export to an .mov format.
I want the process to be called from a command line that will open QT, run the script, read in the files, append and export.
Thanks.
G5 and Mac Pro Mac OS X (10.4.8) PC's and Windows
G5 and Mac Pro Mac OS X (10.4.8) PC's and Windows -
How to Create a Unix Agent and data stage adapter
Hi Gurus,
I am new to this tool. We have installed trail version of tidal scheduler tool. Kindly let me know how to create a unix agent and data stage adapter using some screen shots. Also please let me know is it possible to create agents on trail version
Thanks,
Saravanan Viswanathanedburns wrote:
Can someone please tell me how to create a Unix Group on Leopard and how to add myself to that group?
Ed
man dseditgroupshould help. Look particularly at the examples. -
How to create a single 'not null ' validation for all the items in a page ?
Hi everyone ,
how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
Thanks & Regards
UmerNice1 wrote:
bob , as u said I have done the following :
1) under create button , there are 9 items and for each item I have set Required to 'Yes'
2) under delete button , there is 1 item and have set Required to 'Yes' for the item
3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
The best solution is as the reply a couple replies up
Create 2 page type validations as a PL/SQL with code
1st validation
:P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL include all 9 items
Set the When Button Pressed to the CREATE button
2nd validation
:P1_ITEM10 IS NOT NULL
Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
Edited by: Bob37 on Apr 27, 2012 12:02 PM -
How to create DB partitioning in active data tables for ods?
hi all,
Can anyone let me know how to create DB partitioning in active data tables for ods. if any docs pls share with me at my email id : [email protected]
regds
harithaHaritha,
The following steps will briefly explain you to improve the performance in terms of DB partitioning as well as loading. Please find the same,
transaction RSCUSTA2,
oss note 120253 565725 670208
and remove 'bex reporting' setting in ods if that ods not used for reporting.
hope this helps.
565725
Symptom
This note contains recommendations for improving the load performance of ODS objects in Business Information Warehouse Release 3.0B and 3.1 Content.
Other terms
Business Information Warehouse, ODS object, BW, RSCUSTA2, RSADMINA
Solution
To obtain a good load performance for ODS objects, we recommend that you note the following:
1. Activating data in the ODS object
In the Implementation Guide in the BW Customizing, you can implement different settings under Business Information Warehouse -> General BW settings -> Settings for the ODS object that will improve performance when you activate data in the ODS object.
1. Creating SIDs
The creation of SIDs is time-consuming and may be avoided in the following cases:
a) You should not set the indicator for BEx Reporting if you are only using the ODS object as a data store.Otherwise, SIDs are created for all new characteristic values by setting this indicator.
b) If you are using line items (for example, document number, time stamp and so on) as characteristics in the ODS object, you should mark these as 'Attribute only' in the characteristics maintenance.
SIDs are created at the same time if parallel activation is activated (see above).They are then created using the same number of parallel processes as those set for the activation. However:if you specify a server group or a special server in the Customizing, these specifications only apply to activation and not the creation of SIDs.The creation of SIDs runs on the application server on which the batch job is also running.
1. DB partitioning on the table for active data (technical name:
The process of deleting data from the ODS object may be accelerated by partitioning on the database level.Select the characteristic after which you want deletion to occur as a partitioning criterion.For more details on partitioning database tables, see the database documentation (DBMS CD).Partitioning is supported with the following databases:Oracle, DB2/390, Informix.
1. Indexing
Selection criteria should be used for queries on ODS objects.The existing primary index is used if the key fields are specified.As a result, the characteristic that is accessed more frequently should be left justified.If the key fields are only partially specified in the selection criteria (recognizable in the SQL trace), the query runtime may be optimized by creating additional indexes.You can create these secondary indexes in the ODS object maintenance.
1. Loading unique data records
If you only load unique data records (that is, data records with a one-time key combination) into the ODS object, the load performance will improve if you set the 'Unique data record' indicator in the ODS object maintenance.
Hope this helps..
****Assign Points****
Thanks,
Gattu -
I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?
Have a look at the menu file/process multiple files. You can choose to add your signature (or the caption) to the image and export the new files.
If that solution is not flexible enough, consider using the very affordable (12$) Elements+ add-on which offers a 'meta stamp' script :
http://elementsplus.net/v5/en/meta-stamp.htm
Otherwise, have a look at other free and good solutions like Faststone Photoresizer, Xnview... -
How do i restore my hidden ical data from a Time Machine backup
How do i restore my hidden ical data from a Time Machine backup?
Use the go menu to enter any hidden folders.
Then click on the time machine icon to restore.
Maybe you are looking for
-
Hi, Im from Philippines,.... i am currently using my iPhone 4 (iOs.6.3)it started when i upgrade it from iOs4 to iOs 6.3 , My iPhone doesnt identify numbers even if its in my contact if its not starting with +63 ..what will i do? I change everythin
-
Unable to view invoices and going into enter mode.
Dear all, Under the Receivables Inquiry responsibility in the AR transaction forms (view invoice). Unable to view invoices and going into enter mode. Please help to debug this issue. Thanks for your help in advance. With Regards, Sunil Kumar Mallina.
-
Why does my printer say out of paper when there is a full stack?
When I try to print from my printer it will say "Out of Paper" even though there is a full stack of paper in the printer. I tried lowering the stack to see if that would work and it didnt. How do I fix this problem?
-
Privacy settings won't save in firefox 3.6.3
Privacy settings won't save. I tried the fixes and still does not save. What do I do to save settings so I don't have to constantly put in preferences? Thanks == Operating system == xp
-
Sun Ray USB Redirector 1.1
Hi Guys, I am using the Sun Ray Redirector 1.1 on my test XP VM machine. I am trying to connect a blackberry device via the DTU's USB slot but it only plugs and plays as a "Sun Ray Generic device". Has anybody got this working? Many thanks. Gavin.