Expression > Gallery > Behaviors > Behaviors from MIX'09
Express yourself! Share your work with other members of the Expression Community.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.

Behaviors from MIX'09

Average Rating:  (11)
Description
Discussions (4)
  • Awsome
    7 Posts | Last Post: October 04, 2009
    • these are reaaallly cool :) really interesting to look at the source (hoping its included) for these :)
    • Has anybody looked at converting the physics stuff to wpf? Just so that one doesn´t spend any unecessary time on it?
    • Can anyone let me know where the .dll files are, I'm trying to have a play with the physics but can't find any references.
    • there arent any dlls by default, you need to build the solution to get them :)
    • I try to build the solution, but get errors, Looking for DLLs that aren't there?
    • Hi all...,

      The last post by JJ86 on June 4 indicates that 'building' the solution produces errors and still no DLL's appear. (actually kind of wondering where they'd appear). I'm experiencing the same behavior. Does anyone have a fix to this issue ? Thanks in advance. - DDO
    • Hi I'm having the same problem. I've tried a number of behavior installs the only thing I can get to work are on codeplex. http://social.expression.microsoft.com/Forums/en-US/blend/thread/adbe0493-cffc-4452-92af-1fb668bde569

      Not sure where I'm going wrong?
  • Help on gettng the sample behaviors in blend 3
    1 Posts | Last Post: August 14, 2009
    • Hi, i'm new to the expression blend world..and
      I am having a trouble with installing(?) the behaviors downloaded from here.. Acturally I downloaded the installing version from CodePlex at http://expressionblend.codeplex.com/

      What I try to do is getting all the sample behaviors, such as MouseGestureTrigger, in asset library window of blend 3 so that i can use it for my own project

      I've installed the sample at the default directory({program files}\Microsoft Expression\Blend 3 Samples)

      and run the 'blend 3' but couldn't get the behaviors from the asset>behaviors' list.

      How can I get those great behaviors and use it within the project that I created my own??

      As matter fact, I've tried a few other way that seemed to solve the problem partially..

      I copied all the .dll files in the 'Blend 3 Samples' folder under '{program files}\Microsoft Expression\Blend 3\Libraries' folder, and after I've done that, it seemed like the problem was solved..
      however, I checked the list of behaviors from the asset window in blend 3, Not all the behaviors were listed in it.

      I'm not sure it's supposed to be that way..or can be found in other places.. but.. behaviors that have the word 'trigger' such as 'MouseGestureTrigger', 'MouseEventTrigger', 'StateChangedTrigger', etc were not shown in the list...

      How can I get it work~? I'll be really appriciated if anyone can help on this.

      oh..by the way, I am currently using Blend 3 trial..I don't know if that can cause the problem..

      Thanks.
  • Thanks
    14 Posts | Last Post: April 22, 2009
    • Thanks Pete, great post specially the physics behaviors.

    • Hello,

      I was trying to do the Guesture event to go to next state, but in properties i am getting gesturePointList, i think the editor is found in interactivity.Desgin project but how can i link them together.

      BR
    • This is fantastic. Thanks. Can't wait to see some of the samples. Your demo at Mix09 was great.

      Cheers

      Tex
    • Correct, the editor is contained in the Interactivity.Design file. In order for Blend or VS to pick up the design-time extensibility files they either need to reside beside the assembly or in a sub-directory named 'Design' which is beside the DLL.

      You can also make these always appear in Blend's asset tool by using the new asset tool registration that we added for Blend 3- just add a new registry key:
      HKEY_CURRENT_USER\Software\Microsoft\Expression\Blend\v3.0\Toolbox\Silverlight\v3.0\Expression.Samples

      And make the default value be the name of the directory where this project outputs to.

      For example, on my machine this looks like:
      [HKEY_CURRENT_USER\Software\Microsoft\Expression\Blend\v3.0\Toolbox\Silverlight\v3.0\Expression.Samples]
      @="C:\\Code\\Expression.Samples\\bin\\Debug"

      I originally had this done as a post-build step in the project, but some other folks felt that it was too intrusive so I removed it :(

    • FYI if you have trouble finding Microsoft.Expression.Interactivity like I did. It's located here: C:\Program Files\Microsoft Expression\Blend 3 Preview\Libraries\Silverlight
    • FYI if you have trouble finding Microsoft.Expression.Interactivity like I did. It's located here: C:\Program Files\Microsoft Expression\Blend 3 Preview\Libraries\Silverlight
    • Hello Pete,

      I was not able to fix that for my self, i did the registery Key but it didn't show, In the registory i only got [HKEY_CURRENT_USER\Software\Microsoft\Expression\Blend\] so i created the other keys. but nothing happened,

      Can you please post for us the post-build , so that we can add it ourself better for other solutions also ;)

      Thanks
    • thanks, great fun! How can we make this work in WPF?
    • For WPF support, I have most of these in one form or another in WPF (all of the physics stuff started in WPF), I just haven't had the time to package them together into a decent sample like I did here. It's on my list to do though :)

      For a post-build step to automatically register the project in Blend's asset tool, I use:
      reg add HKCU\SOFTWARE\Microsoft\Expression\Blend\v3.0\Toolbox\Silverlight\v3.0\Expression.Samples /ve /t REG_SZ /f /d "$(ProjectDir)$(OutDir)\"

      (just put that in the Post-Build event under Build events in the project properties in VS. It took me a little while to get this right because of whitespace issues and escaping characters, etc :)

      Once you do this, it'll take a couple moments for the assets to appear in the asset tool when you first open it in Blend- we're loading them up on a background thread to maintain performance.

    • Hello Pete,

      Still i couldn't fix that , i got couple of questions

      1- Should i add the post build command to the Silverlight project Expression.Sample.TestApp or to the Expression.Samples.Phys.

      2- I found that all the projects in the solution output into ../Bin/Debug should we also output the silverlight project there or what , as right now the desgin dll is not added to sliverlight TestApp website.

      3- In the command reg add HKCU\SOFTWARE\Microsoft\Expression\Blend\v3.0\Toolbox\Silverlight\v3.0\Expression.Samples /ve /t REG_SZ /f /d "$(ProjectDir)$(OutDir)\"
      at the end Expression.Samples Key , is that related to the name of the Project.

      Thanks
    • Hi.

      I wanted to say a huge thank you for these behaviours, Blend 3 looks like it will fix every bug I found in 2 and then improve on everything else. I'm properly excited.

      Now I must do more work, and possibly include the physics system. :)

      Cheers.
    • @TJEby, I should have read and registered that before I posted, fixed my problem. Would anyone have any issues if I hosted the dll's for people to download as browsing the web loads of people are having issues.
    • emptythetill - it would be better if you did not post the DLL for download the directly. The reason is that the DLL in the Program Files directory will probably be updated in our upcoming releases to partly take into account a lot of the feedback people have provided, and I cannot guarantee that upcoming Blend 3 releases will work with the behaviors DLL that you have today.

      We will officially provide a download link on ms.com for the Behaviors DLL once it is ready though :)
    • Hi, Pete.

      Saw your mix video - looked fantastic. :)

      I downloard this to start playing with this myself and I'm getting missing type or namespace errors such as "'Expression' does not exist within namespace Microsoft"
      when I try to run this in Expression Blend 3 or VS2008.

      Is there another DLL or file I need to reference?

      Thanks
  • Assertion Failures
    2 Posts | Last Post: March 29, 2009
    • Hello.

      I have these behavious working, but am getting errors if I try to apply them to more than one object. I get assertion errors and no debugger can be found. IE8 then crashed. I have the SL3 tools installed.

      If anyone has these working could somebody please post a sample project?

      Regards, E.
    • If anyone else gets this error a simple IE8 update and reinstalling the SL3 tools after IE8 fixes the issue.