How would I create a scrolling marquee of clickable images?
Much like - http://www.potterybarn.com/?flash=on
Would I use an itemrenderer in a ??
Thanks,
I would like the equivalent of this line, where I pass a version
parameter:
embed src=myflexapp.swf?ver=1.0
How do I modify the Flex generated html to accomplish this:
// if we've detected an acceptable version
// embed the Flash Content SWF when all tests are passed
Hi, try looking at the localToGlobal method:
Converts a Point object from the local coordinate system to the
global coordinate system.
--- In flexcoders@yahoogroups.com, derelkington
[EMAIL PROTECTED] wrote:
Hi everyone, I'm having trouble trying to find the x,y-coordinate
position of
I toggle the 'required='true' property on a text form item, and the
red asterisk disappears, yet the field is highlighted in RED and acts
as though required=true is still applied. Here is my code (click on
'Forget your pw? to recreate the error.) I'm using Flex V3.
thanks,
?xml version=1.0
How do I set the width to 100% using actionscript??
It only allows a number - not a string!?!
var newcanvas:Canvas = new Canvas();
newcanvas.width = 100%;
1067: Implicit coercion of a value of type String to an unrelated
How do I set viewSourceURL?
Everytime that I edit the value, it gets overridden when I 'export
release build' and select source files.
it gets set to:
viewSourceURL=srcview/index.html
I would like to change this to:
viewSourceURL=mydir/srcview/index.html
thanks,
I'm creating a custom tooltip and there's not enough room in the
bottom right
corner to display it, how do I change the x and y coordinates in
order to
move it someplace so it's not off screen and fits?
There are examples on how to reposition for a text tooltip in the
help,
but none for a
Can I click inside a custom tooltip ?
When I try to mouse into a custom tooltip it disappears . . .
Is it possible to create a custom tooltip with links inside?
thanks,
I need a way to read a gzip file 'http://www.myhost.com/myfile.gz'
Is there a way to do this?
I found a library for air, but I need it for flex.
http://weblogs.macromedia.com/mchotin/archives/2004/11/enabling_gzip_c.html
thanks,
where do I find it? I've got FLEX 3 installed (on mac)
uncompress is only available for AIR, not available for FLEX. Why?
I don't need to go to a file, a BYTEARRAY would be sufficent.
thanks,
Hi,
I have a list of images, and when I click on an item in the list, I fire off
an event to go find the
url of the image and I have another eventlistener that waits and loads the
image when the
correct url is returned.
All works great
When the user clicks on many items in the list, the
For an image, can I set the source in css?
ie.
mx:Image id=myimage source=@Embed(source='../mypic.png') /
can I move the source to the css?
or is there another way to do this?
Hi,
I'm trying to use States and removing(RemoveChild) a child (mx:Text
id='mytext') and trying to add it to a different container with
addchild, but I get an error - ' identifier 'mytext' used more than once
I can do this in actionscript, but how do I do this in mxml, keeping
the same id of
Hi, I want to change the backgroundAlpha of the Application's
background image. But how do I reference it? The application tag
doesn't allow an id??
Here's what I have:
This blows up:
Application.application.SetStyle(backgroundAlpha, .3);
in the Styles I have:
Application {
color:
How do I find the host url where I'm ('myflexapp.swf') is loaded at?
I tried BrowswerManager, but url, and base are null?
Is there another way, or better way.
ex:
private var bm:IBrowserManager;
bm = BrowserManager.getInstance();
trace(bm.base); // output: null
trace(bm.url); // output:
Hi, I'm able to send a custom event from a component to an
application, but how do I send a custom event from the application to
a component?
example code:
mycomp.mxml:
?xml version=1.0 encoding=utf-8?
!--this is myapp.mxml--
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
Is there a way for the video player to play in slow motion or step
frame by frame, or play a video in reverse?
thanks,
Has anyone gotten the youtube chromeless video player to load/work in Flex?
thanks,
the example at:
http://code.google.com/apis/youtube/flash_api_reference.html
uses the createEmptyMovieClipLoader to load the player? is there an
equivalent in FLEX?
thanks,
mike
Hi, when I'm in the debugging mode and single stepping thru my code,
sometimes it goes off into some module that I don't care about, for
example the ResourceManager.as, is there a way to 'fast forward', ie,
hit the green triangle to continue until it comes back to my code?
I can hit the green
Hi, I'm trying to create a class that extends the image class,
I need to associate a username with the image,
Here is what I have:
package
{
import mx.controls.Image;
public class imageWithData extends Image {
private var _username:String;
I'm getting this error when I run my program from my FLEX Builder.
Failed to load policy file from http://localhost:8881/crossdomain.xml
Warning: Failed to load policy file from http://localhost:8881/crossdomain.xml
Error: Request for resource at http://localhost:8881 by requestor from
For the VideoDisplay,
does setting the
playheadUpdateInterval=500
cause any bad effects?
When a video finishes, sometimes I'm not getting the
VideoEvent.COMPLETE event.
I have:
myPlayer.addEventListener( VideoEvent.COMPLETE, flexPlayerComplete);
Could this be because the interval is too
Hi, how can I expand the Console Window buffer in the debugger so that
my 1000 messages don't scroll off the screen and never to be seen again?
thanks,
How can I make the TitleWindow resizeable by the user?
i.e. let the user click-drag the corner to resize the window?
is this easily possible?
thanks,
Hi, I saw this in someone's code:
public function parseResult( result:*):Array {
if( result is XML || result is XMLList ) {
. . . .
...
what is the '*' , is this the same as (result:object) ?
where result can be any type of object?
Hi,
I've received many solutions to my questions here on the list and want
to give thanks to those who took time to answer me. Is it proper to
give thanks on this list? I'm reluctant too, because it clutters up the
list, (just like this post) but I just want to say thanks. Sometimes
the
Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and
placed it in my 'src' folder under the folders 'mx', then 'controls',
then 'videoClasses' and it picks up the change no problem.
If I then change my project to use 'runtime shared library' it's not
picking up my changes.
What
Hi, has anyone integrated the UPS online tools with FLEX??
Or is there any other easy solution to figure out
shipping charges for an online store?
thanks,
Hi, does anyone have a library for parsing html?
for example, I need to pull out a div block? Which may or may not
be embedded in another div block.
thaanks,
Hi, I'm loading another swf file into my flex app using swfloader, and
this embedded swf file outputs text to the console file while I am
debugging it, is there a way to capture the text and act on it?
thanks,
Is there a function to html decode a string?
I want to translate Iacute to the single character i with the accent.
thanks,
.
HTH,
Greg
On Fri, Jan 30, 2009 at 2:32 PM, luvfotography
ygro...@... wrote:
Is there a function to html decode a string?
I want to translate Iacute to the single character i with the accent.
thanks,
Any hints on getting a localConnection to work from AIR to AIR?
It works from FLEX to FLEX, I am using the code from the livedocs
example. I am getting a statusEvent of 'error'.
thanks,
?xml version=1.0 encoding=utf-8?
mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml;
Is there a 'token' equivalent to use with the URLLoader class?
I need to keep track of my events.
I can use token with an HttpService.send() request, how do I use it
with URLLoader?
ex:
var myloader:URLLoader = new URLLoader();
myloader.addEventListener(Event.COMPLETE, loadHandler);
var
How can I determine the sound levels on a video playback?
There is flash.media.SoundChannel.leftPeak, but it's only available on
sound files, how can I use this on a video?
Or is there another way?
Hi, I've got a huge application - 800k, how do I use a preloader that
loads in my huge app? In order to get something on the page while the
rest of the application loads.. any tips/tricks/ links to more
detailed explanation?
thanks,
Hi, I want to use the PerspectiveProject class, which is new for flash
player 10, If the user is still on player 9, can I skip the
perspectiveProject class and not execute it?
I want to be able to use my app in both Player 9 and 10, but only use
the new functions if the user is running V10.
Is
Hi, I've got a hideEffect on a label with a duration of 4 seconds.
When I set the visible=false on the label, it takes 4 seconds to fade
away.
Is there a way to make it disappear immediately in some cases?
I need this to also work in the middle of the fade effect.
thanks,
Yes, in the project properties, in the 'Flex Build Path', in the
'Library Path', select 'Framework linkage:' = Runtime shared library (RSL)
then open the 'Flex 3 twistie' and go down to 'framework.swc',
highlight 'RSL URL' and click edit,
enter in the location of the swc file:
How can I detect the enter key when I'm on a textinput control?
Can Flex display exif data on jpgs?
How can I extract that data from a picture that I load?
thanks,
steve
What are some good uses for the dictionary class?
I haven't used it yet, but I'm sure if I knew more, I might. . . .
I can't run the debugger today
I'm getting: Launching: Waiting for Flash Player to connect to the debugger
yesterday all was working fine, never seen this error before,
Run mode takes forever now, the following 5 line flex file takes 16 seconds to
show
up in the browser. Yesterday, less
I've created a preloader class, and is there a way to pass a parameter into my
preloader?
Here is my application tag:
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
applicationComplete=appInit()
layout=absolute
What's the best way to get two flex swfs to talk to each other?
I can either use localconnection or javascript. I just need to pass back and
forth a little data. What's the best way to initialize the connection.
How can I determine that both are loaded before I attempt the connect?
Do I keep
How do I get databinding to work in textinput?
In this example below, I have a TextInput defined with the text bound to
{userName}, when I run the app, and enter text into the TextInput field, I
would like the text entered assigned to the Bindable character string userName,
however it is not.
I've seen this in some places when the test doesn't fit into the box, or label
you get the '' and the text is truncated.
Is this a feature that you can turn on or off?
and what components offer this feature?
thanks
Is this list declining? According to the number of posts, May stats were the
lowest since Jan 2006. It's been slowly declining since March 2008. Is this
because of better resources available? All the bugs are fixed? All of us now
write better code?
What's your opinion?
Message history is
Is itemRenderer supported in popupMenuButton?
I just want to add an icon to my list of data in my popupMenuButton.
Is this easily possible?
I'm getting 'could not resolve mx:itemRenderer to a component implementation
when I'm trying to use it with a popupMenuButton.
thanks,
What's the best way to communicate between a flex app in a browser and an air
app?? local connection? If the Air app isn't running, can you start it from
the browser somehow?
thanks,
Hi, I've got a datagrid in AIR, alpha=.5 backgroundSize=100%
and I'm dynamically setting it with:
var picurl:String = 'http://mysite.com/mypic.jpg';
setStyle(backgroundImage, picurl);
and this works, however after 2 or 3 background changes, the pictures don't
clear and they keep layering each
Hi, I want to check out a google project, where do I start?
Do I need to install subversion? or find a free subversion host?
mucho thanks,
How do I make the array parameter optional??
private function howdoI(mycount:int,mystring:String, myArray:Array = []):void {
trace('hellow');
}
I get
1047: Parameter initializer unknown or is not a compile-time constant.
How do I make the Array parameter optional? :
myArray:Array = []
Hi, I'm using swfloader to load a swf and want to listen for all events, but I
don't know the event types or names,
Is this possible??
thanks,
If I can talk to a swf file via actionscript, can I assume that the same
funtion call is public and I can call it directly if I load the swf file via
swfloader?
example:
I load a swf file in my html page in a div= myswf , the swf file uses
ExternalInterface to interact with my javascript.
I
Hi,
back in Flex 3 builder you could click on the line number to highlight and
select the entire line. Now in Gumbo, if you click on the line number the line
gets highlighted, but does not get selected!!
How can I select the entire line in Gumbo??
(running Mac os x v10.5.6)
I need to test a program on my local machine and a website that I don't own has
a restricted crossdomain file.
Can a program like wireshark modify the call to somewesite.com/crossdomain.xml
and change it on the fly to 'allow-access-from domain=* '
or is there some other way to test locally and
Hi, I'm loading 2 flash actionscript 2 swf files into seperate security domains
in my flex program (using swfloader), yet they appear to be interfering with
the operation of each other.
Is only one AVM1 started?
or for each security domain, would a AVM1 be started for each instance?
Could
Hi, I have this working in Flex 3:
I am removing a button from one hBox and placing it into another hBox when I
change to state='state1'
mx:states
mx:State name=state1
mx:RemoveChild target={button1}/
mx:AddChild target={button1}
Hi, how do I code the 'mx:request' in actionscript?
example:
mx:HTTPService id=form1 url={phpFile} method=GET resultFormat=text
result={textarea1.text = String(event.result)}
mx:request
username{username.text}/username
/mx:request
/mx:HTTPService
I don't see any methods
Hi, what's an efficient way of doing this?
This works(most of the time)
var LargeImage:String = event.result..LargeImage[0].URL;
except when LargeImage is not there, then I get:
TypeError: Error #1010: A term is undefined and has no properties.
Do I first get LargeImage, then if it exists,
How do I get the browser's height and width,
not the swf's height and width, but the browser's height and width,
can I get it without using javascript (external interface)?
thanks,
To view internet traffic while using a Flex app, I just use Safari and go to
the menu bar and go to Window/Activity.
Is there an equivalent tool to see internet traffic to and from an Air app???
(while not in Debug mode)
thanks,
Hi,
What's the simplest way to test (in actionscript) if
I'm running Air vs. Flex?
thanks,
Is there a way to increase the debug window buffer size?
My program spits out tons of trace statements, and by the time I stop it, the
important info has scrolled off the screen into the bit bucket . . .
thanks,
.
--- In flexcoders@yahoogroups.com, luvfotography ygroups@ wrote:
Is there a way to increase the debug window buffer size?
My program spits out tons of trace statements, and by the time I stop it,
the important info has scrolled off the screen into the bit bucket . . .
thanks,
Hi are there any good effects for loading a datagrid with text?
Like having the text float in from all directions?
thanks,
Are there any good books or postings or examples on how to write a multiuser
Flex game?
Just looking for a basic type game like poker.
thanks,
Are there any good search engines that just search Flex sites?
Hi, I want to add a tooltip to the divider, I assume I want to use the
BoxDivider class, but I'm not sure how to do it.
thanks,
If the Label control size is smaller than its text, the text of the Label
control is truncated using a localizable string, such as
However if you set the text with htmlText, then you do not get the '...' How
can I set the text of the Label field with htmlText and still get the '...' if
I've declared a [Bindable] private var changeme:Boolean;
Is there a way to execute a function whenever this var changes?
thanks,
Hi, I've got an eventListener listening for keyboard events and a checkbox in
a datagrid column, and after I select a checkbox and immediately hit a key,
then the item selected is not picked up.
If I select a checkbox in the datagrid, then click outside the datagrid, then
hit a key, then the
How can I use a mouse drag to scroll a datagrid?
I want to click anywhere in the datagrid and drag up or down to
scroll the datagrid in that direction.
thanks,
Can you debug and run the profiler at the same time?
It seems to be one or the other, but not both??
thanks,
Hi, are there any tips on getting localConnection to work 100% of the time? It
works about 95% of the time for me, and then I get the 'error' returned in a
StatusEvent on a LocalConnection.send()
Is there a way to extend the StatusEvent to return the command that failed?
I'm issueing 2-3
the debugger it can
cause LC's to hang. Are you seeing this problem in production?
On 3/10/10 10:27 AM, luvfotography ygro...@... wrote:
Hi, are there any tips on getting localConnection to work 100% of the time?
It works about 95% of the time for me, and then I get the 'error
What does '*::' do in the following example:
(can someone explain how this works, where aspectRatios ends up with
'widescreen')
var aspectRatios:XMLList = atomXml..*::aspectRatio;
where atomxml =
?xml version=1.0 encoding=utf-16?
entry gd:etag=W/quot;C0QCQ347eCp7ImA9WxBbFkk.quot;
How do I update the datagrid.selectedIndex after a column sort?
If you select a row in a datagrid and then sort a column that changes the
order, then
the selectedIndex doesn't get updated with the new value.
I tried invalidateList(), but didn't help.
Here's an example:
First select an item, then
Hi,
It's most likely the browser caching the image,
are you getting the image in a normal http request? over and over again?
ex: http://www.mysite.com/image.jpg
if so, just add a random number (a timestamp works fine) to the end of the url
ex: http://www.mysite.com/image.jpg?12343545
This
Hi, I'm building an Air app in flex,
is there any reboot/restart/reload? command that I can
call to restart my AIR app from actionscript( ie. inside the application
itself),
thanks,
how do I make a function call to a package bindable?
when I call the public function clear(), the bindable class doesn't get
updated?? ie student.fname or student.lname
ex:
package {
[Bindable]
public class student{
private var _fname:String;
private var _lname:String;
Hi, My flex program is loading an external swf and the swf file outputs trace
statements to the console log, is there a way to capture and act on those trace
statements?
Well, I agree, but it's the only way that I can think of eg: the 3rd party swf
file won't update the code, and the only way to detect a state change is thru
the console log . .
--- In flexcoders@yahoogroups.com, Paul Andrews p...@... wrote:
On 28/05/2010 22:25, luvfotography wrote:
Hi, My
Using Subclipse and SSH with Flex Builder?
Hi, my subversion server is requiring me to SSH to it,
I've installed the Subclipse Plug-in to FLEX and installed Putty, TortoiseSVN,
Plink, Pageant. and I can use TortoiseSVN to SSH to my subversion server.
Now I need to tell Subclipse where
Hi, I'm getting this message,
I know it's not much to go on, but what could be the cause?
I have an array of objects of type 'myclass' and
create an arraycollection for a datagrid.
The warning just pops up in the console multiple times.
warning: unable to bind to property 'name' on class
Hi, how do I signal a Binding event that I changed a variable in a class?
I've created an instance and the binding variable is not getting updated. . .??
I've got a class 'Student' , with a function 'pass' that sets the variable
'grade' to 'A'
package {
[Bindable]
public class Student {
How do I get the width of a scaled bitmap image,
In my example, it's returning the width of the unscaled width,
ie. I have an image that's portrait aspect ratio, when put into a
landscape oriented box, the width is the size of the box, not the smaller
scaled bitmap.
Is there another property
Can someone recommend an easy way to serve ads in my flex mobile game?
(so I can make sow money)
Has any one used admob, mochiads, etc? Do I need an actionscript API?
Thanks
Hi,
How can I delete itemRenderers in a spark view for mobile,
There's the property 'destructionPolicy' = auto or never
I'd like to keep the itemRenderers on the current view when I push another view
on top, so when I come back it's still there, but when I pop out of the current
view I'd like
Hi,
Is there any difference between initializing a variable in the declarations vs.
in the creationComplete function?
private var scrollTimer:Timer = new Timer(500,1);
or
private var scrollTimer:Timer;
private function init():void {
scrollTimer = new Timer(500,1);
}
When/Why should I use
Why does:
trace((new Date(2012,01,15)).toString());
and
trace((new Date('2012','01','15')).toString());
return:
Wed Feb 15 00:00:00 GMT-0800 2012
February??
, and milliseconds.
--- In flexcoders@yahoogroups.com, luvfotography ygroups@... wrote:
Why does:
trace((new Date(2012,01,15)).toString());
and
trace((new Date('2012','01','15')).toString());
return:
Wed Feb 15 00:00:00 GMT-0800 2012
February??
Hi, I'm using the same certificate I used to get my FLEX 4.6 mobile app into
the apple store. Apple accepted it, now when
I try to upload and publish my apk into the 'Google Play' android market, it
complains.
Anything that I should look for?
thanks,
94 matches
Mail list logo