Problem connecting electric piano with action scripts 3
Hi, I'm working on a project and I'll need to connect my electric piano to my PC and have detection to flash. I'm going to make some effect showing out of the screen when I played certain keys or chords on my electric piano. is there any event script that can detect my E.piano?
Flash is a tool for animation and programming. Programming can support to the level of website designing, Creating audio and video players even for live videos, you can create CBT for elearning, you can print, and now it supports all type of touch and gesture capabilities for mobiles especially Iphone/Ipad/IPOD, blackberry and Android. AIR is a tool that will communicate the system files and folder to some level and It will not support the piano inputs.
Similar Messages
-
Problem with action script from Schewe and Frasier book.
I am working on a Photoshop CS3 action script to
open raw files, do a couple of modifications
in Camera Raw, exit camera raw and save
the file as a jpeg.
I think this should work, because I am working
on an example out of "Camera raw with Adobe
Photoshop CS3" by Schewe and Frasier which
shows the step recorded.
See page 344 of Schewe and Frasier.
In figure 9-11 you see, after the open
statement, 10 lines of details like
"As camera raw"
"Model:Canon 350d" etc.
I get the file path and name line, but
none of the other details reflecting
actions in Camera Raw.
The problem is that in setting up the action, none
of the steps done in camera raw after I do the
open get recorded.
And it works in my old CS version !
Out of frustration I repeated the action
script creation in my old CS version and
it worked fine.
Any idea where I am screwing up ?Crappy format justification:
I sometimes have a day of family
type pictures that are in raw format
that I want to put up on the internet
quickly. I would like to be able to
apply the "Auto" feature, as in general
it seems to be pretty good for something
quick.
OK, it sorta works in CS, go here
http://www.angelplace.net/photos/sample.jpg
It sets up all of the details and gets the
"As camera raw" but opens the .dng file
rather than the Camera raw window.
The point is, these important settings
seem to be saved, which does not happen
in CS3. -
Problem with action script to button
Hello all.
I'm having a problem with my adobe flash CS3 action script. My button cant link to the other URL. I tried to put an action script but i fail. anyone can help me? here the attachment for my flash document.HELLO,
just check navigateToURL() -
Problem with action script calculations
I have a simple action script 3 code that will not calculate the correct answer on my PC. I'm running flash cs5 on Window 7 OS. I can move the file to another machine running flash cs4 and it works, but when I run it on my laptop, I get funky answers. see cold below. I have uninstalled and reinstalled cs5 , run the cleanscript for cs5 and cs4 to make sure everything was removed. I have uninstalled and reinstalled flash player. but nothing seems to work. Any help will be appreciated. It acts like Action Script 3 is corrupt or something else that related to Action Script 3. Everything else seems to work. I also have a preloader running with the same issue. It is should be showing the percentage completed but it go 2 5 50 4 32 or something funky like that. Please help.
the code I'm using.
function calculateTotal(evtObject:MouseEvent):void {
var price:Number;
var totalCost:Number;
var numberOfJerseys:Number;
if (jerseyType.text == "2") {
price = 12;
if (jerseyType.text == "1") {
price = 10;
if (playerNames.text == "Y" || playerNames.text == "y") {
price += 1.50;
numberOfJerseys = int(numberOfPlayers.text) +int(numberOfCoaches.text);
totalCost = numberOfJerseys*price;
total.text = String(totalCost);
calc_btn.addEventListener(MouseEvent.CLICK, calculateTotal);
the preloader percentage is
var percent:int = amtLoaded*100
percent_txt.text = String(percent);HELLO,
just check navigateToURL() -
function loadProgress(my_content:ProgressEvent):void {
var percent:Number = Math.floor( (my_content.bytesLoaded * 100) / my_content.bytesTotal );
percent_Txt.text = percent + "%";
preloader.gotoAndStop(percent);
function loadComplete(e:Event):void {currentFrame;}
loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
loaderInfo.addEventListener(Event.COMPLETE, loadComplete);
is not working
Mean
the Text is to 1 - 100 % increase.
But not working that .
Only others are animating
Please some one help mefunction loadProgress(my_content:ProgressEvent):void {
var percent:Number = Math.floor( (my_content.bytesLoaded * 100) /
my_content.bytesTotal );
percent_Txt.text = percent + "%";
preloader.gotoAndStop(percent); // preloader should have frames
1,...,100.*
function loadComplete(e:Event):void {
currentFrame+1;
// the above will do nothing. what are you trying to do?
This action script is not working in my background. Any settings to change.? -
Help with action script 2.0
I'm a beginner with flash. I created a flash file on my own.
I also created a flash file using a slideshow program. Generally I
like this program. I can insert them into my html with no problem.
I want to load the slideshow.swf file into an empty movie
clip in the flash file I created called products.swf. It works fine
using
loadMovie("slideshow.swf", call_mb_slideshow); (where
call_mb_slideshow is a empty movieclip.)
as long as the all the files are in the same folder. But, I
need the products.swf file with the empty movieclip to be in the
parent folder AND I need the slideshow.swf and the slideshow.xml
file to be in a child folder call musicbox_slideshow. When I change
the code to this:
loadMovie("musicbox_slideshow/slideshow.swf",
call_mb_slideshow);
It loads the slideshow.swf file into the movieclip fine, BUT
it doesn't know where to find the slideshow.xml file that loads the
pictures into the slideshow. It looks for it in the parent folder,
not the child folder.
How do I write the script in products.swf so that it knows
where the slideshow.xml file is? I cannot change the slideshow.swf
file code in any way. I need to do it from products.swf.I can use this code from html. I'm able to say where the swf
and xml file are. I just don't know how to do this using action
script.
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="768" height="576" id="tech" align="middle">
<param name="movie"
value="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
/>
<param name="quality" value="high" />
<embed
src="slideshow.swf?xml_path=musicbox_slideshow/slideshow.xml"
quality="high" width="768" height="576" name="tech" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>. -
Help with Action script 2.0 please
Hi,
I am new to actionscript and i could really do with some help
please. I am trying to load external movie clips into two different
containers depending on which button is clicked. Sometimes there
may be two conatiners attached to a buuton click, whilst other
buttons may only need to load one movie clip. Here is the action
script i have been using:
button1.onPress = function () {
_root.createEmptyMovieClip("container", 1);
_root.createEmptyMovieClip("container1", 2);
unloadMovie("container1");
loadMovie("scene2.swf", "container");
loadMovie("scene5.swf", "container1");
container._x = 50 ;
container._y = 110 ;
container1._x = 170 ;
container1._y = 5 ;
button2.onPress = function () {
loadMovie("scene6.swf", "container");
unloadMovie("container1");
container._x = 50 ;
container._y = 110 ;
This does load the movies, however i have to press button one
first before button two will work. Ideally i need to be able to
call any movieclip at any time. Can anyone tell me where i am going
wrong?quote:
Originally posted by:
NedWebs
Try moving these lines outside of the button function:
_root.createEmptyMovieClip("container", 1);
_root.createEmptyMovieClip("container1", 2);
You can use "this" instead of "_root"... that'll save any
problem if you ever move this within some other movie. Also, move
the x/y assignments just under those lines since they relate to
them directly.
Hey thankyou for your help, that works now. although if i
move the x and y assignments i would have to create another
container right? Thanks again for your help. -
Help with action script please
hay guys, im having trouble with changing my action script to
allow multiple layers of the same thing in order to show a greater
sense of depth than the normal application. im using a flash
toutorial on making a sort of matrix like falling text (
link)
and im not completely understanding what to change in order to
accomplish my goal. i tryed to send them a message using their
contact page, but its broken, forcing me to find a forum. im sure
it has something to do with the third group of code where it
identifies what its using. but whenever i change anything there to
either match the identifiers or movie clip names the action script
crashes when i test the movie. any help is appreciated.
im using flash cs3 and made sure to create it all in action
script 2.0
please excuse my spelling, im sure i made a mistake
somewhere."FlashTastic" <[email protected]> wrote in
message news:e4ir4t$ru4$[email protected]..
>I don't think an enterframe will be your best bet.
>
> You might want to use something like
>
> if(_root._currentframe >= _root.totalframes){
> loadMovie("myMovie.swf",_root)
Why in the world would you do that when you can just put a
keyframe on the last frame and ..
loadMovie("myMovie.swf");
tralfaz -
Transparency with action script
I have a swf file and i want to give it a transparent background to the stage. I understand that it's possible to give it the transparency through the HTML publish setting using the 'transparent windowless' property.
However, i wanted to know whether there's an actionscript property to give the same transparency effect to the stage. like the opactiy or something (sorry, I might be wrong)
The thing is I have a external preloader which loads the content swf and when it gets loaded, the stage loses it's transparency.
any help please with the action script on transparency?you're either misunderstanding what you see or not accurately explaining what you see.
there's only one html that embeds a swf. that embedded swf's stage color will be seen (or not depending on the html settings). no loaded swf's background color will be seen. all loaded swf graphics will be seen. everything is this paragraph are facts that you cannot change using actionscript or anything else.
if you removed the graphics from content.swf there's no way it can "still show". the below paragraph explains the ways you could misinterpret what you're seeing:
if you removed graphics from content.fla and FAILED to publish a new swf, graphics will still show. and, if you're testing in a browser, and fail to clear your cache you may be seeing an old swf version that still has background and other graphics. -
I have been developing a site and I am having issues with
something that is probably very simple. I have created several
movieclips that expand and contract as you roll over them. I wanted
to make a function/method so that when the user clicks, it takes
them to another scene in this movie. Here is the action script I am
using:
on(release) {
gotoAndPlay("Scene 9");
Unfortunately, this is not working. I thought that perhaps
the on(release) method wouldn't work on these movie clips based on
the action script I was already using to expand/contract the boxes,
but the following code works just fine:
on(release) {
getURL("home.html");
I'm stumped. Can anyone offer a suggestion as to what I
should do? Here is the web address of the page I'm working on, it
has the movie I'm having an issue with.
AndrewJW.com. The
first image on the left next to the word photography links to
another page of the site. The image of the pearl ring next to that
is the one that will not advance to another scene in the movie.
Thanks for any and all input.
AndrewJeckyl>
erm... ok i've to admit my mistake in 2nd script.
_root.gotoAndPlay() takes only ONE argument,
_root.gotoAndPlay("Scene 9", 1); won't works.
Thank for reminding me
actually this make me confuse sometime,
from the code hint in flash,
for
gotoAndPlay,
gotoAndPlay(
frame);
gotoAndPlay(
scene,
frame);
for
MovieClip.gotoAndPlay,
MovieClip.gotoAndPlay(
frame);
so, gotoAndPlay can accept 2 arguments only when use without
"something dot" in front.
if Andrew's script is attached to an instance of button
symbol, we can use
on(release) {
gotoAndPlay("Scene 9", 1);
Since Andrew will attach the script to an instance of
movieclip, he can only use:
on(release) {
gotoAndPlay("Scene 9");
where he have to give the label to the 1st frame of "Scene 9"
same name with the scene.
Am i right Jeckyl?
I heard many people said "scene"+"script"="buggy", but some
time I get it "works". What is your opinion? -
Problems connecting IOS devices with new Comcast wireless cable modem?
Just installed a new cable modem from Comcast, it is their new high speed unit manufactured by Cisco. of the three IOS devices I've tried, all running currently the OS , are having problems connecting with the error "Unable to join the network " Home-XXXX" if you keep asking it may connect but I have to be persistant. My Devices are iPad 4 g Retna with 30pin connection, an iTouch ,latest model with camers, and current iPad mini. is it me or the modem?
You have probably already solved this issue, but I would hide the comcast wifi network (dont broadcast ssid) and make the password very hard. Make sure that put it on channel that does not conflict with your Airport Extream.
Connect the Comcast modem/router to the airport extream's wan port with an ethernet cable.
Comcast usually ships the DHCP enabled. Use the comcast DHCP server for your airport.
Configure the airport extream to "create a network" set the network to "bridge mode".
Name your network, broadcast the ssid all on the airport. Now all your devices will connect everytime. Use can use the Comcast "private" wireless network for maintenance, etc.
Just some thoughts... good luck -
Problem connecting FinalCut Pro with Sony z1
Hi mates, I've just bought the new Macbook Pro and I've a Sony Z1E.
I'm trying to connect my camera with a firewire cable, but I can control my device with FCP (I can play, stop, rewind and so on) but I can't see any video or audio and if I try to click on import it says "Capture was aborted due to a lack of incoming data"
My camera is playing so I can't understand which is the problem.
It seems that they can exchange data but not video and audio...
Does anyone had the same problem?
Does anyone can help me out?
Thank you very much
Luca
Message was edited by: lukino85Luca
Your camera can record and playback either HDV or DV ... it will also playback HDV as DV if you have the camera's Downconvert setting enabled. Check your camera's record / playback and downconvert settings and adjust them appropriately for the format you want to shoot and/or capture ... and then make sure that you have chosen the correct Easy Setup in FCp to match those camera settings.
Best
Andy -
Problem connecting to internet with wired ethernet
Shortly after installing the Leopard 10.5.2 update, I could not connect to the internet through the wired ethernet connection. Connected wireless with no problem. Spent time with Apple tech. Determined that the machine was fine. Told to check the wall port. Had a windows PC connect fine through same cable and wall port. Also brought the MacBook to a different location. Connected to the ethernet port and connected to the internet successfully. Determined that the MacBook kept using an IP address of 192.168.1.103. This is the wrong address for my connection. The correct IP address is 172.16.7.1. Installed this address manually in the MacBook and established a connection. The MacBook cannot seem to connect automatically at this location. The Windows PC connects fine. The MacBook keeps coming up with the wrong IP address. Any idea what could be causing this??
The IP address when connected to a router will start with 192.168.x.x.
When connected to a modem you will get a different address.
When you connect to a cable modem for the first time it looks at the Media Access Control (MAC) address of whatever is connected.
It is a unique number for your device.
It only attaches to one device and provides an internet connection to that device by way of an IP address.
If you wish to connect another device and get an IP address for that new device, you need the modem to start over, since it has a monogamous relationship with the connected device.
In order to have the modem drop its relationship, it needs to be restarted.
This is not true of a dsl modem.
It sounds like your modem has linked with the MAC address of the router.
In order to connect directly to the modem and get it to link to your computer, you need to unplug the router from power.
Disconnect its ethernet cable.
Restart the modem after about 15 seconds and wait until it restarts, about 2 minutes.
Then reconnect the modem and you will likely be able to connect to the internet. -
I have been using Plantronic bluetooth head set (BackBeat GO2 produced by Platonic) without any problem with my old Macbook under OS 10.6.8. When I bought a new Macbook Pro Retina (MBP) loaded with OS 10.10 and a MacAir (MA) also loaded with OS 10.10, I have problem connecting the head set. Both MBP and MA could not recognise the head set. Can some one help ..... I can't do without the bluetooth head set...
I have been using Plantronic bluetooth head set (BackBeat GO2 produced by Platonic) without any problem with my old Macbook under OS 10.6.8. When I bought a new Macbook Pro Retina (MBP) loaded with OS 10.10 and a MacAir (MA) also loaded with OS 10.10, I have problem connecting the head set. Both MBP and MA could not recognise the head set. Can some one help ..... I can't do without the bluetooth head set...
-
Error message with Action Script 2.0 file
Hi,
I am trying to edit an old flash file that uses Action Script 2.0. I am using CS6 and keep getting the following error message after publishing:
Scene 1, Layer 'AS', Frame 1, Line 5, Column 29
1067: Implicit coercion of a value of type int to an unrelated type String.
Can you suggest any fixes or workarounds? I also have Flash 4.0. Can i downsave the file? If so, how?
Thanks!Thank you. I think that did fix the original two errors. But now upon test of the file, I get some new errors:
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 3
1120: Access of undefined property ratio.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 20
1180: Call to a possibly undefined method number.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 7, Column 27
1120: Access of undefined property _root.
Symbol 'MoneySlider', Layer 'AS', Frame 1, Line 9, Column 27
1120: Access of undefined property ratio.
And on the MoneySlide layer in Actions:
this.ratio = 0;
this.loadBar._width = 0;
this.dragger.ratio.text= "$0";
dragger.onPress=function(){
this.startDrag(true,0,0,line._width,0);
this.onEnterFrame=function(){
ratio=Math.round(number(_root.transitBenefitLimit/100)*(this._x/(line._width/10 0)));
loadBar._width = Math.round(this._x);
dragger.ratio.text= "$"+ratio;
dragger.onRelease=dragger.onReleaseOutside=stopDrag;
Maybe you are looking for
-
Making calls on my iPhone/ LockScreen and Message freezing
Hi, ive had my iphone for about six months now, im still under warranty and ive just recently been having few problems that are quiet annoying. My first problem , while making calls i can barely hear what the person is saying to me and they can barel
-
BADI BIC_FOLLOW_UP_ACTION
Hi all, I'm kind of new to Badi Implementations, but am instructed by not 549416 to use one. The note specifies a follow-up action can be written for the 'Batch information Cockpit' (Tcode BMBC). I proceeded as follows: SE18: Copied Definition BIC_FO
-
Why is FF telling me my Flash add-on is outdated, when I have the most current version?
The Add-ons Manager says my Flash is outdated and says it's "vulnerable", however I have 16.0.0.296, which is exactly what Adobe tells me is the most updated one. Why is it doing this?
-
How to use tag libraries?
hi, I have an external taglibrary file, bean.tld. I want to use the tags of this file in portal component. Where shall i place this file in order to access it? regards, ganesh natarajan
-
Hello everyone, I wish to use responsive filterable photo gallery from http://www.jqueryscript.net/layout/Responsive-Filterable-jQuery-Portfolio-Gallery-Plugin-E lastic-Grid.html in my website http://bhc.edu.in/MATICS/gallery.php I followed the instr