spark

Why not use SPARKAda?

Beyond some valid reasons not to use a new tool such as support of legacy code, no in-house SPARKAda knowledge base, why hasn't SPARKAda caught on? It seems like a very sound tool for many projects requiring high reliability, so I don't understand why its not so common. I would be more comfortable knowing that the avionics software that ...

Flex spark web browser problem

am using spark web in flex its working fine in IE6 where as in IE7 , Firefox, opera and other browser its not working. on login to spark web its giving error: Problem authenticating with the server or you are not authorised to perform this operation. Please help me out regarding this Thanks n regards Sheela ...

Integrating MVC Futures in Spark view engine without killing intellisense

I want to add MVC futures to my project and make the assembly available in my spark views however it's not accepting it whatsoever. I can use Microsoft.Web.Mvc fine from my classes (controllers/models etc) but they're just not showing up in .spark files. I cannot use <use assembly""/> since that kills my intellisense. And if i try to a...

ASP.NET MVC 2.0 Prev 1 and SPARK??

I am trying to upgrade the ASP.NET MVC 1.0 application to 2.0 preview 1. I am using the spark as view engine. issue: Spark used the System.Web.MVC 1.0.0.0 so I got the source code and recompiled using the 2.0.0.0 and used the new assembly. Now I am getting the different error as follows: Could not load file or assembly 'Microsoft.Web....

Adobe Air 1.5.2 and Flash Builder

Recently I'm working on some air stuff, and I am using Flash Builder and latest Nightly build SDK in order to compile my application ( I even used stable version before this stage ), but when ever I export the final air file from the Flash Builder, the air file giving me this error message : The application could not be installed becaus...

Disable Flex CSS type selector warning?

I'm building a somewhat large Flex project that includes several modules (a single Flex project that produces multiple SWFs) Right now, I have a single css file, being loaded in the main SWF tag: <s:Application ... > <fx:Style source="css/main.css" /> ... </s:Application> In the CSS file: /* CSS file */ @namespace s "library://n...

Global States in Flex 4

Flex 4 introduces states that are localized within a skin, and within a component. This makes sense on an MVC model, so the visual elements can have their own states (i.e. for a button: up, down, over, etc.) which are separate from a component's state. Yet, how would one go about making a global application state? Is there something alre...

Animating child elements in Flex 4

Anyone know how to animate the size/position of child elements of a layout in Flex 4 ? Example: I have a list component with a custom layout. I want when I change the positions of the child elements I want them to animate their move to the new positions. ...

Using Spark View Engine in a stand alone application

My client application needs to generate HTML. I'd like to use a template/view engine solution like Spark, but I'm not sure whether Spark can be used outside of an ASP.NET application. Does anyone know of any samples or documentation about using Spark in this way? (If you know of other view engine solutions that can be used stand-alone, ...

Scroll to selected item in Flex 4 Spark List component

I'm setting selected element in s:List component with Actionscript, it works, but List doesn't scroll to selected item -- need to scroll with scrollbar or mouse. Is it possible to auto-scroll to selected item ? Thanks ! ...

spark view engine Precompilation and extension methods

In our web project we have added Extension methods in a folder \Code\Extensions\DateTimeExtension.cs containing an extension method called FromUtcToUserTimeZone() We use the spark view engine in asp.net mvc and want it to work on medium trust there for we need to make a pre compilation of the views. When the post build event runs I...

Flex 4 Remote Object Method Question

I post this previously in Adobe Forum but haven't got any answers so far. How do I do this in Flex 4? <mx:RemoteObject id="srv" destination="product" channelSet="{channelSet}" fault="faultHandler(event)"> <mx:method name="getProducts" result="getProducts_resultHandler(event)"/> </mx:RemoteObject> I got Could not resolve <s:...

Getting at ViewData.Model from spark template post

I am trying to convert my spark views to use ViewData.Model instead of the namevaluecollection so that I can use AutoMapper to map my dto's to entities before it gets into my action method. I can access the viewdata.model from the view, but upon posting back the data, viewdata.model is null. here is some sample code: in my view: <view...

Is is Possible to Use a Master Layout when using Spark in the form of the Direct Usage Example

Is is possible to use a master layout when using Spark in the form of the Direct Usage Sample? I have tried using both in my layout with my master layout in the same folder as the calling layout and I have also tried adding the master layout as a template to the SparkViewDescriptor in the code below? public class DefaultMessag...

Cannot use fluent html lambda expressions in Spark view

I'm attempting to use fluent html and the spark view engine in my asp.net mvc application. I've assinged the proper base class, added the assemblies, and when i do this.TextBox("MyProperty") it works fine. However I get the below exception when i attempt to use this.TextBox(m=>m.MyProperty). Any idea what can be causing this? Exception...

Restrict MouseEvents to Mask in Flex Skin?

I have a ButtonSkin (Flex 4 Skin) with a Rect, a Label, and a Group, the Group masking the Rect. On rollOver, I animate the Label's x to this.width, and on rollOut, back to the original position. The problem is, when I rollOut, if I roll to the right (where the label is hiding behind the mask), it doesn't register rollOut, until I go p...

[Flex] How to get the viewport element index

I use flex4 list: <component:SmoothScrollingList x="200" y="180" dataProvider="{myProvider}" itemRenderer="myitemdrender.FriendPageItemRender" id="friendPageList" mouseDown="friendPageList_mouseDownHandler(event)"> <component:layout> <s:HorizontalLayout requestedColumnC...

Whats the itemChangeEffect equivalent in Spark List?

In flex 3, with List component, you could add an effect to the itemChangeEffect property, allowing you to animate the addition/removal of the items in the list control. The equiv in the spark list appears to be the rendererAdd and Removed events, but this doesn't allow complete control over the effect, since removal is done as soon as t...

How to stop Spark View Engine HTML encoding?

Even with the following in spark section of web.config: <pages automaticEncoding="false"> Things between ${...} Still get passed through H(...), which HTML encodes it. How change this or should I just fall back to !{...}? ...

Spark Mvc2 RC layout issue

I got Application.spark and home.spark views. If layout has: <span><use content="view" /></span> And home has: #RenderPartial("partial") And partial has: <div>test</div> Then rendered output will be: <div>test</div><span></span> Any ideas what's wrong? Using this spark version with updated System.Web.Mvc assembly. ...