Mobile Buttons Actionscript Required Help
Hi All
Is this possible ???????
i have an image of a mobile and i want to show the interface working.....therefore the two butons on a mobile that allow the user to scroll through the options and then another button that is clciked to bring the user to a specific screen
Anyone got any good source files on this
or tutorials
help urgetnly needed
thanks
J
FlashKit > Flash Help > Flash ActionScript
Posted on: 04-04-2002, 12:03 PM
View Complete Forum Thread with Replies
Sponsored Links:
Actionscript Pro Required: Syntax Help Required For Button To Initiate Easing
Hi guys I was wondering if any of you actionscript daddio’s could give me 2 minutes of your time and help me write the appropriate syntax to make the below example work on a button release rather than on the MC mouse down state that it currently uses.
http://www.fluid.com/experiments/timecode/mx_time.html
If you click on the geek panel drop down menu, you will see that it generates the appropriate code for the on onMouseDown,, however I want to call the easing from a button.
If someone could give me an example of the correct syntax using the “easeInquad” function that would be brilliant.
View Replies !
View Related
Mobile Phones And ActionScript 3.0?
I'm wondering if it will be possible to develop ActionScript 3.0 applications for mobile phones?
In the Adobe Device Central CS3 I've only seen ActionScript 1.0 and 2.0... so I'm curious if it will be possible to develop AS 3.0 later on, or if it's already possible in some other way?
View Replies !
View Related
*****help Required With Buttons*****
when i make a button and then try and add an action to it, like gotoandplay a frame number, only the gotoandplay part of the code appears and not the onrealease bit whihc means that it automatically goes to that frame number. pls could someone tell me how to osrt this problem out?? thanks.
View Replies !
View Related
Help Required Again......actionscript
ok
problem
i want to allow the user to exit the cd-rom from the exit button ...back to normal setting of their pc? is this to do with unloading movies ? anybody out there who can point me to good source files/ tutorials please help
also i want the swfs to fill the pc screen ( i do not know the correct wording for this projection maybe?) anyone out there can let me know
thanks again to all who have helped so far......
please help again if youse can !
J
View Replies !
View Related
Actionscript Help Required.
Hi,
I am having problems with actionscript. I am trying to create a 360 degree panaroma. I am using this tutorial provided.
http://www.flashkit.com/tutorials/Sp...h-51/index.php
As this tutorial is written for a previous version (i am using MX),
Set property is defined as below.
,
Set Property ("/movie2", X Position) = GetProperty("/movie1", _x) + 3557
Set Property ("/movie2", Y Position) = GetProperty("/movie1", _y)
I have changed this to match actionscript specifications.
setProperty("/movie2", X Position, getProperty("/movie1", _x+2809));
setProperty("/movie2", Y Position, getProperty("/movie1", _y));
Unfortunatly, I still get this output script error
Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: ')' or ',' expected
setProperty("/movie2", X Position, getProperty("/movie1", _x+2809));
All of the set property commands throughout the script return errors. Is there a problem? I have tried placing ')' or ',' as the problem suggests but cannot find a solution. Please help me if you can.
Thanks a lot
KBFM
View Replies !
View Related
Actionscript Help Is Required, Please.
Right.
So I'm making a new flash website, and I need some AScripting help. I have a few problems.
1. Content. The main content box is supposed to load external SWF files (e.g. home.swf, aboutme.swf) into the space there. The external SWF files are basically just SWFs which load external text files (e.g. home.txt, aboutme.txt) that contains the real content. Right now, I have managed to get the external SWFs to load the text files, but for the life of me I cannot get the main movie to load the SWFs into the content box. I know it's ****ing loading, because the external SWF has a preloader, and the preloader appears, but once it finishes loading, nothing else appears, though when I put my mouse over it, it turns into a text highlighter cursor, so I know it must have at least loaded SOMETHING. What exactly is wrong with my code?
2. Scrollbars. Notice the scrollbars on the side of the content box? Good. How do I make them actually work? I really have no clue as to how to go about doing this. I've been looking at scrolling tutorials, but I haven't seen one which actually allows both a slider and buttons.
3. Quick News Box. Is it possible to make a external SWF transparent except for the text? I want to be able to load external text files into that news box, but I don't want the SWF's background to be white or anything, just transparent. Is this possible?
4. Navigation. The way my navigation bar is like is, well, it's just a single bar, not seperated into individual links. Would it be possible to create invisible "hitboxes" that act as the areas for the users to click?
Attached is the entire directory of my site for reference. Could anyone of you guys just like, you know, work some Ascripting magic and get it to run? Or at least linky to some specific tutorials?
- Current SWF preview of the site done so far: http://img231.imageshack.us/my.php?image=cutout27wy.swf
- Current home.swf file preview: http://img231.imageshack.us/my.php?image=home8vw.swf
[b]UPDATE: Do note that the previews are ****ed up, because they can't reference each other and there's no home.txt available.
ZIP file of entire site here:
http://files.filefront.com/CutOut2zi.../fileinfo.html
View Replies !
View Related
Actionscript Help Required
Hi. I am building a kind of screen show. I have several slides which change automatically. I also have down the side, a list of slide titles. Clicking one of these titles changes the slide accordingly. This all works great.
The problem i have is, the file also contains sound which is synchronised to the time line. therefore, downloading the entire file is a little slow. If i click one of the slide titles, and that part of the file has not yet downloaded, nothing happens.
I figured, the best thing to do was to hide all the buttons to start with, then as the movie progressively downloads, the slide titles slowly become visible, one at a time.
To achieve this, i have created a movie, and placed the following actionscript in it. (The Slide Title buttons are in another movie called "slideTitles", and the _root timeline has labels "Slide1", "Slide2", "Slide3" etc
Code:
onEnterFrame = function(){
if (_root._framesloaded >= eval("_root.Slide"+_root.firstSlide)){
eval("_root.slideTitles.btn_slide" + _root.firstSlide).enabled = true;
eval("_root.slideTitles.btn_slide" + _root.firstSlide)._alpha = 100;
_root.firstSlide++
}
if (_root._framesloaded >= _totalframes){
delete onEnterFrame;
}
}
This did not work. All the slide titles were visible in frame 1
What am i doing wrong?
View Replies !
View Related
Actionscript Help Required
Hi. I am building a kind of screen show. I have several slides which change automatically. I also have down the side, a list of slide titles. Clicking one of these titles changes the slide accordingly. This all works great.
The problem i have is, the file also contains sound which is synchronised to the time line. therefore, downloading the entire file is a little slow. If i click one of the slide titles, and that part of the file has not yet downloaded, nothing happens.
I figured, the best thing to do was to hide all the buttons to start with, then as the movie progressively downloads, the slide titles slowly become visible, one at a time.
To achieve this, i have created a movie, and placed the following actionscript in it. (The Slide Title buttons are in another movie called "slideTitles", and the _root timeline has labels "Slide1", "Slide2", "Slide3" etc
Code:
Code:
onEnterFrame = function(){
if (_root._framesloaded >= eval("_root.Slide"+_root.firstSlide)){
eval("_root.slideTitles.btn_slide" + _root.firstSlide).enabled = true;
eval("_root.slideTitles.btn_slide" + _root.firstSlide)._alpha = 100;
_root.firstSlide++
}
if (_root._framesloaded >= _totalframes){
delete onEnterFrame;
}
}
This did not work. All the slide titles were visible in frame 1
What am i doing wrong?
View Replies !
View Related
ActionScript Required
Hi All,
Your assistance will be highly appreciated…
I would like to have the AS to put on a button to do the following:
on (release) {
_root.link = 6;
Duplicate the movie therein;
Replace a clip in the movie (clip on stage) with clipnew (from the Library) – Note: These are scrolling texts;
Play the new movie;
}
Thanks a lot.
View Replies !
View Related
Some Actionscript Help Required.
Ok guys. Im making a Dawn of War flash game. In this game you pilto a space ship and the game is sort of like Raiden, where the enemies fly down the screen at you.
Now i need some help with the actionscript coding.
So far ive drawn up my ship, the ships bullets, and a green circle for actions. The green circle is not visible though. The ship's instance-name is "mc_ship", the bullets instance-name is "mc_bullet", and the actions circle istance-name is "mc_actions".
So here is the code i have so far.
On the bullet(mc_bullet) --
///////////////////
onClipEvent (enterFrame) {
var firing = false
}
On the ship(mc_ship) --
///////////////////
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
this._y-=15;
}
if (Key.isDown(Key.DOWN)) {
this._y+=15;
}
if (Key.isDown(Key.LEFT)) {
this._x-=15;
}
if (Key.isDown(Key.RIGHT)) {
this._x+=15;
}
if (Key.isDown(Key.SPACE)) {
firing = true
}
}
On the invisble circle(mc_actions) --
///////////////
onClipEvent (enterFrame) {
this._visible = false
if (firing = true) {
mc_bullet._y = mc_ship._y+40
}
}
////////////////////////////////
OK so what happens so far is you can move the ship around with the arrow keys, and that works fine, but now i need to know how to make it shoot. Ive tried so much different code, but none of it seems to work. Ive gone close experimenting with my own knowledge of the code, but now ive turned to you guys.
The movement works fine, its just the shooting I need help with. I also need to know how i can make it work without completely changing my code. But I will do it all over again, only if neccessary.
Thanks for any help.
(BTW, I didnt use attach code, because I just signed up to these forums and I copied the code straight from one of MY other posts on another forum.)
View Replies !
View Related
Help Required For Animated Buttons.
When you make an animated button, you put a button ontop within the movie clip editing mode and set it so that when a user rolls over it, it plays the little animation, Fine!
However, now you want to make that animated movieclip a button so you can put it in your movie and set it so it jumps to a particular frame of the scene.
THIS CANNOT BE DONE!
Flash will not let you put a button ontop of another butto, even if it is embeded in amovie file?
So my question is, how do you create and animated button that:
i) animates when you roll over it
ii) can be used to GoTo a particular frame of the scene
View Replies !
View Related
ActionScript Genius Required
I am loading in a MC and I want to pass it an object full of data. The object is almost passed.
I did a trace using:
Code:
function show_all(temp) {
for (i in temp) {
trace(i+" = "+temp[i]+" {}");
for (j in temp[i]) {
trace(i+"."+j+" = "+temp[i][j]+" {}");
}
}
}
The (expletive deleted) is there. But there is no data in it. My trace is:
Code:
happy = {}
joy = {}
When it should have been more like:
Code:
happy = [object Object] {}
happy.happy = Joy joy {}
joy = Joy {}
Can anyone help?
View Replies !
View Related
Actionscript Error - Help Required
Hi
I picked up an old flash file recently - probably coded in flash 5
but i use MX and when publishing I get the following error:
Code:
Symbol=Symbol 105, Layer=Action Layer, Frame=1: Line 32: ';' expected
_n2.maximum_word_length = -1.#INF00E+000;
The code around that line is:
Code:
var _n2 = this;
_n2.a_list = new Array();
_n2.maximum_word_length = -1.#INF00E+000;
Now I asked the guy I got it from and all he could tell me was that
-1.#INF00E+000
Is probably part of the old action scripting and ill have to find the new alternative
Is this true and if yes what would be the "new" substitute for the above?
Thanks
View Replies !
View Related
ActionScript Smarty Pants Required
Why would:
xspeed = 10;
_x += Number(xspeed)
work to move an object across the x axis but:
fade = 10;
_alpha += Number(fade)
not work to fade the object in?
If I word like this:
_alpha += 10
it works! But then I can't stop it with an if statement when the alpha value reaches 100 or 0.
HELP!
View Replies !
View Related
URGENT Actionscript Hero Required
hi, a small yet urgent challenge for any actionscript heros:
imagine a cake, choped into 10 slices, viewed from above. my goal is to have this cake rotating at a constant speed until the user clicks on one of the slices. if a slice is clicked on i would like the cake to speed up and rotate a certain amount so that the selected slice is at 11 o clock, and then the cake stops rotating.
i've made a 60% working version but i'm getting bogged down now and progress is becoming slower... i'd love someone to show me a nice optimal way of doing all this (i'm not scared of maths, its just flash timelines etc that screws me up), any help'd be greatly appreciated, taaaa.
View Replies !
View Related
Urgent Flash Actionscript Help Required
hi
i have a handin on wednesday so its vital i get this fixed.
I have a menu system that magnetically draws itself to mouse when the mouse is on the x axis in alignment to each button. i need help in putting possibly an if statement which will stop the menu from going all the way across the screen, and only going, lets say around 375 pixels on the x before stopping, or even better would be if the buttons only moved when the mouse was in a 100 pixel radius. I want to implement this as the current structutre is annoying if the mouse is on one side of the screen, and the button flies across even though i dont want it to, and it ends up obscuring the movie clip which is playing.
Heres the code
onClipEvent (load) {
name = "button title";
Button = 1;
ratio = .3;
left = _root.left;
right = _root.right;
}
onClipEvent (enterFrame) {
o_x_pos = _root.button1_x;
o_y_pos = _root.button1_y;
mag = _root.magnet;
if (_root._ymouse>(o_y_pos-mag) & _root._ymouse<(o_y_pos+mag) & _root._xmouse>left & _root._xmouse<right) {
this._x = x_pos;
x_pos = x_pos-(n_x_pos*ratio);
n_x_pos = x_pos-_root._xmouse;
this._y = y_pos;
y_pos = y_pos-(n_y_pos*ratio);
n_y_pos = y_pos-_root._ymouse;
} else {
this._x = x_pos;
x_pos = x_pos-(n_x_pos*ratio);
n_x_pos = x_pos-o_x_pos;
this._y = y_pos;
y_pos = y_pos-(n_y_pos*ratio);
n_y_pos = y_pos-o_y_pos;
}
}
thanks
if any1 requires the FLA file to solve this i can get that 2 u too.
View Replies !
View Related
Actionscript To English Translation Required
hi,
can somebody translate this code into english for me?
!_root.file ? file = "filename.flv" : file = _root.file;
file is a variable but i'm not 100 % sure what '!_root' or '?' does? is it saying if _root.file hasnt been set yet, then set it to filename.flv?
thanks,
lukemack.
View Replies !
View Related
Actionscript Text Required From Flash Detection Kit
Help required,
I need help in getting the actionscript text from the flash detection kit file from macromedia. IN particular the flash_AS_detection.fla file in the actionscript folder of macromedia detection kit zip. Can someone please please please post the actionscript in the flash_AS_detection.fla file, as i have flash mx and can't open the file, it keeps saying unexpected file format. I really dont want to download a trial version because it could take me days as i'm on dial up
Or if theirs anyway you can resave the file as a mx compatibile file so i can open it.
Cheers
View Replies !
View Related
Text Input / Text Output...help With Actionscript Required..
hi
I have 2 text input boxes (input1 & input2) and 3 text output boxes ( output1 & output2& output3), also there are 2 buttons to add the text from the input boxes to the text output boxes.
What i need to do is this:
i input text into the 2 text input boxes and when i click the button for input 1 i want it to add the text from input1 to output1,i might then need to add input1 again and i want it to display in output2 as well as output1, then i might need to add input2 and i then want it to display in output3, then again i might want to add them in a totaly different order but always moving to a new output box if the above one is already full.
i hope you understand the gist of what im getting at and your help would be greatfully received.
thanx in advance
View Replies !
View Related
Mobile Phones
Hope this finds everyone well! I have a question. When designing for mobile phones, do we just keep size on thought? Is there any good sites that list what normal mobile phone content size should be? I am wanting to make my site content available for Blackberry's, and other mobile phones, and would like to know what I should do? Thank you for you help.
Doc
View Replies !
View Related
How To Play .flv On My Mobile/pda?
Hi all,
Just about 2 weeks ago i got my HTC p3600 (mobile phone/pda) with Win Mobile 5 installed.
Now i like to play .flv files but i can't get it to work.
Things i tried:
- Yes i googled and came up with the tcpmp player with 2 plugins, but i can't get it to work.
- surfed to the flash site on adobe. but it didn't redirect me to a flash player download.
any other advice?
View Replies !
View Related
Windows Mobile 5.0
I have already buy some PDA with Window Mobile 5.0. If i download a flash file and flash player file, the problem has come. Are the window mobile can not support flash and flash player file. How can i develop something using FlashLite if the windows Mobile can't support it.
If anyone ever use PDA and Flash application, please help me to solve this problem
View Replies !
View Related
Windows Mobile 5.0
I have already buy some PDA with Window Mobile 5.0. If i download a flash file and flash player file, the problem has come. Are the window mobile can not support flash and flash player file. How can i develop something using FlashLite if the windows Mobile can't support it.
If anyone ever use PDA and Flash application, please help me to solve this problem
View Replies !
View Related
Mobile Devices
hi, does anybody know where i can get info about the posibilities to introduce flash in mobile devices? i wanna created some flash animation for my cellphone.
thanks
pablo.
View Replies !
View Related
Mp3 Player Mobile
Is it possible to make a usable mp3 player for flash 4 or 5?
it should have a editable playlist and regular buttons stop,play...
This is just an idea not sure if it actually can work on a symbian or uiq based phones using flashplay 0.4 or flash lite 1.1 or 2.0.
View Replies !
View Related
News - AS3 On Mobile
From Ted Patricks blog: Meet QVM, the new Tamarin VM contributed to Mozilla
Today, Adobe has checked in a new virtual machine called QVM into the Mozilla Tamarin project. QVM is a VM for constrained environments (read mobile and devices) so that just about anything with a CPU and memory can execute ActionScript 3 Bytecode under low memory and low CPU conditions.
View Replies !
View Related
Mobile Keyboard In Flash
Hi,
I need a little help regarding mobile type key's functionality in flash.
The implementation is the single button should be used to type three alphabets. The last press should be considered and that alphabet should be shown.
Please let me know your comments.
View Replies !
View Related
Flash And Mobile Phones
Hi im trying to get the run down on Flash and Mobile phones, (the next big thing for all Flash Designers) some links would be great!
Im developing a game and need some help with scoring, any ideas there! Knowledge is everything, Thanks for your help Paul
View Replies !
View Related
Flash On Mobile Devices
I have never done this before so go easy on me.
Im trying to make a Flash movie that will play on an iPaq.
I installed the player on the Ipaq.
I copied both an exe and swf file onto the handheld but neither file is recognized.
Both were created from one of the files in the Mobile Developers kit at http://www.macromedia.com/software/f...cketpc/devkit/
Do I need to export these files using the Standalone Player for Creating Projectors or can they just be exported from Flash MX and I'm just doing something wrong?
http://dynamic.macromedia.com/bin/MM...ayer&type=FULL
View Replies !
View Related
Button - SMS To Mobile. Or Pager ICQ,MSN?
Im making a portfolio site that wil be burned to cd-rom.
i would like to add a button that will take the user to a form
where he can send me an SMS to my mobile phone. I am in london UK.
If this is not possible, then is it possible to have the same idea but to send it to my online pager at either ICQ,MSN,AOL,YAHOO ?
Assuming the user is connected to the net already when he uses the flash cd....Does anyone know if this can be done in flash.
Examples..tutorials?
View Replies !
View Related
Developing For Mobile Devices
Hello All,
does anyone know of any good resources for developing flash content for Mobile phones?
Which models can support flash content?
Any issues to bear in mind when developing content (screen resolutions etc..)
thanks in advance for any help
PBH
View Replies !
View Related
Flash On Mobile Devices
Flash is available on many system now, like mobile phones, PDAs and Pocket PCs. There are many new mobile applications, like rich media information systems, wireless multiplayer videogames or hot new topics like location based services. Your own portable Flash Player and mobile Flash application, this is no problem. Enjoy the site and the new cool features in your pocket. Tutorials, Resources, Tests, Hardware, Software, Tools, Links, Downloads and many more..see u on flashmobile.de - europe/germany
FLASHmobile.de
sonicFM
View Replies !
View Related
Mx 2004 On Mobile Device
Is there any possibility to make buttons in MX 2004 / mobile device?
Yeah... I know....!
I'm designing an app. to run on a Nokia 3650 and it's not just a movie.
The movie features some buttons AND some actions. The actions (user input) have to be stored. At the end these actions must be mailed (mail or sms) to a website.
At this moment flash will give me errors when viewing the movie in the lite player. I haven't even started with the actions because I'm stuck.
Is anyone designing for a cellular phone right now?
View Replies !
View Related
Mobile Alert From Flash/php?
Sorry about the multiple posts, wasnt sure where best to post this.
Anyway, heres my question, is it possible to send an alert in the form of a text message when an online php form has been submitted to a specific mobile number?
thanks in advance
View Replies !
View Related
Mobile Developer Links?
The FlashKit Mobile device threads look pretty thin. Can someone tell me if there is a resource for learning how to make wall papers and screen savers for mobile devices (specs and such) and please indicate Mac and Windows resouces.
Ok you can move this message if you so feel inclined.
View Replies !
View Related
Flash -> Mobile Phone
I want to develop an application that allows a person to create an image by dragging elements onto the stage and then send it to mobile phone (preferable animated) Is this at all possilbe and if so where can I find more info on how to do this and the technologies involved.
Cheers
Philippe
View Replies !
View Related
Mobile Device Detection
could i, using actionscript, implement a mobile device detector?
does anybody have a scriipt that i could use, or point out a link?
the script should simply detect whether the user is accessing the web from a mobile device and then connect to the appropriate new xhtml basic page...
thanks
View Replies !
View Related
Mobile Interface Trouble
Pen always down.
I'm starting with flash and have created a simple set of buttons.
On my Nokia 770 however, which does the full flash thing, the 'mouse' (pen) is always down when used. So when i use the mouse 'Over' button state, it does not work when the mouse entered from outside the button.
You can compare this by a clicking outside a button and then drag over that button. You don't get an 'Over' state that way.
Is there a solution to this?
Can the 'Hit' outside the button be ignored so no drag is started or is there another solution?
Why isn't this a common problem in flash and penbased/tablet computers??
Thanks for any time, Trump
View Replies !
View Related
Components On Mobile Devices
I'm relatively new to the flash scene. I've recently started trying to develop some flash programs for the pocket pc. When trying to add components to the predefined pocket pc templates, the components do not run correctly when testing the movie or when published as an swf file. Are flash components not supported on pocket pc or other mobile devices?
View Replies !
View Related
Flash For Mobile- Which Template To Use
I want to create a flash site for a .mobi domain.
I see that the flash templates available are in the
PDA section : windows mobile browser, windows mobile full screen windows mobile sip,
Can you tell me which I should use and why.
Will these only work on PDA's or will they work on mobile phones also.
Do they qualify for meeting the standards of .mobi domains?
Thanks
View Replies !
View Related
|