I-beam cursor in flash sprites
I'm having a problem with the I-beam cursor dissapearing in
text fields in flash sprites. I'm using Director MX and flash MX. I
see that this problem is fixed in the latest version of Director,
but my client requries WinNT4 support, so I'm stuck using MX. Is
there any way I can fix this, or at least minimise it?
sussed it. i'd dimmed the screen brightness with 3rd party prog. Shades.
colour change of cursor was affected by that, turning cursor white. whack the brightness up and all becomes normal again.
hope that helps someone.
Similar Messages
-
No i-beam cursor with Flash Text Box in Director
I am trying to use a Flash Textbox in Director to accept typed user input. While this works okay, the ibeam cursor disappears, leaving the user no clue as to where he is within the Textbox. This happens randomly and unpredictably. Is there a way to solve this?
Thanks.In Flash, create a dynamic textfield in Flash. Give it an
instance name. Embed the font that you want to use. Write a
function that will set the text of this new textfield to the value
of the argument of that function. Something like this:
function newText(someString) {
textField.text = someString;
In Director, import the Flash .swf, write a behavior for the
action that you want to trigger this new text. Something like this:
on mouseUp me
sprite(X).newText("some new string of text to display")
end
Where X is the sprite number for the Flash file. -
When integrating Flash with Director - I have always in the
past done the
following:
on (rollOver) {
getURL ("lingo:cursor 280");
on (rollOut) {
getURL ("lingo:cursor 0");
on (release) {
getURL("event: gotoQ3PDF");
I have always done the above as flash objects do not respond
to mouse
events - on rollOver and rollOut the basic, single lingo
command to change
the cursor, then on release I am executing an event (to
perform multiple
lingo commands) restoring cursor, goto frame/marker, etc...
Has anything changed recently where you can do anytype of
"global"
command/script the does this across the board or does it
still have to be
hand-coded for each button in flash?? Our London office is
doing some
elements for us (in the US) for a CD project where there is a
number of
buttons in multiple flash movies....
Thanks in advance!!!Thanks Rob --
Dir MX2004 (w/flash 8 asset/xtra update) - Flash 8
Excellent! Yes -multiple buttons (menu's) within individuals
swf's
Much better approach - as I am currently manually scripting
individual
events for each button - on(release)...
Appreciate it!
Michael
"Rob Dillon - Adobe Community Expert"
<[email protected]> wrote in
message
news:[email protected]...
> What version of Director and what version of Flash are
you working with?
>
> There is a Flash cursor behavior in the Director Library
that will
> handle the cursor change in Director, so you don't have
to use getURL
> for that part.
>
> What sort of action do you want to perform with these
Flash buttons?
> From you example it looks like you want some simple
navigation control
> in Director. Is each button a unique Flash .swf? Or do
you have a number
> of buttons in one Flash .swf? If each button is
separate, then you could
> just write a behavior as if the Flash sprite was any
other button.
>
> If you have multiple buttons in any given .swf then
you'll have to send
> out a message from the .swf to initiate an action. There
is a
> mouseOverButton property for Flash members, but it can
only tell if the
> cursor is over a button, not a particular button.
>
> To give you flexibility and maybe simplify things, you
could use a
> getURL function in a behavior and set up a naming
convention for your
> Flash buttons. For instance, if you have four buttons in
a Flash .swf,
> name their instances sequentially, "one", "two", etc.
then you can write
> a simple actionscript function for the .swf:
>
> var buttonArray:Array = new Array(one,two,three,four);
>
> for (i in buttonArray) {
> buttonArray
.onRelease = function() {
> getURL(this);
> }
> }
>
> this will send the name of the button instance that was
clicked on to
> the Director movie.
>
> Then you can just place a behavior like this on the
Flash sprite:
>
> on getURL me,data
> if data contains "one" then ....
> end
>
> or use a case statement to parse out the string that was
sent from the
> Flash .swf.
>
> This might at least simplify the Flash development
process.
>
> --
> Rob
> _______
> Rob Dillon
> Adobe Community Expert
>
http://www.ddg-designs.com
> 412-243-9119
>
>
http://www.macromedia.com/software/trial/ -
Flash sprite in Director: slow, slow!
It's not a new problem but maybe there's a new solution?...
I have a Flash game in a Director projector. The Flash games
works fine by itself (not embedded in Director), but inside
Director, everything runs much slower. Is there any ways to speed
things up?
Thanks
SergeYea Flash tends to run a bit slower in director, be sure the
default
direct to stage flash member property is set.
Mx 2004 has an updated flash xtra that runs a little more
effeciently,
with an option to run multiple flash sprites in the same
memory space.
There's a downloadable director update for flash 8.0 -
Flash sprite has to be visible (from YOU !) in authoring mode to work !
If this can help (and if you can confirm !).
I already went through the trouble that you can't put a Flash
sprite off
stage otherwise you loose control over it (you have to keep
one pixel on
stage), but this is more tricky :
I suddenly had my Flash sprites working only in projector
mode and I
discovered that lower right corner of the stage was not
visible (stage
window was resized), which is where I hide my Flash sprites.
As soon as
I could see the corner, problem was gone in authoring mode !
PJWhy not make your FlashSprite invisible?
Or change it's z-index and put it behind everything
else? -
Is there a technique to force a flash sprite to refresh?
Basically when I send the flash movie to another frame eg -
sprite(16).goToAndStop(6) it seems like the code in frame 6 of my
flash movie doesn't execute until i mouse over the flash sprite!
Any ideas?
Many thanksWhat action are you using to tell sprite 16 to run? Is it a
mouse event? -
Passing flash array to flash sprite
Hi,
I am trying to pass a flash array like [{x:1,y:2},{x:1,y:2},{x:3,y:5}] from a flash sprite to Director lingo and back to another flash sprite. In director all looks fine when passing it back to the second sprite but the flash trace command just gives me undefined values. Can't I do this in lingo?
in lingo:
put " flashAry.length " & flashAry.length
flashObject.DrawAry(flashAry,"testxy")
Output window:
-- " flashAry.length 23.0000"
in ActionScript
function DrawAry(points:Array,test){
trace(">DrawAry " + points + " " + points.length + " >" + test + "<")
Output window:
-- >DrawAry undefined undefined >testxy<Had a very similar problem and found a solution...
Hope this helps....
-- This GETS an array from Flash to Director
-- 'myFlashArray' is the name of the array in your Flash file
-- 'flaArray' is the new list created in Director
-- And obviously, the flash file is on sprite 1
flaArray = convert(#list, sprite(1).myFlashArray)
put flaArray
-- This SENDS a Director list to flash (as an array)
-- 'zz' is just a temporary variable so the script is easier to read
-- 'dirList' is your Director List
-- 'myNewFlashArray' is the name of the newly created array in your flash file
-- again, the flash file is on sprite 1 in this case
dirList = ["item 1","item 2","item 3"]
zz = convert(#flashObjectArray, dirList).toString()
sprite(1).createVariable(#myNewFlashArray, zz )
NOTE: I'm using an undocumented 'convert' function that is only available in Director 10.1.1 onwards... -
How can I set the XCode I-Beam cursor to white? It is very hard to see the grey cursor on a black background.
Most Mac applications use a white background. You can try software to change your cursors, but no guarantee that they will work.
-
Flash Sprite Convert #BitmapData Wrong Type Error
When using a flash sprite to convert an image to #BitmapData I get a "Wrong Type" error. Does this only work with specific image types? Any ideas on what might cause this error? The image I am trying to convert is from a bitmap member.
ie.
bmp_data = flash_sprite.convert( #BitmapData, member( "some bmp" ).image )Try a little error checking:
im = member("some bmp").image
put im
put flash_sprite
bmp_data = flash_sprite.convert( #BitmapData, im )
put bmp_data -
Flex control inside flash Sprite control
Hi,
in my project,i have a requirement to add flex control e.g. TextArea to flash Sprite control. is this possible?
regards,
Rakeshyes you can add TextArea to Sprite
set the x,y, width and height of the TextArea object and added to Sprite using
spriteObj.addChild(textareaObj);
If this post answers your question or helps. Please mark it as such -
i use Google home page as my firefox home page. often i find that although the cursor is flashing in the serch box, unless that box has been clicked in to enable it, typing goes to the nearest topic in the bookmark list instead of accepting the typing. how to stop it from happening? why not stop the cursor from appearing in the search box unless you have clicked in it?
Do you organise your email into separate folders, or do you just let it accumulate in the Inbox?
I would strongly advise you not to let it sit in the Inbox.
When you see this happening, try right-click on the affected folder, select '''Properties''' then '''Repair Folder'''.
Large folders (actually, a folder in Thunderbird is stored as a file, so it is sensitive to file size limits set by the underlying file system) can be problematic. This is one reason not to let messages collect in one folder. I use Thunderbird's Archive folders so that accumulated mails over several years can happily coexist because they are effectively stored in many small folders. No single mail store folder then exceeds the 2GB or 4GB sizes that have been known to stress the OS. I appreciate that current builds of Thunderbird and a modern 64-bit OS should be able to cope, but practically I find it slows down when given huge files, so I err towards a pragmatic solution; a large number of not very big files.
Archives are searchable, and a Saved Search folder can give you a virtual composite folder allowing access to the entire Archive. -
Load flash cast member in the root of flash sprite (is possible?)
load flash cast member in the root of flash sprite, is
possible?i explain better, the user must download the projector from
internet and i
want protect the swf files include these in one exe
application
this is what my client want
tnanks
"Rob Dillon - Adobe Community Expert"
<[email protected]> ha
scritto nel messaggio
news:[email protected]..
> I'm not sure when or where you would need this
functionality. If you are
> creating a projector, then how are you distributing it?
If you are using
> a CD, then it doesn't matter how many files you have.
>
> If you want to bundle everything together for a
download, then just use
> an installer.
>
> --
> Rob
> _______
> Rob Dillon
> Adobe Community Expert
>
http://www.ddg-designs.com
> 412-243-9119
>
>
http://www.macromedia.com/software/trial/ -
I Beam Cursor Invisible.
Does anyone know why the I Beam Cursor is sometimes missing or invisible in a document or on a web page.
This behaviour is since Snow Leopard installation.
Thanks
AKOriginally posted by: kjones.leapfrog.com
I've determined that my carat becomes visible again if
I disable "Highlight current line".
That works for me. But it does look like there's a bug.
Cheers,
KC -
Beach ball and i-beam cursors pixelated
An otherwise rock-solid indigo iMac is exhibiting something odd: anytime (across all applications) the beach ball or an i-beam cursor appears, a square of video around them appears as pixelated or scrambled video data (the standard arrow cursor doesn't appear to exhibit this problem). This has gone on through complete wipes and reinstalls and the usual troubleshooting methods as well as through various updates of OS X.
It has the stock ATI Rage Pro chip standard to those models. Could this chip be bad? I've found only one reference to a problem like this, but that was in a retail ATI board, not an iMac.
I'd appreciate suggestions on possible solutions! Thanks!
iMac CRT - Indigo 500MHz Mac OS X (10.4.6) 640MB RAMGo step by step and test.
1. Reset Safari.
Click Safari in the menu bar.
From the drop down select "Reset Safari".
Click "Reset".
2. Delete Cookies
Safari > Preferences > Privacy > Cookies and other website data:
Click “Remove All Website Data”.
3. Empty Caches
Safari > Preference > Advanced
Checkmark the box for "Show Develop menu in menu bar".
Develop menu will appear in the Safari menu bar.
Click Develop and select "Empty Caches" from the dropdown.
4. Turn off Extensions if any, and launch Safari.
Safari > Preferences > Extensions -
Hello:
I need to detect when I click over a flash sprite what sprite is.
With bitmap no problem: put the clickon
But with swf I can't detect when clicked.
Can you help me please?Perhaps a combination of clickLoc and the point.inside(rect) function would do what you ask.
Maybe you are looking for
-
When trying to sync my iPhone, the message " The iPhone could not be synced because the Sync session failed to start" appears. What to do?
-
Time on 24 hour clock after midnight
Just got a 17" MacBook Pro today, and noted that when midnight passed (doesn't everyone stay up past midnight after getting a new Mac?) the clock changed day of the week, but unlike my iMac G5, on which the clock changes to 00:00:01 and onward, the M
-
I just purchased the X-Fi Xtreme AudioI downloaded the lastest driversI set the microphone to be the defaultI plugged the microphone into the correct portI rebooted?Still can not use the microphone on my headset. We I check the configuration setting
-
Dear All, Any Template questions on controlling (cost center accounting and Product costing) that needs to ask client for a implementation? Regards, Rupesh Kumar Singh
-
Is there a way to change the width of the fields in a shuttle item? I have some rather long data items that I'm using in a shuttle. The field width is so narrow that the majority of the data is not displayed. I'm using APEX 4.1