[rnbrowse-commits] SF.net SVN: rnbrowse:[165] branches/RNBGUI
Brought to you by:
cjsoftuk
|
From: <cjs...@us...> - 2008-08-05 09:59:49
|
Revision: 165
http://rnbrowse.svn.sourceforge.net/rnbrowse/?rev=165&view=rev
Author: cjsoftuk
Date: 2008-08-05 09:59:44 +0000 (Tue, 05 Aug 2008)
Log Message:
-----------
Adding loader error, small redesign, version bump.
Modified Paths:
--------------
branches/RNBGUI/bin-debug/RNBGUI.swf
branches/RNBGUI/bin-debug/bright.swf
branches/RNBGUI/bin-debug/dark.swf
branches/RNBGUI/bin-debug/simple.swf
branches/RNBGUI/bin-release1/RNBGUI.swf
branches/RNBGUI/bin-release1/bright.swf
branches/RNBGUI/bin-release1/dark.swf
branches/RNBGUI/bin-release1/simple.swf
branches/RNBGUI/src/RNBGUI.mxml
branches/RNBGUI/src/loginwindow.mxml
branches/RNBGUI/src/rnbMain.as
Added Paths:
-----------
branches/RNBGUI/images/arrow_refresh.png
branches/RNBGUI/src/loaderror.mxml
Property changes on: branches/RNBGUI/images/arrow_refresh.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: branches/RNBGUI/src/RNBGUI.mxml
===================================================================
--- branches/RNBGUI/src/RNBGUI.mxml 2008-08-03 15:37:13 UTC (rev 164)
+++ branches/RNBGUI/src/RNBGUI.mxml 2008-08-05 09:59:44 UTC (rev 165)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" verticalScrollPolicy="off" horizontalScrollPolicy="off" layout="absolute" creationComplete="rnb4_gui::initAll(); setHints(new TimerEvent(TimerEvent.TIMER_COMPLETE));" themeColor="#009dff" xmlns:controls="controls.*">
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" verticalScrollPolicy="off" horizontalScrollPolicy="off" layout="absolute" creationComplete="begininit();" themeColor="#009dff" xmlns:controls="controls.*">
<mx:states>
<mx:State name="Slideshow">
<mx:AddChild relativeTo="{vbox1}" position="firstChild">
@@ -37,33 +37,29 @@
<mx:AddChild relativeTo="{hbox1}" position="lastChild">
<mx:Label text="[picname]" id="file" />
</mx:AddChild>
- <mx:RemoveChild target="{pbStatus}"/>
- <mx:RemoveChild target="{btnUpload}"/>
<mx:SetStyle target="{hbox2}" name="left" value="0"/>
<mx:SetStyle target="{files}" name="top"/>
<mx:SetProperty target="{files}" name="height" value="100" />
+ <mx:RemoveChild target="{pbStatus}"/>
+ <mx:RemoveChild target="{btnUpload}"/>
</mx:State>
</mx:states>
<mx:transitions>
<mx:Transition fromState="*" toState="Slideshow">
- <mx:Parallel targets="{[files, linkbar1, slideshowcanvas, hbox2]}">
+ <mx:Parallel targets="{[files, hbox2]}">
<mx:Move target="{files}" duration="2000" />
<mx:Resize target="{files}" duration="2000" />
<mx:Move target="{hbox2}" duration="2000" />
<mx:Resize target="{hbox2}" duration="2000" />
- <mx:Fade target="{linkbar1}" alphaFrom="1.0" alphaTo="0.0" duration="2000"/>
- <mx:Fade target="{slideshowcanvas}" alphaFrom="0.0" alphaTo="1.0" duration="2000"/>
</mx:Parallel>
</mx:Transition>
<mx:Transition fromState="Slideshow" toState="*">
- <mx:Parallel targets="{[files, linkbar1, slideshowcanvas, hbox2]}">
+ <mx:Parallel targets="{[files, hbox2]}">
<mx:Move target="{files}" duration="2000" />
<mx:Resize target="{files}" duration="2000" />
<mx:Move target="{hbox2}" duration="2000" />
<mx:Resize target="{hbox2}" duration="2000" />
- <mx:Fade target="{linkbar1}" alphaFrom="0.0" alphaTo="1.0" duration="2000"/>
- <mx:Fade target="{slideshowcanvas}" alphaFrom="1.0" alphaTo="0.0" duration="2000"/>
</mx:Parallel>
</mx:Transition>
</mx:transitions>
@@ -102,12 +98,26 @@
rnb4_gui var buildzipwin:buildzip;
rnb4_gui var logInitWindow:evtVwrLoader;
rnb4_gui var logsWindow:logViewer;
-
- // Open the TitleWindow container.
- // Cast the return value of the createPopUp() method
- // to loginwindow, the name of the
- // component containing the TitleWindow container.
+ private function canloadfile(file:String):Boolean
+ {
+ return true;
+ }
+
+ private function begininit():void
+ {
+ if (canloadfile("rnaapi.php"))
+ {
+ rnb4_gui::initAll();
+ setHints(new TimerEvent(TimerEvent.TIMER_COMPLETE));
+ styleApply();
+ }else{
+ setHints(new TimerEvent(TimerEvent.TIMER_COMPLETE));
+ var loaderrorwin:Canvas=loaderror(PopUpManager.createPopUp( this, loaderror, true));
+ PopUpManager.centerPopUp(loaderrorwin);
+ }
+ }
+
private function initLogViewer():void
{
rnb4_gui::logInitWindow = evtVwrLoader(PopUpManager.createPopUp( this, evtVwrLoader, true));
@@ -198,10 +208,26 @@
}
loginName = rnb4_gui::loginwin.textboxUsername.text + rnb4_gui::loginwin.textboxContext.text;
password = rnb4_gui::loginwin.textboxPassword.text;
- login(loginName,password)
+ login(loginName,password);
PopUpManager.removePopUp(rnb4_gui::loginwin);
}
+ private function styleApply():void {
+ //stylerCancel();
+ if (rnb4_api::loadProfileSetting("styleType") == "customcolour") {
+ var baseColour:String = "#" + this.backcolour.selectedColor.toString(16);
+ var themeColour:String = "#" + this.themecolour.selectedColor.toString(16);
+ var bgArray:Array = new Array();
+ bgArray.push(this.backcolour.selectedColor);
+ bgArray.push(this.backcolour.selectedColor);
+ appcontrol.setStyle("fillColors",bgArray);
+ this.setStyle("backgroundGradientColors",bgArray);
+ this.setStyle("themeColor",themeColour);
+ }else if(rnb4_api::loadProfileSetting("styleType") == "customtheme") {
+ mx.styles.StyleManager.loadStyleDeclarations(themecombobox.selectedLabel)
+ }
+ }
+
private function stylerCancel():void {
//reset colour boxes
if (rnb4_api::loadProfileSetting("themeName") == null) {
@@ -222,46 +248,50 @@
themecolour.selectedColor = uint(rnb4_api::loadProfileSetting("themecolour"))
}
//select current radiobox
- if(rnb4_api::loadProfileSetting("styleType") == "") {
- defaultradio.selected = true
- }else{
- switch(rnb4_api::loadProfileSetting("styleType")){
- case "customcolour":
- themecolorradio.selected = true
- break;
- case "customtheme":
- themeradio.selected = true
- break;
- default:
- themecolorradio.selected = true
- break;
- }
+ themeradio.selected = false
+ themecolorradio.selected = false
+ defaultradio.selected = false
+
+ switch(rnb4_api::loadProfileSetting("styleType")){
+ case "customcolour":
+ themecolorradio.selected = true
+ break;
+ case "customtheme":
+ themeradio.selected = true
+ break;
+ default:
+ defaultradio.selected = true
+ break;
}
+ themecolour.enabled = themecolorradio.selected;
+ themecombobox.enabled = themeradio.selected;
+ backcolour.enabled = themecolorradio.selected;
+ csstext.enabled = cssradio.selected;
}
private function stylerApply():void {
try {
if (themecolorradio.selected==true){
- mx.styles.StyleManager.unloadStyleDeclarations("bright.swf");
- mx.styles.StyleManager.unloadStyleDeclarations("simple.swf");
- resetTheme();
- updateTheme();
+ //mx.styles.StyleManager.unloadStyleDeclarations("bright.swf");
+ //mx.styles.StyleManager.unloadStyleDeclarations("simple.swf");
+ //resetTheme();
+ //updateTheme();
// keep nextline
rnb4_api::saveProfileSetting("styleType", "customcolour")
rnb4_api::saveProfileSetting("themeColor", themecolour.colorField)
rnb4_api::saveProfileSetting("backColor", backcolour.colorField)
}else if(this.themeradio.selected==true){
- mx.styles.StyleManager.unloadStyleDeclarations("bright.swf");
- mx.styles.StyleManager.unloadStyleDeclarations("simple.swf");
- resetTheme();
- mx.styles.StyleManager.loadStyleDeclarations(themecombobox.text + ".swf");
+ //mx.styles.StyleManager.unloadStyleDeclarations("bright.swf");
+ //mx.styles.StyleManager.unloadStyleDeclarations("simple.swf");
+ //resetTheme();
+ //mx.styles.StyleManager.loadStyleDeclarations(themecombobox.text + ".swf");
// keep nextline
rnb4_api::saveProfileSetting("styleType", "customtheme")
rnb4_api::saveProfileSetting("themeName", themecombobox.text)
}else{
- mx.styles.StyleManager.unloadStyleDeclarations("bright.swf");
- mx.styles.StyleManager.unloadStyleDeclarations("simple.swf");
- resetTheme();
+ //mx.styles.StyleManager.unloadStyleDeclarations("bright.swf");
+ //mx.styles.StyleManager.unloadStyleDeclarations("simple.swf");
+ //resetTheme();
// keep nextline
rnb4_api::saveProfileSetting("styleType", "default")
}
@@ -274,7 +304,7 @@
]]>
</mx:Script>
<mx:Script source="rnbGui_codebehind.as" />
- <mx:Script source="upload.as" />
+ <!--<mx:Script source="upload.as" />-->
<mx:Script source="rnbMain.as" />
<mx:Script>
@@ -324,43 +354,49 @@
<mx:Fade id="fadeOut" duration="300" alphaFrom="1.0" alphaTo="0" />
</mx:Sequence>
<mx:ApplicationControlBar x="197" y="58" dock="true" height="37" id="appcontrol">
- <mx:Canvas height="100%" width="100%">
- <mx:LinkBar dataProvider="{viewstack1}" id="linkbar1"/>
- <mx:LinkButton label="Slideshow" click="currentState='Slideshow'; viewstack1.selectedIndex = 0; files.maxRows = 1; inSSMode=!inSSMode;" id="linkbutton1" right="91" y="2" width="75"/>
- <mx:Button label="Logout" click="logout(); resetView();" y="2" right="0" icon="@Embed(source='../images/door.png')"/>
+ <mx:Canvas height="100%" width="100%" id="canvas2">
+ <mx:LinkBar dataProvider="{viewstack1}" id="linkbar1" verticalCenter="0"/>
+ <mx:LinkButton label="Slideshow" click="currentState='Slideshow'; viewstack1.selectedIndex = 0; files.maxRows = 1; inSSMode=!inSSMode;" id="linkbutton1" right="91" verticalCenter="0" width="75"/>
+ <mx:Button label="Logout" click="logout(); resetView();" right="0" icon="@Embed(source='../images/door.png')" id="button4" verticalCenter="0"/>
<mx:HBox left="192" right="174" top="0" bottom="0" id="hbox2" backgroundColor="#F6FF91" cornerRadius="1" borderColor="#000000" borderStyle="solid" borderThickness="1" verticalAlign="middle" horizontalAlign="left">
<mx:Spacer width="0" height="0"/>
- <mx:Image width="16" height="16" source="@Embed('../images/information.png')" />
+ <mx:Image width="16" height="16" source="@Embed('../images/information.png')" id="image1"/>
<mx:Label text="[Hints/Tips]" id="hintstext"/>
</mx:HBox>
</mx:Canvas>
</mx:ApplicationControlBar>
<mx:TextInput height="22" left="-1" top="0" right="-1" styleName="addressbar" id="txtAddrBar"/>
- <mx:Button id='btnGo' click="addrNav()" width="22" height="22" right="-1" top="0" styleName="addressbar" icon="@Embed(source='../images/arrow_right.png')"/>
+ <mx:Button id='btnGo' click="addrNav()" width="22" height="22" right="-1" top="0" styleName="addressbar" icon="@Embed(source='../images/arrow_right.png')" labelPlacement="bottom" label="Go"/>
<mx:ViewStack id="viewstack1" right="10" left="10" top="32" bottom="10">
- <mx:HDividedBox label="File Browser" width="100%" height="100%">
+ <mx:HDividedBox label="File Browser" width="100%" height="100%" id="hdividedbox1">
<mx:Tree id='dirs' folderClosedIcon="{FolderImage}" folderOpenIcon="{FolderImage}" defaultLeafIcon="{FolderImage}" top="0" bottom="0" left="0" width="206" showRoot="false" itemRenderer="RNBGUI.RNBRenderer" itemClick="itemClickEvt(event);" itemOpen="itemOpenEvt(event);" height="100%"></mx:Tree>
<mx:Canvas width="100%" height="100%" id="vbox1">
<mx:TileList doubleClickEnabled="true" top="0" bottom="88" right="0" itemRenderer="FileViewRender" id="files" allowMultipleSelection="true" left="0"/>
- <mx:Canvas height="80" styleName="upload" id="vbox2" bottom="0" left="0" right="0" width="100%">
+ <mx:VBox height="80" styleName="upload" id="vbox2" bottom="0" left="0" right="0" width="100%">
<!-- File info features -->
+ <mx:HBox verticalAlign="middle" width="100%" height="22" id="hbox1">
<mx:Label left="0" top="0" text="File name: " />
<mx:Label id="fileName" left="70" top="0" text="" />
+ <mx:Spacer width="100%" height="100%" id="spacer1"/>
+ <mx:ProgressBar id='pbStatus' labelPlacement="center" height="22" width="131" label=" " mode="manual" indeterminate="false" alpha="0.0"/>
+ <mx:Button label="Upload" id="btnUpload" click="//asUpload();" icon="@Embed(source='../images/arrow_up.png')" width="83" height="22"/>
+ </mx:HBox>
+ <mx:HBox verticalAlign="middle" height="22" width="100%">
<mx:Label left="0" top="15" text="Size: " />
<mx:Label id="fileSize" left="70" top="15" text="" />
+ <mx:Spacer width="100%" height="100%"/>
+ <mx:Button label="Download All Files" id="btnDLAll" icon="@Embed(source='../images/package.png')" click="asDLFolder();" width="147" height="22" right="0" top="26"/>
+ </mx:HBox>
+ <mx:HBox verticalAlign="middle" width="100%" height="22">
<mx:Label left="0" top="30" text="Modified: " />
<mx:Label id="fileMod" left="70" top="30" text="" />
- <!-- Upload and Download features -->
- <mx:HBox id="hbox1" verticalAlign="middle" height="22" right="0">
- <mx:Button label="Upload" id="btnUpload" click="asUpload();" icon="@Embed(source='../images/arrow_up.png')" width="83" height="22"/>
- <mx:ProgressBar id='pbStatus' labelPlacement="center" height="22" width="131" label=" " mode="manual" indeterminate="false"/>
+ <mx:Spacer width="100%" height="100%"/>
+ <mx:Button label="Download Selected" icon="@Embed(source='../images/arrow_down.png')" id="btnDlSel" click="asDLSelFiles();" width="152" height="22"/>
</mx:HBox>
- <mx:Button label="Download All Files" id="btnDLAll" icon="@Embed(source='../images/package.png')" click="asDLFolder();" width="147" height="22" right="0" top="26"/>
- <mx:Button label="Download Selected" icon="@Embed(source='../images/arrow_down.png')" id="btnDlSel" click="asDLSelFiles();" width="152" height="22" right="0" top="52"/>
- </mx:Canvas>
+ </mx:VBox>
</mx:Canvas>
</mx:HDividedBox>
- <mx:Canvas label="Tools" width="100%" height="100%">
+ <mx:Canvas label="Tools" width="100%" height="100%" id="canvas1">
<mx:ToggleButtonBar dataProvider="{viewstack2}" top="0" left="0"/>
<mx:ViewStack id="viewstack2" left="10" right="10" bottom="10" top="30">
<mx:Canvas creationComplete="rnb4_api::getEventLog();" label="Log viewer" width="100%" height="100%">
@@ -374,35 +410,34 @@
<mx:AdvancedDataGridColumn headerText="Details" dataField="details"/>
</mx:columns>
</mx:AdvancedDataGrid>
- <mx:HBox left="10" right="10" top="10" height="90">
- <mx:VBox>
- <mx:FormItem label="Username" width="250">
- <mx:Label text="{logdata.selectedItem.user}"/>
- </mx:FormItem>
- <mx:FormItem label="IP Address" width="250">
- <mx:Label text="{logdata.selectedItem.ip}"/>
- </mx:FormItem>
- <mx:FormItem label="Time/Date" width="250">
- <mx:Label text="{logdata.selectedItem.timestamp}"/>
- </mx:FormItem>
- <mx:FormItem label="Event Type" width="250">
- <mx:Label text="{logdata.selectedItem.type}"/>
- </mx:FormItem>
+ <mx:HBox right="10" top="10" left="10" height="90">
+ <mx:VBox height="100%" horizontalAlign="right">
+ <mx:Label text="Username:"/>
+ <mx:Label text="IP Address"/>
+ <mx:Label text="Time/Date"/>
+ <mx:Label text="Event"/>
</mx:VBox>
- <mx:FormItem label="Notes" width="100%" height="100%">
- <mx:List width="100%" height="100%">
- <mx:dataProvider>{logdata.selectedItem.details.toString().split("\n")}</mx:dataProvider>
- </mx:List>
- </mx:FormItem>
+ <mx:VBox height="100%" horizontalAlign="left">
+ <mx:Label text="{logdata.selectedItem.user}" width="100%"/>
+ <mx:Label text="{logdata.selectedItem.ip}" width="100%"/>
+ <mx:Label text="{logdata.selectedItem.timestamp}" width="100%"/>
+ <mx:Label text="{logdata.selectedItem.type}" width="100%"/>
+ </mx:VBox>
+ <mx:Label text="Notes"/>
+ <mx:List width="100%" height="100%">
+ <mx:dataProvider>{logdata.selectedItem.details.toString().split("\n")}</mx:dataProvider>
+ </mx:List>
</mx:HBox>
<mx:ControlBar horizontalAlign="right" height="44">
- <mx:Button label="Reload" click="rnb4_api::getEventLog();" height="22"/>
+ <mx:Button label="Reload" click="rnb4_api::getEventLog();" height="22">
+ <mx:icon>@Embed(source='../images/arrow_refresh.png')</mx:icon>
+ </mx:Button>
</mx:ControlBar>
</mx:Panel>
<mx:Image width="16" height="16" source="@Embed('../images/book.png')" x="10" y="7"/>
</mx:Canvas>
<mx:Canvas label="Styler" width="100%" height="100%">
- <mx:Panel layout="absolute" width="100%" height="100%" title=" Styler" creationComplete="themecolour.enabled = themecolorradio.selected; themecombobox.enabled = themeradio.selected; backcolour.enabled = themecolorradio.selected; csstext.enabled = cssradio.selected;">
+ <mx:Panel layout="absolute" width="100%" height="100%" title=" Styler" creationComplete="stylerCancel();">
<mx:RadioButtonGroup id="radiogroup1" change="themecolour.enabled = themecolorradio.selected; themecombobox.enabled = themeradio.selected; backcolour.enabled = themecolorradio.selected; csstext.enabled = cssradio.selected;"/>
<mx:VBox left="10" top="10" bottom="10" right="10">
<mx:HBox width="100%">
@@ -426,13 +461,13 @@
</mx:HBox>
</mx:VBox>
<mx:ControlBar horizontalAlign="right">
- <mx:Button label="Cancel" icon="@Embed(source='../images/cross.png')" labelPlacement="left"/>
- <mx:Button label="Save" labelPlacement="left" click="//stylerApply();" icon="@Embed(source='../images/disk.png')"/>
+ <mx:Button label="Cancel" icon="@Embed(source='../images/cross.png')" labelPlacement="left" click="stylerCancel();"/>
+ <mx:Button label="Save" labelPlacement="left" click="stylerApply();" icon="@Embed(source='../images/disk.png')"/>
</mx:ControlBar>
</mx:Panel>
<mx:Image width="16" height="16" source="@Embed('../images/color_swatch.png')" x="10" y="7"/>
</mx:Canvas>
- <mx:Canvas label="Other" width="100%" height="100%">
+ <mx:Canvas enabled="false" label="Other" width="100%" height="100%">
<mx:Panel layout="absolute" width="100%" height="100%" title=" Other" creationComplete="themecolour.enabled = themecolorradio.selected; backcolour.enabled = themecolorradio.selected; csstext.enabled = cssradio.selected;">
<mx:VBox left="10" right="10" bottom="10" top="10">
</mx:VBox>
@@ -448,7 +483,7 @@
</mx:Canvas>
<mx:VBox label="About" width="100%" height="100%" verticalAlign="middle" horizontalAlign="center">
<mx:Label fontSize="24" fontWeight="bold" text="Remote Network Browser 4"/>
- <mx:Label fontSize="10" fontWeight="bold" text="Version number 4.1.0"/>
+ <mx:Label fontSize="10" fontWeight="bold" text="Version number 4.1.1"/>
<mx:Spacer height="50" width="0"/>
<mx:Grid width="415" horizontalCenter="0" verticalCenter="0">
<mx:GridRow width="100%" height="100%">
@@ -487,4 +522,7 @@
<mx:Spacer height="115" width="0"/>
</mx:VBox>
</mx:ViewStack>
-</mx:Application>
\ No newline at end of file
+ <mx:Button label="Help" width="20" height="20" icon="@Embed(source='../images/help.png')" labelPlacement="bottom" cornerRadius="0" fillAlphas="[0.0, 0.0, 0.0, 0.0]" bottom="0" left="0" id="button5">
+ <mx:click>navigateToURL(new URLRequest('http://www.remotenetworkbrowser.co.uk/help.html'), 'Help');</mx:click>
+ </mx:Button>
+</mx:Application>
Added: branches/RNBGUI/src/loaderror.mxml
===================================================================
--- branches/RNBGUI/src/loaderror.mxml (rev 0)
+++ branches/RNBGUI/src/loaderror.mxml 2008-08-05 09:59:44 UTC (rev 165)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="292" height="154" borderStyle="solid" borderThickness="1" borderColor="#B7BABC" backgroundColor="#FFB59B">
+ <mx:Image x="10" y="20" height="32" width="32" source="@Embed('../images/exclamation.png')"/>
+ <mx:Label text="Load Error" left="50" right="10" top="10" height="50" fontSize="36" color="#B70000"/>
+ <mx:Text text="Remote Network Browser cannot load because one of the required files cannot be found. Refresh this page and if the problem continues contact your network administrator." top="68" left="10" right="10" bottom="10"/>
+
+</mx:Canvas>
Modified: branches/RNBGUI/src/loginwindow.mxml
===================================================================
--- branches/RNBGUI/src/loginwindow.mxml 2008-08-03 15:37:13 UTC (rev 164)
+++ branches/RNBGUI/src/loginwindow.mxml 2008-08-05 09:59:44 UTC (rev 165)
@@ -30,7 +30,7 @@
</mx:Script>
<mx:Validator required="true" source="{textboxUsername}" triggerEvent="change" property="text" valid="validu()" invalid="invalidu()"/>
<mx:Validator required="true" source="{textboxPassword}" triggerEvent="change" property="text" valid="validp()" invalid="invalidp()"/>
- <mx:Form left="118" top="0" bottom="0" right="0">
+ <mx:Form left="110" top="0" bottom="0" right="0">
<mx:FormItem label="Username" required="true" width="100%">
<mx:TextInput id="textboxUsername" width="100%"/>
</mx:FormItem>
@@ -41,8 +41,8 @@
<mx:ComboBox editable="true" id="textboxContext" width="100%" cornerRadius="0"/>
</mx:FormItem>
</mx:Form>
- <mx:Image left="0" verticalCenter="0" width="110" height="110" source="logo.png"/>
+ <mx:Image left="5" verticalCenter="0" width="110" height="110" source="logo.png"/>
<mx:ControlBar horizontalAlign="right" height="44" y="118">
<mx:Button label="Login" id="buttonLogin" icon="@Embed(source='../images/door_in.png')" enabled="false"/>
</mx:ControlBar>
-</mx:TitleWindow>
\ No newline at end of file
+</mx:TitleWindow>
Modified: branches/RNBGUI/src/rnbMain.as
===================================================================
--- branches/RNBGUI/src/rnbMain.as 2008-08-03 15:37:13 UTC (rev 164)
+++ branches/RNBGUI/src/rnbMain.as 2008-08-05 09:59:44 UTC (rev 165)
@@ -36,7 +36,6 @@
}
rnb4_api function openDir(directory:String):void{
- txtAddrBar.text=directory;
rnb4_api::recurse=true;
rnb4_api::rqPath = directory;
rnb4_api::doCommand(rnb4_api::rootURL + "rnaapi.php?action=ls&path=" + escape(directory),"",rnaapiDirCB);
@@ -50,6 +49,7 @@
rnb4_api function getFiles(directory:String):void
{
+ txtAddrBar.text=directory;
rnb4_api::rqPath = directory;
rnb4_api::doCommand(rootURL + "rnaapi.php?action=ls&path=" + escape(directory),"",rnaapiFileCB);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|