This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// server static file | |
var fs = require('fs'), | |
http = require('http'); | |
var app= http.createServer(function (req, res) { | |
console.log(__dirname); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\af>ping samirapps.jit.su | |
Pinging samirapps.jit.su [165.225.130.237] with 32 bytes of data: | |
Reply from 165.225.130.237: bytes=32 time=154ms TTL=241 | |
Reply from 165.225.130.237: bytes=32 time=147ms TTL=241 | |
Reply from 165.225.130.237: bytes=32 time=169ms TTL=241 | |
Reply from 165.225.130.237: bytes=32 time=172ms TTL=241 | |
Ping statistics for 165.225.130.237: | |
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var glow:GlowFilter = new GlowFilter(0xdc2127, 1, 25, 25,8 ); | |
glow.inner = true; | |
glow.knockout = false; | |
var sh:Shape = new Shape(); | |
sh.graphics.beginFill(0xeeeeee); | |
sh.graphics.drawCircle(0, 0, 100); | |
sh.graphics.endFill(); | |
sh.x = 300; | |
sh.y = 300; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.clientside.compoents; | |
import com.clientside.board.Board; | |
import com.clientside.compoents.core.Component; | |
import com.clientside.main.Main; | |
import com.clientside.meters.Meter; | |
#if !html5 | |
import flash.display.MovieClip; | |
#end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Button extends ru.stablex.ui.widgets.Button | |
{ | |
public function new(aCaption:String) | |
{ | |
super(); | |
text = aCaption; | |
format.size = Utils.DPS(12); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myComponents:HBox= UIBuilder.get('myComponents').as(HBox); | |
myComponents.addChildAt(component, myComponents.getChildIndex(this)+1); | |
myComponents.removeChild(this); | |
myComponents.alignElements(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- root element for our UI --> | |
<Floating id="'root'" w="1000" heightPt="100" skin:Paint-color="0x000000" | |
on-resize=" | |
#screens.h = $this.h - #bottomMenu.h - #topMenu.h; | |
if( $Lib.current.stage.stageWidth < 320 || $Lib.current.stage.stageHeight < 480 ){ | |
var popup = $Main.alert({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Floating autoHeight="true" skin:Paint-border="20" skin:Paint-borderColor="0xFF0000" skin:Paint-color="0xff0000" align= "'left,top'" left="Utils.DPS(150)" top="Utils.DPS(150)" id="'propertiesInspector'" w="Main.InspectorWidth" > | |
<HBox id="'propertiesInspectorBar'" autoHeight="true" widthPt="100" skin:Paint-color="0x000000" align = "'left,middle'" > | |
<Text defaults="'Default,H2'" text="'Component Properties'" format-color = "0xffffff"/> | |
<Box right="Utils.DPS(5)" w="Utils.DPS(35)" h="Utils.DPS(30)" skin:Paint-color="0x00ff00" align="'middle'"> | |
<Bmp src="'ui/android/img/ico/dark/settings.png'" autoSize="true" on-click=" | |
var propertiesInspector:Floating = cast (UIBuilder.get('propertiesInspector'), Floating); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.clientside.ui; | |
import flash.events.Event; | |
import flash.events.MouseEvent; | |
import flash.Lib; | |
import ru.stablex.ui.events.ScrollEvent; | |
import ru.stablex.ui.events.WidgetEvent; | |
import ru.stablex.ui.widgets.Scroll; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.clientside.ui; | |
import com.clientside.Utils; | |
import ru.stablex.ui.widgets.ViewStack; | |
/** | |
* ... | |
* @author Samir Sabri | |
*/ | |
class PropertiesViewStack extends ViewStack |
OlderNewer