Please, I need help in this,How to make a tree control appear from right to left ??
i working on Arabic project in which we use a tree control and i want it to display its branches from right to left .
i tried to rotate it but it doesn't work because the disclosure triangle still appear on the left .
i ask if there is any thing to mirror the tree control ,and ask if this mirroing will work or not?
You'll need to modify the layout logic of your renderer.
Here's a simple example that extends the default tree renderer and overrides the updateDisplayList method(). It will probably need more work. Set textAlign="right" on your Tree control when you use this renderer. You'll also need to supply a disclosure icon that points in the opposite direction.
package
import mx.controls.treeClasses.TreeItemRenderer;
import mx.controls.treeClasses.TreeListData;
public class RightToLeftTreeItemRenderer extends TreeItemRenderer
override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
super.updateDisplayList(unscaledWidth, unscaledHeight);
var startx : Number = data ? TreeListData( listData ).indent : 0;
startx = unscaledWidth - startx;
if ( disclosureIcon )
disclosureIcon.x = startx - disclosureIcon.width;
startx = disclosureIcon.x;
if ( icon )
icon.x = startx - icon.width;
if ( label )
label.x = 0;
Similar Messages
-
please I need help, I have not been able to upgrade my iOS from 6.1.2 to 6.1.3?
Hello mpacology
The article below will provide assistance with upgrade your iPhone operating system. You can do this through iTunes or through the Software Update section in Settings >General > Software Update
iOS: How to update your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT4623
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
How do I get my previous contacts from mobileme now to the icloud? I need help figuring out how to make that transition?
Try using the app My Contacts Backup, which will back up your contacts as an attachment to an email. Send this email to yourself, open it on your Mac and double-click the attachment to import them to Address Book (or Contacts if you have Mountain Lion).
-
How do I get text to go from right to left in Creative Cloud?
I need to create Arabic and Hebrew content in the Creative Cloud version of Adobe Illustrator, however, I can't seem to get the content to paste from my source document from right to left.
Still having trouble using Indic-support. Tried that before posting question. However, found a "better way", at least for me. I copied the text to Microsoft Word, then opened the Word Document with Illustrator (which I didn't know I could do - found it in a note somewhere). Cut and paste was very easy after that. I was able to finish my project within a similar amount of time as I can with other languages. It takes a few more steps than direct copy and paste, but not much from a time perspective! It works! Hooray!
-
Help... how to make self-paint control
Dear All.
I really hope can find some helps from here as I'm a beginner in Java.
I'm making a project , in a dialog which must contains some self-paint controls. Just like a sheet contains some cards located in from column to row. e.g 4 column, 2 row of cards.
It must able to select, to change the text, to change color etc..
I have no idea how to do. Could anyone give me some hints and example? what control should I extends for?
Many thanks for help..I have to make a dialog, that allow user to order the cards.
e.g. I will have 4 col x 2row cards.
each card shows a string and some data.
when user select the card, the background color or this card will be highlighed. etc.
user also able to re-arrange the card order , rotation etc... -
Please i need help with this condition
ok this my situation and try to help me simpler than this
i have 3 input test fields named
name_txt , emailTxt , phonetxt.
and i have a text file named "question.txt" at the same
folder.
i have three dynamic textfields that load &ques1 ,
&ques2 and &ques3
and i want to do the following:
i want to compare between the answers the user input and the
answers at the
txt file &answer1,&answer2 and &answer3.
For example:
_root.submit_btn.onRelease = function(){
if ( _root.nametxt.text = = My variable ????){
gotoAndPlay(2);
} else{
gotoAndPlay(3);
AND THE CODE I AM USING IS :
//on frame 1
stop();
_root.loadVariables("ques.txt");
/*and my input txts named as following
name_txt
email_txt
phone_txt
and the text file ques.txt read as following:
&firstQ=What is your name?
&secondQ=What is your email?
&thirdQ=What is your mobile number?
&answer1=Essam
&answer2= my email
&answer3=0124613121
and i want to make a condition to compare between text input
in the
name_txt,email_txt and phone_txt and &answer1,
&answer2 , &answer3 and
that if ok gotoAndStop(where the next ques is) ;
Please help me that way and thank you for your efforts in
advanceCreate two condition type
ZCAH and ZCAS
Set up ZCAH condition type as positive and ZCAS for negative.
Then in calculation schema, enter the ZCAH and then ZCAS condition type
Next enter the total and give the "from and to" as bellow screen.
Then whenever you will give any amount in condition type ZCAH and ZCAS, the total will appear as ZCAH-ZCAS.
For more details please read the blog Pricing procedure Steps and Details in SAP MM
Regards
Dëv -
I had to format my computer earlier this morning, and I have to do it again soon, but not before moving all my music files to another computer thanks to my flash dri've. Here's the thing now: My ZEN Vision: M decided to have a firmware problem when I really can't do anything. I have to Reload the Firmware (I believe), so I can update it with the new one. The thing is, I'm not sure if there's a problem here, as I tried connecting it with the USB thing, and said it found no hardware. Alright so... I try doing the Realod Firmware thing, but the firmware doesn't detect the player, and I've already hit Reload Firmware. Now I don't know what's going on with my ZEN and I can't check things out nor can I go install the CDs for the programs/drivers and whatnot,because I'm in a bit of a hurry. I can do it all tomorrow once I get home but I just wanted to know what I have to do, since it's pretty much been quite a while since I last did a firmware update and I don't remember what to do, anyway.
Anybody willing to help? I'd appreciate it if this wasn't ignored like all my other topics in the last year, where I got little to no help at all. But I have been grateful of those who have helped me before. It's just been so long, really...When you connect the player use REAR usb port if desktop. If laptop direct connect to usb port NO HUBS. & At least 50% battery charge on the player. Boot the player in Recovery /Rescue mode then do a Format>cleanup Then connect to computer to see if Windows loads the driver or "sees" the player. If it does then disconnect it &? Open the firmware file & on the player choose reload firmware The screen on the player will prompt you to connect via usb? connect it. Now the Autoplay window may open DO NOT CLOSE IT (ignore it) The firmware file should see the player choose the upgrade & let it run. Good Luck
-
A window appears with this message : [JavaScript Applicaction] Error: missing } after function body.
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
HELPP PLEASE i need help solving this algorithm please!!
Read the following algorithm for the recursive procedure called Mystery.
MYSTERY(soFar, toGo)
length = LEN(toGo)
IF length = 1 THEN
PRINT soFar & toGo
ELSE
FOR i = 1 to length
MYSTERY(soFar & MID$ (toGo, i, 1),LEFT$(toGo, i � 1)
& RIGHT$(toGo, length � i))
NEXT i
ENDIF
END of procedure
Where:
LEN(aSTRING) returns the number of characters in the string held in aString,
MID$(aString, n,m) returns m characters of aString starting at the nth,
LEFT$(aString, n) returns the first n characters of aString,
RIGHT$(aString, n) returns the last n characters of aString,
& joins two strings together (concatenation).
(a) Give the output if the procedure is called by
MYSTERY('' '', ''RED'')
(b) The function is called with
MYSTERY('' '', ''AB'')
Write down all the instructions, including procedure calls, in the order in which they are
executed. You must show the values of the variables in each instruction.I'd to ask your tutor or classmates for help with homework.
I don't see any relation with Java by the way. -
Need help figuring out how to make all images appear on every page
Hello,
I user Dreamweaver MX and created this site for my church
www.ccosj.com. When I created the site I used image ready for the
ind. parts of the page. Loading them into dreamweaver and adjusting
the rollovers there (with some tutorial help since I am not that
good at it) I get the pages all to look great on my computer but
when uploading to the site, every page I click on all the images
reload and therefore the pictures constantly look as if they are
reloading. What am I doing wrong? should I take the preload script
out? Why does it look good on my computer but not on the site? Any
help would be appreciated but please know I am a novice at this.
BernadetteUpdate it using iTunes on your computer instead of trying to do it over the air. The space requirement doesn't apply.
In addition, when doing so, you can choose download only initially, allowing you to unplug the phone and go about your day while iOS downloads. Then, when it's finished downloading, you can plug it in and update it without having to wait. -
I need help finding out how to make my phone reappear on the itunes list
for some reason i can not find my phone on the left side of the page to drop songs into and sync it up to my phone PLEASE help me!!!!
iOS: Device not recognized in iTunes for Windows
-
I need help with this code involving making stuff in safari appear the same in internet explorer
In the Preview mode, Safari shows it the way I want it too
look, but when I go to view it on Internet Explorer, the window
look blank. When I check the 'veiw source code' for it it shows all
the codes I have for it. I'm guessing because I'm using positioning
in CSS and HTML its not aligning right in explorer. But I heard
from one of my friends that there is a code that somehow makes it
so that the webpage looks the same for safari and internet
explorer. He said he didn't know the code, and I've can't find it
on the web so far, so maybe somebody here knows what I'm talking
about? He said all I had to do is enter the code in the code panel
and it should work.Looks like you did not close the JavaScript comments on the
portfolio page:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers
.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
</script>
Try adding the closing comment just above the closing
</script> tag, like this:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers
.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
//-->
</script>
Ken Ford
Adobe Community Expert
Fordwebs, LLC
http://www.fordwebs.com
"SCathey" <[email protected]> wrote in
message news:[email protected]...
>
http://myweb.usf.edu/~scathey/
Theres the link. The home, resume, and bio page
> seems to work fine, but when I check the portfollio
page, thats when it turns
> blank in internet explorer. I used a javascript slide
show code for those
> pages, but I used a similar code like that and I had no
previous problems. I
> just want to know if there is a code that allows the
codes to work the same in
> all browsers.
> -
Please I really need help with this video problem.
Hi!
Please I need help with this app I am trying to make for an Android cellphone and I've been struggling with this for a couple of months.
I have a main flash file (video player.fla) that will load external swf files. This is the main screen.When I click the Sets Anteriores button I want to open another swf file called sets.swf.The app is freezing when I click Sets Anteriores button
Here is the code for this fla file.
import flash.events.MouseEvent;
preloaderBar.visible = false;
var loader:Loader = new Loader();
btHome.enabled = false;
var filme : String = "";
carregaFilme("home.swf");
function carregaFilme(filme : String ) :void
var reqMovie:URLRequest = new URLRequest(filme);
loader.load(reqMovie);
loader.contentLoaderInfo.addEventListener(Event.OPEN,comeco);
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,progresso);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,completo);
palco.addChild(loader);
function comeco(event:Event):void
preloaderBar.visible = true;
preloaderBar.barra.scaleX = 0;
function progresso(e:ProgressEvent):void
var perc:Number = e.bytesLoaded / e.bytesTotal;
preloaderBar.percent.text = Math.ceil(perc*100).toString();
preloaderBar.barra.scaleX = perc;
function completo(e:Event):void
preloaderBar.percent.text = '';
preloaderBar.visible = false;
btHome.addEventListener(MouseEvent.MOUSE_DOWN,onHomeDown);
btHome.addEventListener(MouseEvent.MOUSE_UP,onHomeUp);
btSets.addEventListener(MouseEvent.MOUSE_DOWN,onSetsDown);
btSets.addEventListener(MouseEvent.MOUSE_UP,onSetsUp);
btVivo.addEventListener(MouseEvent.MOUSE_DOWN,onVivoDown);
btVivo.addEventListener(MouseEvent.MOUSE_UP,onVivoUp);
btHome.addEventListener(MouseEvent.CLICK,onHomeClick);
btSets.addEventListener(MouseEvent.CLICK,onSetsClick);
function onSetsClick(Event : MouseEvent) : void
if (filme != "sets.swf")
filme = "sets.swf";
carregaFilme("sets.swf");
function onHomeClick(Event : MouseEvent) : void
if (filme != "home.swf")
filme = "home.swf";
carregaFilme("home.swf");
function onHomeDown(Event : MouseEvent) : void
btHome.y += 1;
function onHomeUp(Event : MouseEvent) : void
btHome.y -= 1;
function onSetsDown(Event : MouseEvent) : void
btSets.y += 1;
function onSetsUp(Event : MouseEvent) : void
btSets.y -= 1;
function onVivoDown(Event : MouseEvent) : void
btVivo.y += 1;
function onVivoUp(Event : MouseEvent) : void
btVivo.y -= 1;
Now this is the sets.fla file:
Here is the code for sets.fla
import flash.utils.Timer;
import flash.events.TimerEvent;
var video:Video;
var nc:NetConnection;
var ns:NetStream;
var t : Timer = new Timer(1000,0);
var meta:Object = new Object();
this.addEventListener(Event.ADDED_TO_STAGE,init);
function init(e:Event):void{
video= new Video(320, 240);
addChild(video);
video.x = 80;
video.y = 100;
nc= new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS, onStatusEvent);
ns.bufferTime = 1;
ns.client = meta;
video.attachNetStream(ns);
ns.play("http://www.djchambinho.com/videos/segundaquinta.flv");
ns.pause();
t.addEventListener(TimerEvent.TIMER,timeHandler);
t.start();
function onStatusEvent(stat:Object):void
trace(stat.info.code);
meta.onMetaData = function(meta:Object)
trace(meta.duration);
function timeHandler(event : TimerEvent) : void
if (ns.bytesLoaded>0&&ns.bytesLoaded == ns.bytesTotal )
ns.resume();
t.removeEventListener(TimerEvent.TIMER,timeHandler);
t.stop();
The problem is when I test it on my computer it works but when I upload it to my phone it freezes when I click Sets Anteriores button.
Please help me with this problem I dont know what else to do.
thank youMy first guess is you're simply generating an error. You'll always want to load this on your device in quick debugging over USB so you can see any errors you're generating.
Outside that, if you plan on accessing anything inside the SWF you should be loading the SWF into the correct context. Relevant sample code:
var context:LoaderContext = new LoaderContext();
context.securityDomain = SecurityDomain.currentDomain;
context.applicationDomain = ApplicationDomain.currentDomain;
var urlReq:URLRequest = new URLRequest("http://www.[your_domain_here].com/library.swf");
var ldr:Loader = new Loader();
ldr.load(urlReq, context);
More information:
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7de0.html
If you're doing this on iOS you'll need to stripped SWFs if you plan on using any coding (ABC) inside the files. You mentioned iOS so I won't get into that here, but just incase, here's info on stripping external SWFs:
http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/ -
search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.I have writen code on EH_ONSEARCH .as per below...what changess i need to do..and through partner function and adding the selection params please send the sample .
code. partner funtction - ZRG DATA :
DATA : lv_partner_fct type .
types: begin of ty_resp,
partner type but000-partner,
name_last type but000-name_last,
name_first type but000-name_first,
mc_name1 type but000-mc_name1,
mc_name2 type but000-mc_name2,
end of ty_resp.
DATA: lv_resp_bp type STANDARD TABLE OF ty_resp INITIAL SIZE 0,
lw_resp_bp type ty_resp.
IF lv_attr_name = 'Rgroup'.
lr_entity->get_property_as_value( EXPORTING iv_attr_name = if_crm_srqm_uiu_const=>gc_attr_low
IMPORTING ev_result = lv_low ).
IF lv_low IS INITIAL.
SELECT partner
name_last
name_first
mc_name1
mc_name2
FROM but000 INTO table lv_resp_bp
WHERE mc_name2 = lv_low and bu_group = '0010'.
loop at lv_resp_bp into lw_resp_bp.
lv_low = lw_resp_bp-mc_name2.
lr_query_service2->add_selection_param( iv_attr_name = 'Rgroup'
iv_sign = lv_sign
iv_option = lv_option
iv_low = lv_low
iv_high = lv_high ).
ENDLOOP.
if lv_partner_fct = 'ZRG'.
lr_entity = lr_iterator->get_next( ).
CONTINUE.
ENDIF.
lv_attr_name = 'BU_PARTNER'.
ENDIF.<b>You can acheive this .... first by creating the search help exit ... by creating the maintaince view then using it in the Creation of the search help </b> ...
see the link for attaching the view to the serach help .
<a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
reward points if it is usefull...
Girish -
If i reset my ipad can i install paye games for free if i sign back into my apple ID. Please i need help because i need to update my games but i need to put in this billing thing and i want to get rid of it so then i cant buy games with my credit card
Hello,
As frustrating as it seems, your best to post any frustrations about the iPhone in the iPhone discussion here:
https://discussions.apple.com/community/iphone/using_iphone
As this discussion is for iBook laptops.
Best of Luck.
Maybe you are looking for
-
firefox(20.0.1) squid (port 3128) and dansguardian (port 8080) not running in transparent mode. I am applying blacklists and a custom url regex to apply "safe=vss", this works for all browsers and all search engines except firefox using google search
-
Hi guys, I have a sony dcr-trv14e I am trying to connect to my iMac and iMovies '11... It isn't on the compatibility list (which is annoying) and I have tried to connect it via usb and via firewire but I can't get it to connect in any way at all. I c
-
So this is whats happening. I've got an Iphone 4S with the latest update iOS 8.1.1 and it is always been mine. Lately I've been experiencing a lot of troubles with it (I cannot install new apps - only using my mac to install it through itunes) but w
-
When will the pricing madness end in the cellular market?
For one, text messages are data. In fact, they use VERY LITTLE data. Please include text messages in the data plans. Stop fleecing us by calling it something different and charging exorberant prices. Why don't you charge extra minutes for using c
-
(( APEX host needed - Suggestions? ))
July 29, 2010 Hello, I am new to APEX. I am learning APEX with APEX.ORACLE.COM I would like to find an INEXPENSIVE APEX HOST-- that is a GOOD HOST. I would like to spend $10 month. (Maybe $15 or so if necessary.) Is it possible to get a GOOD HOST in