Alternating gradient line question
I am trying to create a 'skin' (it isn't really) for a table I displays records from a database. I could not find a method to display data that I liked for every rank is just a bunch of labels. The first thing I got out is a shape with a gradient towards the skin line fill, and I use it only for alternating rows.
However, it only works on the first line, then the two rows is a Uni fill. What's not here?
Here is the code snippet:
for (var x:int = 0; x < dp.length; x++) { if (x % 2 == 0) { var matrixRow:Matrix = new Matrix(); matrixRow.createGradientBox(620, 30, 90/180*Math.PI); var grad:Shape = new Shape(); grad.graphics.clear(); grad.graphics.beginGradientFill(GradientType.LINEAR, [0xDDDDDD,0xDDDDDD], [0,1], [0,255], matrixRow); grad.graphics.drawRoundRect(0, x * 30, 620, 30, 5, 5); grad.graphics.endFill(); container.addChild(grad); } //etc
Hey,.
try to do this instead:
for (var x:int = 0; x < dp.length; x++) { if (x % 2 == 0) { var matrixRow:Matrix = new Matrix(); matrixRow.createGradientBox(620, 30, 90/180*Math.PI); var grad:Shape = new Shape(); grad.graphics.clear(); grad.graphics.beginGradientFill(GradientType.LINEAR, [0xDDDDDD,0xDDDDDD], [0,1], [0,255], matrixRow); grad.graphics.drawRoundRect(0, 0, 620, 30, 5, 5); grad.y = x * 30; grad.graphics.endFill(); container.addChild(grad); } //etc
The graphic software does not exactly how you might think. its better if you set the position of the object separately. so in your case its work, its all just do not pass the drawing for you. Good luck!
Tags: BlackBerry Developers
Similar Questions
-
dying, gradient mesh CS gradient line 6 going to take?
Hi just wondering,
I had a look at the CS6 preview video and thought to me there will be any use for a gradient mesh now since you can use a gradient to fill in colors for the outline of a shape?
Anyone played around with it enough to tell me what would be the main disadvantage or advantage a gradient line between a gradient vs mesh?
Nope.
Gradients on traits is completely different from that of the gradient meshes. They replace each other. Two compeltely different features.
You wouldn't get rid of fillings because you can apply color to the traits you?
-
Help please gradient police Question
Help please gradient police Question
I'm using CS4 on a PC.
I degraded a whole word, ranging from light to dark.
I can take a letter, change curve and get the effect I want.
I want the whole word to have the effect described in the letter 'A' as shown in the example of wod together.
If I do a whole word I do each letter individually, and it does not give me the effect of the whole word that I am trying to achieve.
Thanks in advance for any help
rollsnut,
You can:
(1) a class and keep it in Live Type (no need to create outlines);
(2) in the appearance palette/Panel dialog box, select Add new fill;
(3) apply the gradient from the bottom of the box to tools (which will give you the same gradient as in A) and change it if you wish.
-
Hey guys! I'm having a hard time to create a custom image for my research project and I was wondering if you guys might lend a hand .
For my project, I want to take a picture that is 1920 x 1080 and alternating lines of cultures (1 px outside) and then combine them in 960 x 1080 picture.
Is this possible on Adobe Photoshop? I need to make at least 100 images of this size.
Thank you!
I appreciate if you could help me.
Try this script. He actually chooses a wide band of 2px, but he moves so that they overlap, and you really get a pixel in the final version. There is a bug with PS script than the mess to try to move a layer of a pixel. I'll have to report it. Save the code in a simple text with the extension .jsx below file. Place it in the subfolder of Photoshop Presets\Scripts. Restart Photoshop and it should appear in the main menu > file > Scripts. You can call it as you want. Here's a sample:
#target photoshop var doc = activeDocument var curLayer = doc.activeLayer var odd = 0 var count = 0 var sWidth = 0 var dLayer = false var dlg = new Window('dialog','1 PX') dlg.even = dlg.add('radiobutton',undefined,'Even'); dlg.odd = dlg.add('radiobutton',undefined,'Odd'); dlg.even.value = true; dlg.ok = dlg.add('button',undefined,'Ok') dlg.ok.onClick = function(){ if(dlg.even.value){ odd = count = 0} else{odd = 1 count = -1 } dlg.close() makeSel () } dlg.show() function makeSel(){ for (var i = odd;i
-
3 command line questions simple esxi
Hello
I have 3 simple questions on the ESXi-shell commands1. How can I execute a command dd and gzip the results without storing the file somewhere?
/ tmp # dd if=/vmfs/devices/disks/mpx.vmhba1\:C0\:T0\:L0:1 of=/tmp/dd.dump bs = 1 M count = 20
/ tmp # gzip - c dd.dump > dump.gz
instead of these 2 lines do it all in one without store dd.dump
2. how created a list of all the vmx files in a data store without also listing the files whose name as vmx - blabla.vmdk vmx or *.vmxf
the output must use full paths so I need something like this but without the false resultsfind/vmfs/volumes/datastore1 / * | grep ".vmx" | grep - v '.vmxf' > vmx - files.list
3. How can I grep all files in vmware*.log in a data store for a complex chain as "scsi0:0.filename ="redirect results in a file that lists the results like.
/ vmfs/volumes/datastore1/test/test. VMware.log: 2012-10 - 01 T 07: 19:00.120Z | VMX | Scsi0:0.fileName DICT = WIN02.vmdk
/ vmfs/volumes/datastore1/test2/test2. VMware.log: 2012-10 - T 02, 07: 19:03.120Z | VMX | DICT = test2.vmdk scsi0:0.fileName
Thanks in advance
3. you could xargs - find/path/to/vmfs /-name 'vmware*.log ' | XARGS grep-i chain
I guess that's 4.1 - I'm still not sure if ESXi xargs
HTH
~ Stephanie Sai
-
Follow-up of command line question
Earlier today, I asked for advice on how to remove a troublesome file using the command line.
When I opened the command prompt, it is set to c:\Documents and holder
I tried led annoying file
The command prompt said not found
However, my embarrassing is a record in the E:\ CD player (file waiting to be written on the CD)
Please indicate how do to the E:\ Command line CD player.
Thank you... I am confident that I'm getting closer to delete this file!
Forget to e. The file is not on E, it's on your hard drive (C) waiting to be burned (written) on a CD (that will E).
When you have done the research and found the file, what happened when you selected (clicked once on) the file and you press the delete key?
If for some reason you can't use the graphical interface (for example, Windows Explorer) to remove the file, open a command prompt.
[Press ENTER after typing each orders]
The prompt (as you noted)
C:\Documents and holder
Local parameters of type cd
The prompt now show you C:\Documents and Settings owner
Application of type cd data
The prompt now show you C:\Documents and Settings\Application Data of owner
Type cd Microsoft
The command prompt now shows C:\Documents and Settings\Application Data\Microsoft owner
Type cd CD Burning
The command prompt now shows C:\Documents and Settings\Application Data\Microsoft\CD Burning owner
Type dir
You should get a list of all files in the directory of CD burning. Most likely, your annoying file is listed. Led type followed by the file name.
You could do all this in one step, of
C:\Documents and holder
Type cd "C:\Documents and Settings\Application Data\Microsoft\CD Burning owner"The quotes may or may not be necessary (I don't remember at the moment), but should not hurt to have them.
-
BB10 signature command line question says:
command line says:
Error: Code signing request failed because this version of the application or the package has been previously signed. If please increment the version (s) and try to connect again.
Manifesto says:
Archive-manifest-Version: 1.5
Archive-created-by: BlackBerry Elf Packager 1.7 BAR
Package-Type: application
The author of the package: the blue Gystrophacy
Package-author-Id: testVGhlIEJsdWUgR3lzdHJvcGg
Package name: ras
Package-Id: testRel_ras___1b824___
Package version: 1.0.2.1
Package-Version-Id: testMS4wLjIuMSAgICAgICAgICA
Package-Architecture: armle-v7
Application name: SiteManager
ID of the application: testRel_ras___1b824___
Application Description: Toolbox for manufacturers
Application version: 1.0.2.1
Application ID-Version: testMS4wLjIuMSAgICAgICAgICA
Request-requires-system: Tablet OS/10.0.4.0
Mode-application development: false
Name of the entry Point: SiteManager
Entry-Point-key: e1
Entry point: WEBKIT_NUMBER_OF_BACKINGSTORE_TILES = 12 app/native/wwe
Entry-Point-Type: Qnx/Elf
Entry-Point-Icon: {86x86}native/resources/icon-86.png:{150x150}native/resources/icon-150.png
Entry-Point-Splash-Screen: {1280x768}native/resources/splash-1280x768.png:{768x1280}native/resources/splash-768x1280.png
Entry-Point-focus: auto
Entry-Point-user-Actions: access_internet
Entry-Point-System-stocks: run_native
I changed the number of version two times now and always doing this to me. any ideas?
User error:
in ripple settings name of archive I've capitalized the s in sitemanager
-
Deployment of final application with the command line Question
OK so I have my finished application.
on a folder in my office called "CODBOUG".
So I tried different methods to run the application and complete the test on the Simulator with the command line. But it's just too much. So I need your help community!
I tried:
BlackBerry-deploy-installApp-package CallofDutyBlackOpsUltimateG
uide.bar - device 192.168.18.128
I'm a little lost with the help of the command line, if someone could guide me on the right lane.
I'm on windows, btw.
Thank you.
When you run a command, Windows will search in a series of directories for this program to run. The list of directories is stored in what is called an environment variable. You must add the path to the bin of the sdk at this variable directory (e.g. C:\Program Files (x 86) \Adobe\Adobe Flash Builder Burrito\sdks\blackberry-tablet-sdk-0.9.3\bin).
You can access the path variable by right-clicking on my computer > properties. Select the Advanced tab and click on approx. Variables.
Under System Variables, search PATH and edit it. Add the path to the sdk bin directory (make sure that there is a semicolon, that separates the directories).
Open a command line window in the directory where your .bar file. When you run the command, Windows will look for blackberry - deploy and can be found in the directory that you have added to your PATH variable so to run it.
-
Customer has 52 profile and EX90. I'm looking for orders from command line to have 'A' 'B' call, then the Conference to 'C '. I'm currently testing several ways and want to ensure that the call is pushed over the MCU.
Thank you
Robert
Hello
I recommend to check on the guide of the APIs here.
The command to place a SIP call to the 1920 call would be:
xcommand. dial: [email protected] / * / SIP protocol: bandwidth: 1920
xCommand Dial
Dial a number from the system. Returns information on the CallId and ConferenceId, which are necessary for some other commands.
Number: Enter the number or address. Protocol: Select the Protocol h.323 or SIP. CallRate: Fix a rate of call. CallType: Select the type of audio or video call.
BookingId: any identifier that an external booking system (e.g., TMS, CTS - MAN) can use for its own references to match calls placed with the internal identifier systems of booking for a meeting. This can be any string, for example, a GUID. The reservation Id will be provided in the call connects, events of appeal etc. for the call.
Requires the user role: USER
Parameters:
Number (r): Protocol: CallRate: <64..6000>TypeAppel: BookingId:64..6000>
Example:
xCommand Dial number: 543210 Protocol: h323 OK * r DialResult (status = OK): CallId: 2
ConferenceId: 1 * end
I have not tried to climb multiway but I would then try to hold, call another point of termination, then the command joining. Looks like you need to the Callid returned by a command call xstatus .
xCommand Call Hold
Put a call on hold. The CallID returned by operating the xCommand command Dial. During the call, you can run the xStatus calling command to see the CallId.
Requires the user role: USER settings:
CallId (r):<0..65534>0..65534>
Example:
xCommand Call Hold CallId:19 OK * r CallHoldResult (status = OK): * end
xCommand call Join
Join all existing, active and put calls on hold.
Requires the user role: USER settings:
No parameters.
Example:
xCommand call Join OK * r CallJoinResult (status = OK): * end
Thank you
-
Hello
I have a csv list, but I want the csv in rows, something like that - any help is greatly appreciated.
Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
WITH t
AS (SELECT "a" id, 1, 2, 3, 4' ordr FROM DUAL)
UNION
ID to SELECT 'b', ' 1, 2, 3, 4, 5' ordr FROM DUAL
UNION
SELECT 'c' id, 7, 8' ordr FROM DUAL)
SELECT *.
T
want to the result like this-
ID - ordr
a 1
a 2
a 3
a 4
b 1
b 2
b 3
b 4
b 5
c 7
c 8
Thank you very much.
Here's how:
Notes on the Oracle: split delimited by a comma the way of RegExp string, second part
SQL > WITH t AS (SELECT 'a' id, ordr ' 1, 2, 3, 4' UNION DOUBLE)
2 id SELECT 'b', ordr ' 1, 2, 3, 4, 5' OF the UNION DOUBLE
3. SELECT 'c' id, 7, 8' ordr FROM DUAL)
4. select id
5, regexp_substr (ordr, ' [^,] +', 1, rn) split
6 t
7 cross join (select rownum rn
8 in (select max (length (regexp_replace (ordr, ' [^,] +'))) + 1 mx)
9 from t
10 )
11. connect by level<=>=>
12 )
where the 13 regexp_substr (ordr, ' [^,] +', 1, rn) is not null
14 order of 1,2;
I SHARED
- ---------
a 1
a 2
a 3
a 4
b 1
b 2
b 3
b 4
b 5
c 7
c 8
11 selected lines.
-
Path finder &; line Question
Hello illustrators.
I'm having a problem with the pathfinder tool. IM using the pathfiners FRACTURE and some of my lines going to miss. 1px STROKE they want to just turn to a thin line that other lines are thicker, sometimes a few lines merge
distortion of the shape of the of my design. I'm extend lines fill and line to erase all the unwanted lines hanging on the edges if that makes sense... Why im doing this is because I need the inner parts
the strokes black border.
Thank you.
You use the pathfinder Panel or effects?
Why use pathfinder at all? to complete parts? That could be achieved more easily with the live paint or shapebuilder tool.
-
Mac OS X 10.5.8. PSE 6.0
I would like to create a layer that contains a gradient that shades a transparent color (not white). I don't see any way to do as the gradient of color/tool selector does not offer 'none' as a color selection. Reducing the transparency of the layer does not either because the entire layer is also affected.
The effect I want to achieve should gradually darken a underlying background layer, containing an image on the right to the left so that the left side of the image is not affected and the right appears more dark. How can I achieve this?
TIA,
Beth
Hello
You specify a transparency in a gradient using the gradient editor. Assuming you are using the gradient tool, look in the options bar for the window that displays the currently selected gradient. Double click on this window. The gradient editor dialog box will go up. If it is just transparent color, you can consider using the foreground color in transparent "Preset". You can click on the color stop; Then, the sample color black to change the color if you wish. You can also create your own custom gradient. The opacity stops are pencil albums as arrows... fills the % check box to specify the opacity for this stop. Here's a tutorial on the use of the gradient editor.
Adobe E8 help page:
You can also get this same dialog box by using the gradient adjustment layer and the adjustment layer map gradient... even with these elements when selected in the menu bar.
-
Hi guys,.
I have a tabular presentation that I created using the wizard. The fields on the of are URL_ID, URL, URL_Name Report_ID
The URL_ID is filled by a trigger on the table. The name of the URL and the URL field are met by typing in a textbox.
Is it when even spend Report_ ID value of an item hidden in the Add line function so that it inserts into the table. For the moment it insert a null value.
I'm under Apex 2.0 by the way.
Thanks in advance,
Huw.Your REPORT_ID (whatever it is) column has a property with a default value which could be an element value (P1_REGION_ID) or a PL/SQL Expression NVL(:P1_REGION_ID, '00000'). In addition,
Owner of the Table reference
Reference Table name
Name of reference columnmust be defined correctly.
Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------ -
How to include check boxes for alternating line fill?
I tried allowing alternating filling line before and after adding a column with checkboxes, but it just does not work - the entire column "will not participate" in the alternation of filler as all other columns don't. How can I make it work?
Hi VarHyid,
Worked for me.
I inserted a new table 'ordinary' in an existing document to format a cell as a checkbox column, then clicked on the button in the Inspector to Format table, clicked on the alternative line color box, click on the color wheel and used the RGB sliders to set a color for the alternate rows (pairs).
Note that I started with a "plain" table and that it did not apply fills all cells except through alternative line color. Any color fill applied to the cells will substitute the color defined by collour alternative line.
Kind regards
Barry
-
I have connected this new HP x 2301 to an old HP Pavilion a1730n CPU which worked well with my old HP display. Keyboard is HP. The alternation of lines crisp and fuzzy type appears in anything that contains text, such as Word documents and windows Firefox and IE, incluing gmail emails. I tried to unplug the power cord screen and pressing the power button / display for 45 seconds before restoring power, but there was no change.
Here are the specifications of your desktop HP Pavilion a1730n. According to specifications, your using nVidia GeForce 6150 graphics built-in and supplied with Windows Vista 32-bit. Here are the specifications of your HP x 2301 micro thin LED LCD monitor. According to specifications, your monitor supports a resolution native, recommended and maximum of 1920 x 1080 at 60 Hz. Please make sure that Windows is on the nattive of your monitor resolution and 32-bit color is chosen. Windows includes a technology called ClearType that allows your monitor display fonts of the computer more clear and smooth as possible. To adjust ClearType, type 'ClearType' in the Windows Start menu search box, or go to control panel. Follow the prompts to refine the way text looks like.
If using the integrated graphics VGA output, I recommend the upgrade to a graphics card that supports the DVI or HDMI. This should make the image look better overall. A new x 16 PCIe graphics card may also require an improved power, depending on the currently installed unit and your chioce of graphics card.
Maybe you are looking for
-
MS Office report Express VI and table problem
Hi all I have a strange problem with MS Office report VI, which is included with the report generation tool. I created an Excel template that I linked, according to the preference "Custom template for Excel" and all the named ranges. However, two of
-
#include #include #include typedef struct StringsStruct { char A[10]; char AA[10]; char B[10]; char BB[10]; char C[10]; char CC[10]; } StringsStructType; StringsStructType Strings = {0}; char *const SelectedStrings[3] = { Strings.A, Strings.B, String
-
Is Microsoft Messenger 4.7 the latest version? and how can I get a newer version?
Original title: my version of messenger is 4.7 Is Microsoft Messenger 4.7 the latest version? I could be wrong, but I don't think that it is and I want to know how can I get a newer version?
-
HP Color LaserJet CM1312 nfi no print only one page (document)
Hi all. I'm in big trouble with Color LaserJet 1312 nfi (on 2 PC). Printer still print ONLY a single document (regardless of the number of pages) that I can't continue. I have to restart computer or the user to login and I print a new document. Scan
-
I have a dv7t quad edition (6100) I7-2630 - turbo boost disabled 8 GB ram ATI 6770 Win 7 64 bit prices slowed 140F 200F high load time normal? I would benefit at all to make a repaste?