I have Flex Builder 3 installed on two Windows machines and the same project on both of them. On one computer, the CSS styles I defined are shown in design view; on the other computer they are not applied. Is there any reason why it might not work on one?
Have you checked the preferences under Flex/Editors/Design Mode? That has a skin rendering option, could that be it?
Sometimes when I first switch to design view the CSS is not applied until I hit the refresh button.
The compiler probably uses by default the "Use the server's SDK" (Coldfusion??)
Right click the Project and select "Properties", select "Flex Compiler" and then select the correct SDK version. It has to be 3.x to be able to use the design view for CSS files.
Related
I would like to move modules via drag and drop as an admin. It would have to trigger those same "Move to X Pane" links? I saw this link that shows dragging and dropping modules as an admin for layout, but could not get it to work.
Am I missing something or is there an extension for this? I am trying this on the latest DNN 6.0 by the way. Thanks for any help.
Wow, that guided tour is super old. I believe it was DNN 5 where that behavior was changed to only work in layout mode. Once you switch into layout mode, you should be able to see the panes and drag the modules between them (by their titles).
What is the purpose of quick fix in Flash Builder 4? I have tried using it to auto create event listener functions, class methods or properties, local variables etc but none of these work. Does this functionality only exist in FDT? If so what does quick fix do in FB4?
For example:
myEventDispatcher.addEventListener(SomeEvent.EVENT_TYPE, myEventHandlerFunction);
Using FDT, I would highlight "myEventHandlerFunction", press CTRL+1 and a menu appears with several fix options, the first being create event listener "myEventHandlerFunction" in class "MyClass"
However in FB4 pressing CTRL+1 or even selecting quick fix from the right click menu doesn't do anything.
Yes, this is an FDT only Feature!
It's one of the biggest reasons for me to use FDT over any other tool. Quick Fixes rock!!
So I am pretty new to flex. I am developing an AIR application and I want to change my project theme to one of the additional included themes that is packaged with Flash Builder 4. So, I went to the Project Theme and changed it and it looks like it is supposed to in the Design View. When I run the application, the components (eg: a button) themselves look like it is supposed to, but the application's background is just white instead of the displayed color in the design view. Any ideas on how to fix this?
Does hitting the "refresh" button on the design tab solve the problem?
You might need to update the default background color in your compiler arguments.
I've got a Flex application that uses link buttons. As soon as I incorporated the link buttons (I assume) the Flex framework started putting history tracking elements below the app in the DOM. For example IE6-8 get an iframe element with id of ie_historyFrame, chrome/safari get a safari_rememberDiv and FF gets a firefox_anchorDiv.
Now, there would be no problem if these elements were hidden by the framework, but they're not. The sit underneath the Flex app (visually and in the DOM) and have a bunch of serialized history data.
I was wondering, is there a way to hide them through configuration or code? I know I could hide them via CSS but it just seems nasty that I'd have to use CSS for something that Flex is supposed to manage. I want the application to be site independent.
Cheers
Assuming that you're using Flex Builder, go into the project's properties under the "Flex Compiler" options and uncheck the "Enable integration with browser navigation" checkbox.
The answer by brd6644 worked for me. You have to recreate the files then export the application.
Put historyManagementEnabled="false" on <mx:Application> tag.
Are you using SWFAddress or something else of that nature? Flex doesn't have this functionality and LinkButtons don't make any ExternalInterface calls.
It seems that flex creates a history folder with a history.js and history.css file. History.js controls the history data and history.css - you guessed it - hides the history elements. So the solution is to just use the history.css file on pages with the flex app.
Why the developers did not make this configurable, i don't know....
I've just ported a Web service from Delphi.NET 2006 to Delphi Prism 2009 (running in the Visual Studio 2008 IDE). But I can't find where I'm supposed to set (or unset) the conditional compilation constants!
Am I blind, has this option been left out, or is it just not supported in VS?
[edit: thanks to Mohammed Nasman for the link] MSDN tells me to set them using the Project Designer. First, it took me a while to figure out that the Project menu is only visible when the Solution is selected (and not the web service project). Then, there's still no way to set conditional compilation constants in the Project Designer!
I just can't find a way to get to the Project Options in an ASP.NET project... Is it really not possible?
Delphi Prism uses VS How to: Declare Conditional Compilation Constants
And for Asp.net Conditional Compilation Constants and ASP.NET
If you right click on a project node (any project, not just Delphi Prism) in the solution explorer and then click on the Properties option in the context menu the project options tab-book should appear in the text editor pane. Click on the build tab, it should be the third tab down on the left hand side. The first text-box that appears on that page should be labelled "Conditional Compilation Symbols". It should already contain the symbols: "DEBUG;TRACE". You can add your own symbols there.
You can also get to the project properties tab-book by selecting the project node in the solution explorer and then clicking on the top-left hand toolbar button in solution explorer window.