Basit Ali’s Blog

Silverlight 4 (Microsoft Releases Next version)

Posted by: sharephobia on: November 18, 2009

Silverlight 4 is here guyz, today at PDC microsoft announces to release it’s next version of Silverlight which will also available to download now. Microsoft really works hard they release Sl 3 final and Sl4 beta in same year heads off to microsoft. Silverlight 4 is full of exciting features like webcam, microphone, Printing support etc.. here u will get full list of features supported in Silverlight 4.

Apply Style Dynamically in Silverlight

Posted by: sharephobia on: November 13, 2009

We are going from a long thread about applying styles dynamically in silverlight finally we have got with a solution which is pretty much simple.

First create a style Object.

Style MyButtonStyle = (Style)this.Resources["StyleKey"];

you can assign this style to objects with in XAML Markp-up as well as created dynamically.

button.style = MyButtonStyle;

Thnx…

Drag Child Popup with it’s Parent Popup.

Posted by: sharephobia on: June 28, 2009

“First we have to understand the Parent child relation among multiple windows, from where popup will

Opened that window will always act like a parent for that Popup in case if I further open Popup with in a Popup now old Popup is parent for this new Popup, by using Parent child relationship among window I can do a lot of stuff like what we r going to do now is to when I drag “

Here u will get how far is your parent popup from screen in both directions using this script .

var windowTop = document.all ? window.screenTop : window.screenY;

var windowLeft = document.all ? window.screenLeft : window.screenX;

Now from your Parent Popup target Your child , so we have to make a function.

child = window.open(“smaple.aspx”, “Title”,”location=0,status=0,scrollbars=0,width=400,height=500″);

function dragChild() {

var windowTop = document.all ? window.screenTop : window.screenY;

var windowLeft = document.all ? window.screenLeft : window.screenX;

if (childWin != null) {

childWin.moveTo(PlayerLeft + 400 + 10, PlayerTop + 10);

}

}

Here childWin is a refrence to popup that we create above what we are doing above is that we get screenLeft and screenTop of Parent window and assign it to it’s child window with addition of Parent window width(400) and some margins.

Tricky part : “we have to check parent window Position at every moment and assign it to popup” our final code will be;

<script type=”text/javascrpt”>

childWin = window.open(“smaple.aspx”, “Title”,”location=0,status=0,scrollbars=0,width=400,height=500″);

var timer = setInterval(‘dragchild’,1);

function dragChild() {

var windowTop = document.all ? window.screenTop : window.screenY;

var windowLeft = document.all ? window.screenLeft : window.screenX;

if (childWin != null) {

childWin.moveTo(windowLeft + 400 + 10, windowTop + 10);

}

}

</script>

Be happy coding….

Adobe Premier CS4

Posted by: sharephobia on: April 16, 2009

Hey gies this is the Product which i am going to die for using it, Adobe Premiere CS4 , Adobe Premiere Cs4 comes with very cool new features some of them are un-believable

AdobePremiere userInterface

AdobePremiere userInterface

Seach with in a video , now u can can search ur spoken text/Dialogues with in a video with this cool Application. Thnx to Adobe for their dedication of work and reasearch.

According to Adobe ! Speech Search new
Turn spoken dialogue into text-based, timecode-accurate, searchable metadata. Jump to a specific area of a shot by searching for keywords within the dialogue, and then use keywords to quickly locate and display what you’re looking for — or even cut video based on the script.

more u can find Here

Gift for my blog readres.

Posted by: sharephobia on: January 14, 2009

This beautyfull wallpaper is specially for my blog readers, i designed it my self tomorrow night for u guys, there is a greeting message in the middle of star. I have a offer for my readers the first five friends comment on this post i will specially put their names on star if they want . keep enjoying life..

greetings,welcome

greetings,welcome

Invite for Open handed friendship

Posted by: sharephobia on: January 13, 2009

Hi,
Hello to everyone i just started blogging i really thinking for blogging about several months ago but…., Ok a little intro about me I’m a professional graphics/web designer worked on several projects and now a days for almost past 1year i started working on microsoft’s new technology silverlight(http://create-silverlight.blogspot.com/), pretty much cool experience working on silverlight. i believe in friendship coz of “If you have one true friend, you have more than your share. ~Thomas Fuller~” so plz treat me as ur new firend ..


  • None
  • Fasih Hansmukh: Good to see you online buddy, i wish you all the best here on NET and pray that you will grow fast and strong here in IT field. Happy designing...
  • angel: hey it just fantastic...
  • Hansmukh: Cool...well done basit..well i cant help saying "wow" aftre seeing this.. keep up the good work budy..chill...

Categories