Facing Blend

Ariel Leroux's Design Blog

Posts Tagged ‘ Expression Blend ’

The last few days, there have been more visitors looking for answers as to how to make a design exception “go away” without having to run the project.

The solution to this is just simply to build your project (ctrl+shift+b).  If you’d prefer to do it via the menu strip, click on Project->Build Project.  You can also do a rebuild.

Now why would this occur?  You might have a custom control instantiated into another xaml file, or development which has been updated that changes the visual elements, and sometimes you’re like me, applying something, and its just not showing.  Heck, 2 days ago, I spent at least 5 hours banging my head up against a wall because I couldn’t get a custom control to actually show in the design view, there weren’t any exceptions either.  It just wasn’t there.

I got to the point where I decided that perhaps I’d forgotten a step, so I popped into MSDN and started going through “Try It” sections.

… I discovered that all I needed to do was to rebuild, everything else that I was doing was correct.  I rebuilt the project and vwalla – there it was. 

 Hopefuly I learned that lesson well enough to not encounter this particular “issue” again. 

I hope this helps others who encounter the exception issues as well!

Popularity: 1% [?]

twitterbirdLately, I’ve been somewhat caught by the fun of creating a unique twitter bird for every project that I do which has twitter feeds.  Twitter birds, can anyone think of anything more fun?

Ok, I’m sure you can, but I decided to kick off my tutorial section of FacingBlend with a fun and easy to create twitter bird done within Expression Blend 3.

Please click on the “More” below to view the entire tutorial

[More]

Popularity: 8% [?]

I’ve been so caught up in what I’ve been working on that I’ve not really stopped to post much about my experiences with this newly released preview of the Expression Blend series.

Blend 3 has a whole lot of new shiny features.  From the ability to see where the gradient stops are right ON the object itself as well as the ability to move them actively on that object, to the 3-axis 2.5D manipulation of objects for Silveright 3 – this new release to Blend is definitely one that’ll set someone off balance for a while to get used to the newer product.

There are 2 new features that I’d like to dedicate this post to.  The ability to have blend directly consume Photoshop and Illustrator files.

I’ll start with photoshop and its importability.  In some cases, I’ll pop into Photoshop for its flexibility and quickly design an interface or graphic.  Blend still has a quirk where paths are being manipulated that drives me to having a litter of kittens, so I’ll sometimes do my pathing in photoshop or illustrator, depending on what else I’ll be doing with the comp.

Well I recently had a project where I did just that – for Something Spacial.  I created the comp in photoshop and decided to use the blend Import tool for Photoshop Documents (PSD) and though it was nice to get a head-start in laying everything out in blend – it still didn’t give enough of one.  I ended up needing to create many of my pathed elements new because they didn’t quite import retaining the integrety of the object into blend.  My gradients were missing, the paths were disjointed, and did I mention my gradients?

There was a lot of work put in and I think I would have spent less time had I just created it all from scratch.  I do like that they’ve added the feature, but I think that the story of most software releases with new features applies – the first release isn’t always the best release.  I’ll be optimistic and say that they’ve gotten quite a great feature started, and I can’t wait for the next itteration or two where the full features are realized and implemented as well as honed to near perfection.

The illustrator file import tool I haven’t had as much real-time experience with and part of it is that I’ve been reluctant.  I already have a really nice plugin created that can export my illustrator files, maintaining full integrety of the object, and directly porting it into xaml.  It works well, a little messy on the XAML side, so I’ve had to clean that up a bit, but otherwise, everything maintained full design integrity.  So why risk it by using the import tool?

Once I get the latest SDK pack for Silverlight 3 installed, I’ll blog about the illustrator import.

Popularity: 1% [?]

FacingBlend’s Silverlight page is LIVE!

Click here to view

Since yesterday, I’ve had several emails asking questions regarding this release, so I thought I’d share a bit.

Most websites that I’ve seen around which had displays of Silverlight use weren’t as artistic as I thought a site could be.  Expression Blend is a very powerful tool, and like most tools, if you really play with it, you can find that you can do almost anything if you just play with it long enough and tailor things to fit what you want, but… I’m not seeing that being done!

So I wanted to create a silverlight website that really pushed hard and heavy on the “pretty” side.  I wanted it to use my favorite color, green ( no relation to the current popularity with “going green” ), but still have a little “windows vista /7″ glassy watery look/ feel for the background.  The centerfocus on the site isn’t really the content, its on the background which is done entirely in XAML.

That’s right – the pretty thing that appears to be raster based, is 100% xaml.

Now, I wasn’t really going for a “portfolio” either – this is my personal website.  My play-thing over the web, so I stayed away from the typical “portfolio” feel.  I’m having fun here.  I feel like I’m playing when I’m working in Expression Blend, and I really wanted that to show in the design.  I think my absolute favorite part is a little geeky.  Even the icons are done in Xaml and I think there’s just something awesome about that.

The Toybox itself was what pulled back my timeline a bit.  What to put in there?  What to NOT put in there and how the heck do I want to organize it?

Well, I kept not having time to work on this and it sat on a back burner not  being worked on for months.  I seriously had this nearly done back in December of 08, but I got stuck working on a few other things and having a blast with my family and helping out with a logo for the company, Seovian (which you can find in my galleries here on my blog).

I then was pushed by 2 different projects that I’m working with to upgrade to Silverlight 3 and with that, I forced everything aside, brought Facing Blend in Silverlight back into the forefront and finished the entire Toybox in 3 days(in my spare time).

I still look at this stuff and have to remind myself that I actually did this, all on my own, that I’m not looking at someone else’s work.  I still can’t believe how much I’ve learned in such a short amount of time.  Maybe it’ll sink in a few years from now, but until then, I keep getting deeply involved in design work and when I come “out of it” and look at the whole picture, I am impressing even myself.  2 years ago, I wouldn’t have dreamed that I could do what I just released.  It just blows my mind.

Popularity: 1% [?]

I’ve come to the conclusion that this will likely never go away.  The more I work in Expression Blend, the stronger the case of disorientation is when I come back to photoshop to do a quick mockup of something and I figured that there would likely be a time where I would go between the two and seeing as how I know what to do once the application is open based on its UI, that I’d recall the differences w/o issue as though it were all muscle memory.

However, the similarities of controls and manipulation are just so similar that every time I switch between the two, it takes a moment for the change to click.

For instance – shapes – aka vector objects.  Photoshop has vector objects – they’re not as easy to manipulate after they’ve been placed in a layer as they would be if I were in illustrator or blend, but they do have them in photoshop and I use them more than I think any other tool in photoshop.  It helps that I’ve lately been using photoshop to do mockups of things that will translate to Expression Blend… but there-in lies the problem.

So an example: In photoshop, I have a circle, I need place it and its not quite right.  So I scale it… but oh yeah, I need to approve the append in photoshop.  In blend, I make the change and its much more like illustrator.  It just is – its done.  Changed.

Gradients – I’ve come to very VERY much enjoy the flexibility of hand manipulating direction and well.. every characteristic of a gradient.  I’d like to toot my own horn and say that I’ve actually gotten pretty damn good at it.  In photoshop, its all raster based.  So its… seriously different.  Sure – a whole lot more can be done, but I also find limitations to the power of the rastering in photoshop.

So yeah – anyway.  I think I’ve officially determined that I will likely never get over that first 5 minutes of “oh yeah, that’s right, I’m not working in ___”

Oh - and just for the heck of it because I’ve gone a different direction, below is a screenshot of a flower recreated using gradients in blend – next to the example flower which is a photograph of a real flower.

XAML vs of an orange lillie

XAML vs of an orange lillie

Popularity: 1% [?]

I tweeted about this earlier this week, but I felt it warranted an actual blog.

This tool – I’ve completely overlooked for all of this time.  Usually, I can recreate a gradient fairly accurately if not dead-on the original.  But uhm… I don’t have to!  But I didn’t know that.  I was recreating a real flower’s color variations and on occasion I’d click the eyedropper to obtain a color from the original but it wouldn’t actually apply the color!  Well I finally got a bit frustrated with this and sat back for a moment and then I noticed it.  There were 2 droppers.

2?!

Hover mouse over each.  The first was what I expected.  A normal eye dropper.  The second… a what?  A “Gradient Dropper?!  Wait – does that mean what I think it means?!”

So I gave it a guess as to how to use it.  I clicked on one spot, held the mouse down, dragged my mouse over to another desgination and… OMG!  An automaticallyish gradient created!

This is awesome.  So for those of you who are trying to figure out what the heck I’m talking about – where oh where would this thing be located – look to the lovely screenshot to the side with all of the spiffy arrows.

Popularity: 1% [?]

Last week’s SeattleD2ig meeting I became the proud new owner of a shiny new box filled with Expression goodness – the MS Expression Studio is MINE!

Uninstall my previews, verify that I did in fact install .net 3.5 SP1 as remembered, and then install the new shiny MS Expression Blend w/ key and all.

OOoohh… but its Blend 2.0.  Can’t do Silverlight.  Shoot.

So I download the Service Pack for Blend 2, and commense installation to see this lovely gem after accepting the TOS:

Windows Installer returned error code 1605

Windows Installer returned error code 1605

I’ll post if/when I discover how to get past this issue. I’m beginning to feel that if there are any bumps to be experienced on a roadway where it comes to working with Blend or anything related, I’m bound to find them.

Ugh.

 

Update: I discovered the cause of my issue.  The version which is in the MS Expression Studio was Expression Blend v. 1   Not Blend 2.

Uninstalling the version from the box, installed one from the MSDN website and applied the key from the box then tried to run the SP1 installation update: Lovely lovely installation success.

Popularity: 1% [?]

The most recent group meeting with the Seattle Developer / Designer Interaction group was great – I think one of the most fun that we’ve had so far.

One of those attending was development Evangelist, Mithun Dhar, who mentioned to us the 2 upcoming XamlFest training events occuring next month.

I can’t help myself – 2 days of uninturupted training and colaboration with others who are interested in development and design working in WPF and Silverlight?

My email has been sent in to RSVP a spot – especially w/ mention that there are only 50 seats available!

Ok, so if you’re visiting and interested as well, here are a few links with information:

http://blogs.msdn.com/usisvde/archive/2009/01/22/designers-developers-ramp-up-with-februrary-xamlfest-events-across-the-usa.aspx

http://blogs.msdn.com/MithunD/

The skinny that you’ll find there is this:

Redmond & Portland both are hosts to XamlFest in the Pacific Northwest.  There are other areas that have these events as well, but I’m just going to talk about the 2 which are close to my home.  The Redmond, Washington one is the 16th and 17th (Monday and Tuesday) of February, and Portland, Oregon one is on the 19th and the 20th (Thursday and Friday).

If you wish to join, RSVP asap – seating is limited and I mean quite limited. 

The email addresses are fairly obvious which is for which, so I’m going to just list them both below:

xamlfest-redmond@live.com

xamlfest-portland@live.com

All who attend will obtain a copy of Expression Studio and Visual Studio 2008 Pro.

Popularity: 1% [?]

Here is a quick tip.

There is a feature which in some occasions is very very useful. Say for instance, every item needs to be exactly spaced apart by an exact measurement no matter what? Good for consistency.

But sometimes you need to work with things in a manner which feels like photoshop’s layers where you have multiple layers – sometimes in the double or tripple digits, which make up a single “entity” (ever created an icon for a pencil?)

Well the snap to snaplines can make someone like me want to throw something at my screen, hoping that it’ll get to the program!

The solution? Turn off snap to snaplines – or set its snaplines meter down.

You can find this under Tools –> Options. Going to the options brings up the options window. Locate on the left the submenu Artboard.

Modify to suite your needs.

Popularity: 1% [?]

I’m going through chapter 11 of Victor Gaudioso’s book on Expression Blend 2, and he is stepping his readers through the creation of a glassy button.

I’ll summarize what we’ve done so far.

First, we created a rectangle with beveled edges.  He directs his readers to use the visual controls to create the curve.  I prefer to have a bit more control over it, and so I enter into the properties pane in the RadiusX and RadiusY.  Either way works.

He then instructs the readers to duplication this – or in Blend 2 terminology, its a simple copy-paste (Photoshop!  Get out of my brain!), shrink the size of the rectangle, set both gradient stops to white (#FFFFFFFF) then turn the right-most gradient stop’s Alpha channel to 0%.

I’ve seen people do this in 3 ways.  Either by clicking and moving the mouse up/down or left/right (its somewhat like a dial – click and drag will increase or decrease the percentage), type directly in the 100% field to the prefered modifier, or by programming it directly in the color code.

A bit on that last option, you may notice that the color code has 2 more characters than usual.  I promise, that is not a typo.  The addition of the 2 are specifically related to the Alpha chanel, and those are placed as the first 2.  Most colors will remain solid.  So if you’re modifying color hex by hand, just pay attention to the last 6 and ignore the first 2.  If you’re wanting to adjust the alpha and change it to 0%, just replace the first to FFs with zeroes.  The result will be this: #00FFFFFF

This will often help when you’re neck-deep in XAML and don’t want to switch to design view.

The last thing I wanted to mention was the use of the white gradient – to – 0% alpha.  This is a commonly used thing for designers who work in photoshop or illustrator with one exception – the “layers” are exactly the opposite.  Instead of the top item being “on top” its more like painting – you start with the backing and for each additional color, you add to the existing one.  I had to “reprogram” the way I thought about these orders and because I move between photoshop and blend, it continues to throw me off.

In blend, the bottom-most object is the one in the forefront.

So the shiny button, I’ve described the first 2 layers – the base gradient, and the shine which has been shrunk and has had half of the gradient modified to being transparent.  The 3rd step is to take the resized 2nd layer, duplicate it (copy-paste) and then flip it.

Victor (the author) has you go into the properties pane to the bottom and transform it by rotating by 360º.  I prefer using the last tab which will exactly flip it either vertical or horizontal.  This being so similar to a tool that I use QUITE frequently in photoshop – this is much more comfortable for me to use than a full 360º rotation.  From there, you just need to hit the down arrow a few times to make this 3rd rectangle closer to the bottom.

The result is something like this:

Not too bad – working with Blend is really not all that different than working with Illustrator or Photoshop, but the differences can be tough to overcome at first.  Blend is a whole lot more like Illustrator than photoshop in the matter that you’re dealing with vector based images and can modify things like the bevel radius on the fly – after its been put onto the canvas.  In photoshop, its not really much trouble, but you do often end up having to just delete a layer or an object and add it back on if the radius on a vector(path) based image isn’t quite right.

Popularity: 72% [?]