Cannot set Flash button properties from sprite behaviour
I'm puzzled...
I'd like to set Flash button properties from behaviors on the
sprite
itself (unselect all buttons with a sendAllSprites, for
example) but
only this sample script works :
on mouseEnter me
sprite(spriteNum).selected = true
end
those ones won't:
on mouseEnter me
me.selected = true
end
on mouseEnter me
selected = true
end
It must but obvious but I can't get it to work...
Thanks.
PJ
The selected property is a property of the sprite. You need
to
reference the sprite specifically when you access it.
When you are using
me.selected=true
the 'me' is referring to the current instance of the
behaviour that is
running. It is not referring to the sprite itself. Therefore,
you need
to use
sprite(me.spriteNum).selected=true
so that you correctly reference the sprite.
You can use the syntax
me.property=true
only if the property in question is a property in that
*script*.
Similar Messages
-
I need to set up a new iPhone5 after my previous one was stolen. The new phone has iOS6 installed, the stolen one has iOS7 installed. So I cannot set it up using the Cloud. If I do a new setup, it asks me to sign in using my Apple ID. Will this not override my backed up data, preventing me from restoring my data on my new phone? I cannot install iOS7 untill the new phone has been set up. What am I to do?
How to sign in using the Apple ID that I initially used to set up the computer? I cant update my iPhoto and download pictures from Iphone :((
Try to remember any AppleID you ever may have used.
In the AppStore Application go to the "Store" menu.
It will show you the AppleiD You are currently using (in the last menu entry "View my account ....".
Use the "Sign out" command and sign in with any AppleID you ever used, ten check the "Purchases" tab of the App Store, if that will show the bundled apps.
And also, where are my pictures stored in my Air?
If you have used iPhoto to download your pictures, the photos will be stored in the iPhoto Library, a package, that is stored in the folder "Pictures" in your Home folder.
Terence Devlin has written some very useful user tips, that describe the iPhoto Library: See the links below:
iPhoto and File Management
How to Access Files in iPhoto
Exporting From iPhoto -
Making flash buttons work from hard drive and CD
I have made a "Flash" header for some of my websites. They
work fine when they are uploaded to the internet, but will not work
when I try to use them from my hard drive. The purchasers of my
software like to run the website from their server or the teacher's
computer. How do I make the links work when I burn them to a CD? I
like the the header with its sound and rollover functions. I can't
achieve the same effect using a rollover button in fireworks. I
really need some help here.
ActionScript code attached to buttons (as I stated
previously, they work fine online) is...
on(release) {
getURL("solarsys.html");
Is there anyone else with this problem? Can you please tell
me how to overcome it?
Thankyou
http://www.teacherstimesaver.com/space/solarsys.html">header
buttons links[/L]Use JWeb
http://jweb.flashjester.com
it's FREE.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
DISCLAIMER:
This email message is intended only for the addressee(s) and
contains
information that may be confidential and/or copyrighted. If
you are not the
intended recipient please notify the sender by reply email
and immediately
delete this email. Use, disclosure or reproduction of this
email by anyone
other than the intended recipient(s) is strictly prohibited.
All measures
have been taken to ensure this email is virus free - however
no warranty is
made that this email or any attachments are free of viruses.
Virus scanning
is recommended and is the responsibility of the recipient. -
Cannot download flash player 10 from adobe site
I get this message pop up in internet explorer after already
installing the active x control.....internet explorer has blocked
this site from using an activx control in an unsafe manner. as a
result, this page may not display correctly...... then it takes me
to a page not found page oh and when i try downlodingthe update
automatically it says there was an error trying to connect1 First I go here.....
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoi d=BUIGP
2 A pop up comes up just underneath the internet explorer 7
search bar telling me to install an active x control
3 I install it
4 page is refreshed and then nothing happens to install flash
player 10 I just get another pop up message this time saying....
internet explorer has blocked this site from using an activx
control in an unsafe manner. as a result, this page may not display
correctly
5 i get taken to a page not found webpage -
Flash button to turn off sound
Can anyone help please! I want to add sound to a webpage but
offer the user a chance to turn it off. I thought I could create a
Flash button and asign a behaviour to turn the sound on and off but
can't make it work..Any advice very welcome - thanks ....
HeatherSure this can be done and is known as a 'toggle' button. What
you need to do is make a MC with two 'states', 'off' and 'on' with
labels just like that. then you will control the MC button from the
on handlers, and use a boolean variable to determine which 'state'
the button is in, and then execute the opposite state.
A Sound Object is a sound class instance that you can use to
control the playback of a sound from that is attached from the
Library or load a streaming sound from your sever (in this code I
chose the latter as an example), rather than placing the sound on
the timeline, saving file space and download time (I'm assuming
this may be BG music). Using a Sound object also gives you more
control over the sound.
So with you MC set up, a sound in the same directory as the
fla/swf files, then add this kind of code to the main timeline
where the button (MC) resides, I'll call the button instance
'mute_btn': -
Cannot import swf/air file from flash catalyst
Cannot import swf/air file from flash catalyst, states error in code, there is nothing in the properties panel.
Hi Kristen
Have you tried using ActionScript 2? You might give that a go
and see if things improve.
Just a thought... Rick -
Creating buttons on the fly and setting button properties
If I have a view and want to add buttons to it "on the fly" from values in an array, is that something straightforward to do?
I have an array of UIImageVIew objects and would like to create buttons from them (showing the image on the buttons) and associate those buttons with a method in my implementation file. That would be a lot more general and flexible than creating the buttons in the Interface Builder I would imagine.
And one more question - can I freely set button properties while doing that? Or in Objective-C can I only set properties that are already pre-defined for that class?
Thanks!
dougThanks for your reply.
That.... works! Thanks!
And I can generate the button and click on it and it calls my other method and that works too. Cool!
The syntax is still very mysterious to me, but I suppose eventually I'll understand what it all means.
Breaking it down to see what it means:
[button1 addTarget:self action:@selector(selectedHandler1:) forControlEvents:UIControlEventTouchUpInside];
* button1 is the object I created (I'm going to try to do this in a loop next.)
* addTarget is a message I am sending to button1 and the content of the message is "self", which refers to - this button? I'm not sure why such a message would be necessary.
* action is another message sent to button1 and the contents of that message are a little harder to parse. I see the result, and can mimic the syntax now that I've seen it, but I don't really understand what the @ is for, or the : after the method name or why this wouldn't just be "action: selectedHandler". I'm sure the language designers have a logical reason for all that, but I don't quite "grok" those extra symbols yet.
* forControlEvents is another message sent to button1 and the event message itself is clear in its meaning.
Anyway, that is working and I can refer more to the UIButton class reference now and try to set more stuff, like position it better, etc.
Thanks very much!
doug -
Have an 'other' email set up on iPhone 4s; cannot delete or move messages from inbox. Help?
Try resetting the iPhone,
Reset your iPhone by pressing the 'Sleep' and 'Home' button at the same time for about 15 seconds or so. Your iPhone will then go through a reset / reboot procedure and will be ready for use within about a minute.
Don't worry about doing this as you will not lose data or settings.
If the does not work then delete that email account and set it up again,
Settings > Mail > select the account > delete account.
Take a note of the account settings before doing this to help you set it up again. -
Xcelsius Scenario Button cannot set the Default Scenario
Hi,
I am facing a problem with the Scenario Button in Xcelsius the problem is i cannot set the Default Scenario in the Dashboard .
I can save load delete the the scenario but if i have 3 scenario and i want to make one of them as default is does not work.
I think there is some browser setting for this and i have already configured the storage setting for the browser .
Warm Regards,
Mishra VibhavHi Thijs
Thanks for your update, I think this really helps me. And I have one more question.
I have seen a SAP notes regarding the Scenario function, the content is as below.
You use the Local Scenario button to save the final result of a specific simulation (created scenario) and return to it in the future. It only saves the scenario on the local machine where it was created. So you can access the scenario from the same machine, but you cannot transfer scenarios from one computer to another.
As per the note we can't transfer scenarios from one computer to another, my question is: If we publish the dashboard to inforview and save the scenario, the scenario will be saved in the BOE repositary or still on the local PC, and could the scenario be able to share among different users?
Thanks a lot -
I bougnt my S5 a month ago and I am having two major issues. The screen is very slow to respond. When the screen is dark and I press the home button, it doesn't come on. I have to press the button anywhere from 4-10 times and then it usually flashes on and back off. It is very, very frustrating. The other issue is that the battery drains very quickly. I have called Verizon numerous times regarding these issues. They tell me to do different things that never help. We eventually did a factory reset and it still has the same issues. Help! It is a brand new phone and unfortunately I am in a new two year contract. Ugh. Is there anyone out there who can help me?
I have done that several times. In fact, every time I call Verizon with my phone problems, they have me do the same things repeatedly. I keep telling them I have already done them but they insist they are SURE it will work this time. It never does. After doing the factory reset and it still not working correctly, they act like they are confused, almost like I am lying. I did what you suggested above on the slim chance it would work this time but it did not. I bought two S5's that day and the other one works perfectly fine. I know I got a bad phone. Verizon just does not listen. It is a bad phone. I just want a new phone that works properly. Is that too much to ask? I bought a new phone that has been bad from day one. Why oh why do I have to spend hours of my time on the phone, in the store, on the computer, trying to rectify this? It shouldn't be this difficult! Help please!!!
-
When I open my iCloud browser it looks different than "normal." It shows the list with check boxes, not slider on-off buttons. It dos not show a "storage and backup" button so I cannot set up my backup. What is wrong?
If see something like the image below it's because you are looking at the iCloud settings on your Mac, not on an iOS device (which has sliders). Storage & Backup isn't in the Mac settings because you cannot back up your Mac to iCloud. Only iOS devices can back up to iCloud. On a Mac, you can get information about your iCloud account storage by looking at the green usage bar at the bottom and by clicking the "Manage..." button on the bottom right.
-
How to SHOW/HIDE a dreamweaver layer from a flash button?
I have almost 2 weeks tying to find a solution for this. Please help...
-How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.
My html layer name is LAYER1, and my FlashMC botton name is FLBOT1
Now, what is the actionscript that im suppouse to place in the flash button?
Please respond, ThanksAdobe removed Flash Text and Flash Buttons from CS4 for accessibility reasons. Flash buttons aren't web friendly. And if you use this approach, you'll need to work in Flash because DW doesn't write Action Script for you.
That said, you could do something similar without Flash.
Pure CSS Disjointed Menu Rollovers
http://alt-web.com/DEMOS/CSS-Disjointed-Menu-Rollover.shtml
Pure CSS Disjointed Text Rollovers
http://alt-web.com/DEMOS/CSS-Disjointed-Text-Rollover.shtml
Show/Hide Layers with DW behaviors:
http://www.cbtcafe.com/dreamweaver/showhidelayers/index.html
Walter Zorn's Tooltips
http://www.walterzorn.com/tooltip/tooltip_e.htm
FloatBox Demos
http://randomous.com/floatbox/demo
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.com/blogspot.com -
Can't get flash buttons to work...'Cannot find path' Flash MX 2004
I am trying to get the flash buttons for my website to work, but every time I do the getURL thing it keeps saying 'Cannot find (directory)'. The website is offline and I'm using Macromedia Flash MX 2004, I also might be able to use Flash 8 but these are the only two versions I have access to.
The action script for the button is:
on(release){
getURL("..\****\****\(Website directory)\(sub directory)\(Website page).html")
I am making the website in Dreamweaver 8 and this is really holding me back as it's nearly finished but the buttons still don't work.
Thanks in advance.Hi,
Sorry I should have mentioned tha. The structure is as follows:
Website name\
\Animations
\Audio
\Buttons
\Images
\Scripts
\Templates
\Videos
The buttons are contained in the buttons folder and the page I want to link it to is in the templates folder. I have tried putting the button flash file in the website root directory and trying that but it didn't work.
Hope this helps.
Thanks in advance. -
After downloading Maverick I cannot save or email scans from my HP L7780. I receive error message "An error has occurred saving the file because it could not be written to. Check the properties for the file to make sure it is not read-only.
Read the user manual that came w/the scanner and/or contact HP Support.
http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system
http://support.apple.com/kb/HT3669 Printer and scanner software available for download
A scanner driver you may wish to consider: VueScan Scanner Software -
When I attempt to set the project properties in LiveType, I get the following error:
"An unexpected error occurred."
"(Modal session requires modal window)"
This comes up whether I create a blank project, or create one from a template. In short, I am unable to establish any properties in my project at all.
Has anyone else seen this?
Thanks!
BrianA bit of Google research: one or more files that tell Mac OS X how to build the LiveType interface are broken.
Delete the LiveType application and associated .pkg files in Library/Receipts.
Reinstall LiveType from the main FCS disk.
Maybe you are looking for
-
Yosemite 10.10.2 failed to install, cannot find it anymore
Hi all, I should pay more attention next time.. I received an App Store notification that an update to Yosemite was ready. I was tired enough that I did not focus on which version it was, but I assume it was 10.10.2 and that I was on 10.10.1. I just
-
I have a mid-2009 MBP. When looking at the technical specifications at the Apple site, I do not see where my computer will do HDMI output. However, the folks at BB told me that if I have the mini-display port, then I should be able to use the Mini-Di
-
Af:commandLink not calling launchListener
I'm using the dialog framework and it seems that when i use af:commandButton the launchListener binded method gets called, but when i use af:commandLink it doesn't. Is this a bug ? By the way, i have to use af:commandLink instead of af:commandButton
-
5760 guest network not receiving IP address
I'm testing a pair of 5760s for a near-term production rollout. I have the dot1x employee wlan working, but am having trouble with the guest web-auth wlan. We have a foreign controller with connected APs and an anchor controller in the DMZ. We're
-
Updating JavaBean model to reflect changes in classes
I have a Model that was created from a bean using the JavaBean Model import utility. Everything works great... My question is how do I update this model as I add beans to the jar file? Do I have to delete and recreate the model again each time?