Re: [flexcoders] Re: custom application preloaders

2010-01-12 Thread Joel Stransky
Heh, I've Lee's video but totally missed the fact that is was an app
preloader. I thought it was just any old progress bar. That's definitely the
ticket. Thanks.

On Mon, Jan 11, 2010 at 4:07 PM, valdhor valdhorli...@embarqmail.comwrote:



 Here's a few I had bookmarked (Although I haven't had the time to do my own
 yet):


 http://jessewarden.com/2007/07/making-a-cooler-preloader-in-flex-part-1-of-3.html

 http://www.pathf.com/blogs/2008/08/custom-flex-3-lightweight-preloader-with-source-code/#more-1101
 http://www.gotoandlearn.com/play?id=108

 http://www.flashmagazine.com/Tutorials/detail/how_to_make_a_custom_as3_preloader/


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Joel
 Stransky stranskydes...@... wrote:
 
  Just wanted to check with you guys before I wasted any time following
  obsolete tutorials.
  I want to replace the default app preloader with preferable a .swc of my
 own
  creation.
  The best tut I can find is this one from Flex 2 circa 2006.
  http://www.onflex.org/ted/2006/07/flex-2-custom-preloaders.php
 
  There's got to be an easier way by now. Got any good links?
 
  --
  --Joel Stransky
  stranskydesign.com
 

  




-- 
--Joel Stransky
stranskydesign.com


[flexcoders] custom application preloaders

2010-01-11 Thread Joel Stransky
Just wanted to check with you guys before I wasted any time following
obsolete tutorials.
I want to replace the default app preloader with preferable a .swc of my own
creation.
The best tut I can find is this one from Flex 2 circa 2006.
http://www.onflex.org/ted/2006/07/flex-2-custom-preloaders.php

There's got to be an easier way by now. Got any good links?

-- 
--Joel Stransky
stranskydesign.com


Re: [flexcoders] Re: Flex Builder 3 Pro project preferences bug

2010-01-06 Thread Joel Stransky
Bingo! That was it!
The applications node must have an entry.

*Wrong*
applications/

*Right*
applications
  application path=MyApp.mxml /
/applications

Thanks a ton. That was driving me nuts.

On Wed, Jan 6, 2010 at 8:41 AM, valdhor valdhorli...@embarqmail.com wrote:



 Have you tried deleting the .project and .actionScriptProperties files in
 the project folder? How about the .settings folder?

 The compiler settings are saved to the .actionScriptProperties file. It is
 an XML file so you can try opening it in your favorite text editor. Check to
 see if the XML is valid. Make sure that when you save it the OS or the app
 has not added a hidden extension (eg. like .txt) to the file name.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Joel
 Stransky stranskydes...@... wrote:
 
  I'm having the strangest issue with Flex Builder project properties.
  If I right click on a project and choose properties, every section allows
 me
  to make changes except for Flex Compiler. When I choose that section, the
  'Apply' and 'OK' buttons dim out. Even if I don't change anything,
 choosing
  another section pops up an error box entitled Could Not Accept Changes
  with the message, The Currently displayed page contains invalid values
 
  I've tried uninstalling/reinstalling Flex Builder 3 both with and without
  removal of the settings file. I tried repairing permissions in Disk
 Utility
  but nothing works.
 
  Has anyone seen anything like this?
 
  specs:
  Mac OS X 10.6.2
  Flex Builder 3 Professional [stand alone] (build 3.0.2.214193)
 
  --
  --Joel Stransky
  stranskydesign.com
 

  




-- 
--Joel Stransky
stranskydesign.com


[flexcoders] Flex Builder 3 Pro project preferences bug

2010-01-05 Thread Joel Stransky
I'm having the strangest issue with Flex Builder project properties.
If I right click on a project and choose properties, every section allows me
to make changes except for Flex Compiler. When I choose that section, the
'Apply' and 'OK' buttons dim out. Even if I don't change anything, choosing
another section pops up an error box entitled Could Not Accept Changes
with the message, The Currently displayed page contains invalid values

I've tried uninstalling/reinstalling Flex Builder 3 both with and without
removal of the settings file. I tried repairing permissions in Disk Utility
but nothing works.

Has anyone seen anything like this?

specs:
Mac OS X 10.6.2
Flex Builder 3 Professional [stand alone] (build 3.0.2.214193)

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] line breaks in htmlText

2009-12-23 Thread Joel Stransky
Ok, htmlText seems to be even worse in Flex and I didn't think it could be
much worse.

I'm trying to render a simple piece of html that consists of an image, a
line break and two paragraphs but no matter what I do, the first line of
text insists in filling in on starting next to the image instead of below
it.

Are br tags completely ignored. Do I have to style a p tag? Is
condenseWhite even recommended? What gives?

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] css reset

2009-12-11 Thread Joel Stransky
Are there any popular css reset files out there similar to the YUI xhtml
resets?

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] font-face not cascading throughout app

2009-12-11 Thread Joel Stransky
I wanted to change the default font throughout my flex app so I simply
embeded the font using @font-face in a .css file and then using the
Application type selector, set its fontFamily to my chosen name like so:

@font-face
{
src: url(../fonts/HelveticaCondensed.ttf);
fontFamily: HelveticaCnd;
}

Application
{
fontFamily:HelveticaCnd;
}

Which works pretty well except for on components. For instance my TabBar
defaults to Times for some reason as does a CombBox and ToggleButtonBar. The
drop down elements on the combobox are using the correct font but the main
element is Times.

Any thoughts?

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] Using custom subclasses as children of larger components

2009-11-25 Thread Joel Stransky
Is there way to tell a TabBar component to use custom subclass of Button for
each of its tabs?

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] Using dropShadows in selectedUp style

2009-11-24 Thread Joel Stransky
I have a TabBar that I want to apply a drop shadow to the TEXT LABEL of the
selected tab. How on earth do I do this?

I'm in my 'I hate flex mode right now.

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] TabNavigator stacking order

2009-11-23 Thread Joel Stransky
By default, a TabNavigator adds its TabBar on top of the viewstack. Is there
a way to force it to draw it underneath the subcontainers?

-- 
--Joel Stransky
stranskydesign.com


Re: [flexcoders] Re: combining multiple styles

2009-11-20 Thread Joel Stransky
Thanks Mitch,
You're showing multiple selectors where I wanted to combine multiple styles
in one selector.
The CSS equivalent of:
myBox.x = myBox.y = 10;
Is what I was hoping for.


On Fri, Nov 20, 2009 at 8:22 AM, mitchgrrt mitch_g...@hotmail.com wrote:



 Sort of.

 .leftTab, .rightTab {
 fontFamily: Rockwell;
 fontSize: 20;
 }

 .leftTab {
 color: #ff;
 }

 .rightTab {
 color: #00ff00;
 }

 leftTab and rightTab will share the first set of declarations, and then
 each one will use the additional declarations that are just for it. Not sure
 if that's what you wanted.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Joel
 Stransky stranskydes...@... wrote:
 
  In a Flex .css document, is there any shorthand for using the same value
 on
  multiple styles?
  For instance:
 
  .leftTab{
  selectedUpSkin, selectedOverSkin, selectedDownSkin:
  Embed(source=myImage.png);
  }
 
  --
  --Joel Stransky
  stranskydesign.com
 

  




-- 
--Joel Stransky
stranskydesign.com


Re: [flexcoders] Re: id css selectors

2009-11-19 Thread Joel Stransky
I'm using 3.4
That article I linked to was last edited april 4th 2009. I'm new to flex so
I just assumed that was an accurate spec.

On Thu, Nov 19, 2009 at 9:36 AM, valdhor valdhorli...@embarqmail.comwrote:



 What version of the SDK are you using?

 From what I can ascertain, ID selectors are new as of FB4.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Joel
 Stransky stranskydes...@... wrote:
 
  How is it that this page claims id selectors are valid yet Flex Builder
  balks when I try to use them?
  http://opensource.adobe.com/wiki/display/flexsdk/CSS+Advanced+Selectors
 
  According to the article, I should be able to do this.
  in HelloFlex.mxml
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  mx:Canvas id=theCanvas /
  /mx:Application
 
  in HelloFlex.css
  #theCanvas{}
 
  What gives?
 
  --
  --Joel Stransky
  stranskydesign.com
 

  




-- 
--Joel Stransky
stranskydesign.com


[flexcoders] Installed Flash Player Is Not a Debugger

2009-11-19 Thread Joel Stransky
Everytime I debug in Flex Builder I get this alert box.

/Library/Internet Plug-Ins/Flash Player.plugin

Flex Builder cannot locate the required debugger version of Flash Player.
You might need to install the debugger version of Flash Player 9 or
reinstall Flex Builder.

Do you want to try to debug with the current version?

But I have FP10 debugger installed. I'm using OSX Snow Leopard.
How do I fix this?

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] Re: Installed Flash Player Is Not a Debugger

2009-11-19 Thread Joel Stransky
Weird, just reinstalled FP10 debugger and it went away.

On Thu, Nov 19, 2009 at 12:40 PM, Joel Stransky j...@stranskydesign.comwrote:

 Everytime I debug in Flex Builder I get this alert box.

 /Library/Internet Plug-Ins/Flash Player.plugin

 Flex Builder cannot locate the required debugger version of Flash Player.
 You might need to install the debugger version of Flash Player 9 or
 reinstall Flex Builder.

 Do you want to try to debug with the current version?

 But I have FP10 debugger installed. I'm using OSX Snow Leopard.
 How do I fix this?

 --
 --Joel Stransky
 stranskydesign.com




-- 
--Joel Stransky
stranskydesign.com


Re: [flexcoders] Re: id css selectors

2009-11-19 Thread Joel Stransky
Thank you for the clarification.

On Thu, Nov 19, 2009 at 2:00 PM, valdhor valdhorli...@embarqmail.comwrote:



 You need to read the section titled Summary and Background.

 In that section it states Cascading Style Sheets (CSS) are used in Flex to
 apply styles to visual components on the application display list. To-date
 we've supported simple type selectors and universal class selectors.
 Customers have requested more advanced CSS selectors and in Gumbo we plan to
 provide two new selector types - id selectors and descendant selectors - as
 well as fix class selectors so that they can be a condition of type
 selectors.

 Now that you know ID selectors will be added in Gumbo you can do a Google
 search on Flex Gumbo and find out that Gumbo is the code name for the next
 version of Flex (ie. Flex 4/Flash Builder 4). Gumbo was defined in July 2008
 and the first Beta was available in June 2009.

 If you wish to use ID selectors you can download the Flex 4 SDK and target
 Flash Player 10.


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Joel
 Stransky stranskydes...@... wrote:
 
  I'm using 3.4
  That article I linked to was last edited april 4th 2009. I'm new to flex
 so
  I just assumed that was an accurate spec.
 
  On Thu, Nov 19, 2009 at 9:36 AM, valdhor valdhorli...@...wrote:

 
  
  
   What version of the SDK are you using?
  
   From what I can ascertain, ID selectors are new as of FB4.
  
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, Joel

   Stransky stranskydesign@ wrote:
   
How is it that this page claims id selectors are valid yet Flex
 Builder
balks when I try to use them?
   
 http://opensource.adobe.com/wiki/display/flexsdk/CSS+Advanced+Selectors
   
According to the article, I should be able to do this.
in HelloFlex.mxml
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Canvas id=theCanvas /
/mx:Application
   
in HelloFlex.css
#theCanvas{}
   
What gives?
   
--
--Joel Stransky
stranskydesign.com
   
  
  
  
 
 
 
  --
  --Joel Stransky
  stranskydesign.com
 

  




-- 
--Joel Stransky
stranskydesign.com


[flexcoders] combining multiple styles

2009-11-19 Thread Joel Stransky
In a Flex .css document, is there any shorthand for using the same value on
multiple styles?
For instance:

.leftTab{
  selectedUpSkin, selectedOverSkin, selectedDownSkin:
Embed(source=myImage.png);
}

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] new flex newb

2009-11-18 Thread Joel Stransky
Hi guys,
So I'm taking the leap in to Flex. So far it seems like it wants to be xhtml
really bad but using that assumption has me running into spider webs.
I find it odd how Flex's CSS support, while cool lacks some obvious
implementation. For instance, x and y locations have to be set at tag
attributes and are not allowed via styling. You can set a background image
via styling, but you can't set background image positions. It's as if
someone on the Flex team took CSS to mean Cascading Skinning Sheets rather
than Cascading Styling Sheets.

Anyway, based on that perception, I'd be happy to hear any basic rules of
thumb you think I should know and be prepared for a lot of easy questions.
:)

-- 
--Joel Stransky
stranskydesign.com


[flexcoders] id css selectors

2009-11-18 Thread Joel Stransky
How is it that this page claims id selectors are valid yet Flex Builder
balks when I try to use them?
http://opensource.adobe.com/wiki/display/flexsdk/CSS+Advanced+Selectors

According to the article, I should be able to do this.
in HelloFlex.mxml
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  mx:Canvas id=theCanvas /
/mx:Application

in HelloFlex.css
#theCanvas{}

What gives?

-- 
--Joel Stransky
stranskydesign.com