ActionScript 2.0 :: ScrollBar Dragger To Be Positioned In Relation To The Info._y As The User Scrolls Info?

Jun 24, 2010

I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...

Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........

also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Flash Sending User-generated Info To The User

Feb 22, 2011

We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.

See the interactive in question here:

[URL]

We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.

View 1 Replies

ActionScript 2.0 :: Display User's Info On Swf?

Sep 18, 2006

I am intending to display user's info on swf and I have stored them in xml files...

Code:
<?xml version="1.0"?>
<users>
<user1>

[Code]....

This is an example, I hope you get this. So, I have 3 dynamic text field in my fla however I don't know what instance name I should give. I want to have a loop to help me auto-fill in these three text fields..

Code:
for (y=0; y<3; y++) {
y_name_txt = this.firstChild.childNodes[y].childNodes[y].firstChild.nodeValue;
}

View 3 Replies

ActionScript 3.0 :: Get Some Color Info For Where User Clicks On The Screen?

Jul 23, 2009

I need to get some color info for where user clicks on the screen. can i use getPixel with an imported image file ? or does it need to be converted to a bitmap?

here is the code im using to import my image

PHP Code:

function loaderComplete(myEvent:Event)
{
var myQueryStrings=this.loaderInfo.parameters;
//Live URL

[Code]....

View 6 Replies

ActionScript 3.0 :: Check Windows Login - User Info

Jun 14, 2011

Is there a Who Am I command that can read the Windows user name in flash? I'm working on a local internal app that needs to log who is logged in when making changes to the data. I don't want a prompt for who is logged in, I would like the app to check with windows. Is this possible?

View 1 Replies

Php :: Retrieving Twitter User Info Doesn't Work In Flash

Mar 1, 2010

I'm building a Twitter search application in Flash and have encountered a security error when retrieving a user's information using the following...

[URL]

I noticed a crossdomain.xml file returned with the above.

This works

[URL]

View 1 Replies

Flash :: Operating System - Get User Browser - Os - Version - Javascript Info

May 11, 2011

I came across a website recently that outputs a whole bunch of user info: IP, browser, OS, flash version, javascript, etc in a very easy to use format. It was specifically designed for remote support, in order to determine user operating environment. However, I cant recall the name of the website.

View 1 Replies

ActionScript 2.0 :: Custom Text Scrollbar With Dragger

Feb 6, 2007

I am trying to make my own text scrollbar with dragger. I don't want up or down buttons just the dragger. I've done this so far...
Code:
var scrollHeight:Number = scrollTrack._height;
var ms:Number = newsText.maxscroll;
var left = scrollTrack._x;
var right = scrollTrack._x;
var top = scrollTrack._y;
[Code] .....
It scrolls till the end of text but not to the beginning....

View 1 Replies

Flash :: Having The Scrollbar Handle Sized In Relation To The Content Height

Jan 22, 2011

I'm having a bit of trouble with this logic. My setup is typical, with a content MC and a handle MC the runs along a track with specified bounds. All I want to do is have the handle height adjust based on content height but in relation to the track height?

View 1 Replies

ActionScript 2.0 :: Swf Load Normally But The Scrollbar Doesnt Scrolls The Text Down?

Jan 12, 2005

i have a main movie and i load some external swf....the swf have their intro and their outro...i followed the tutorial from this site trasitions b/n external swf but when i put my files instead of the files of the tutorials does not work.

1.the 1st swf load normally but the scrollbar doesnt scrolls the text down

2.when i press the second button the 2nd swf loads but when i press again the 1st button or the 3rd button nothing loads. i'll really aprocciate if you help me with this because my head's spinning around i will attach the files to see what i mean..the file is saved in flash mx

View 1 Replies

ActionScript 2.0 :: Creating A Simple Scrollbar That Scrolls Dynamic Text?

Jul 27, 2004

creating a simple scrollbar that scrolls dynamic text. What I am looking to do now is be able to scroll a movie clip with text and an image in it. How do I do that?

View 3 Replies

ActionScript 2.0 :: Setting The "dragger" In A Scrollbar To A Position?

Feb 8, 2007

i've donwloaded a scrollbar from the forums and i need help on how to make the scrollbar go to the top when you push a button.

View 1 Replies

Actionscript 3.0 :: Created A Dynamic Scrollbar Which Scrolls Dynamically Loaded XML Text?

Aug 14, 2010

I have a small issue going on. I created a dynamic scrollbar which scrolls dynamically loaded XML text. But it's not scrolling..You can view it here:(Click Start, 2 times the right arrow, then the book, to the righthand side there is a scrollbarI have divided my Scrollbar into 3 classes, the actual scrollbar, the scrollbar custom event and the scrollbar including content and mask.This is the actual scrollbar:

Code: Select allpackage com.own.ui
{
import flash.display.*;

[code]......

View 5 Replies

ActionScript 2.0 :: Info From One Swf To Another Swf

Dec 20, 2006

I loaded a swf in another swf. Lets say in.swf is loaded in all.swf. But I need to pass some info from a movie clip inside of in.swf to another movie clip inside of all.swf.

View 10 Replies

Swf To Get Info From An XML File That Is Placed In A Different Domain?

Sep 23, 2009

Is it possible for a swf to get info from an XML file that is placed in a different domain? And if it is, how can I do it?

View 3 Replies

Flash Rollover Info Box?

Oct 15, 2009

I need to make a projects that when a section is rolled over a info box appears. It is similar if not exactly like the link below.I have a solid basic working knowledge of flash and actionscript. Been working with Flash for few years, but it has all been basic work, nothing too complex.

View 1 Replies

Get Streaming Info From A XML File?

Apr 2, 2010

I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.

View 19 Replies

Flash :: Getting Swf Version Info?

Apr 6, 2011

In FlashBuilder's compiler options (Properties->Flex Compiler), under "Adobe Flash Player options" there is an option for "Use a specific version", where you can tell it what Flash Player to link against:

How do I get this value at runtime? Note that I am not talking about the Flash Player version, but the version that the swf was linked against.

View 4 Replies

ActionScript 3.0 :: Way To Get A Hardware Info From AIR?

Oct 3, 2009

Do anyone have any idea how to get a hardware information (like processor id) of the machine that the AIR application is running on?

I need to verify if my app is ran on the specified computer and than allow or deny data access.

View 2 Replies

ActionScript 3.0 :: Getting Php Process Info?

Nov 30, 2009

I'm working with a php script that takes a really long time to process. Is it possible to get the process info to flash (as3)? I'm thinking that I could echo the process percent from php, but is it possible to read and use the values as the process is running

View 1 Replies

ActionScript 3.0 :: Get Computer Name Or Some Other Info?

Oct 23, 2010

I would like to know if theres anyway to get the computer name or some other unique computer information to make a computer unique and I save that info in my database.

if someone know how to exhibit the Computer Name

View 5 Replies

ActionScript 3.0 :: Get The Info To The Class But Get It Out?

Oct 31, 2010

From the main class I call a function from another class and give it 20 variables to work with. That class does the math and gives me the 4 variables I need but how do I have the main class read these? Do I use a return function or getters and setters?

[Code]...

View 5 Replies

ActionScript 3.0 :: Sending Info To PHP And SQL?

Sep 4, 2011

I need to create a scoreboard for my game. I want to be able to let my user submit the time it took to complete the game to my scoreboard. I have been able to purchase webspace with SQL, PHP. I have set up my SQL database. I have found a great tutorial about how to do precisely what I wanted on YouTube BUT after starting the tutorial I realised it was ActionScript 2, I REALLY need time type of tutorial but for ACTIONSCRIPT.

View 2 Replies

Passing Info Frow One Swf To Another?

Feb 3, 2009

Example:Lets imagine a html page with 2 swf embed inside. First swf has some UI, and second swf loads content.Is there a way to pass events or variables from the first swf to trigger stuff on the second? If yes, how?I would love to know the simplest way to achieve this.P.s- From what i understood from Lee's tuturial on swfObj, i can pass vars from html to the swf (using flashvars). Is there a way to pass from the swf to the html in a similar fashion?

View 7 Replies

ActionScript 2.0 :: Need To Get Info From ASP To TextField

Feb 6, 2005

I have a news page that I update with my stories. The info goes to a read.asp page that displays my info. I need to get the stories into a flash text field or box (anything really) so I can have the same news stories post. I can upload the file so you could look at it and tell me how to call the stories into flash.

View 1 Replies

ActionScript 2.0 :: Pass The Xml Info Through Php?

Dec 20, 2010

I have a flash as2 file which loads pictures into a thumbnail slider through an external xml file. when i try it out in my pc it works, images load perfectly and i can view the thumbnails, but when i contain the flash in a php and upload it, it stops working, the images never load.i guess flash has an issue trying to pass the xml info through php, i tried searching for compatibility issues but couldn't find anything concrete...

View 2 Replies

ActionScript 3.0 :: Get Info About External Swf?

Jan 6, 2012

how i can do that, i have main flash file named container.swf (container.fla) i loaded external swf into movieclip inside my container. i want to know the actionscript version of the loaded swf dynamiclly, and the size(height and width) of it

View 4 Replies

ActionScript 2.0 :: CS3 Copying Info To Webpages?

Aug 15, 2009

Im working on an application for a website. When the user finishes entering all of the information into the Flass application, they press a button. I want it to open another page from that website and enter the information into it.

View 3 Replies

Additional Info In Dress Up Games?

Mar 9, 2010

Here's the thing.I am making my first game, a click and drag (dress up if you want to ) game...It is finished and working..But since it serves as an educational aid in history group, it would be great if I could somehow add some kind of pop-up window with text describing every item in game..For example "14th century bascinet developed from the steel cap bla bla bla...".And if that is not possible is there some other way all this info about these items (there is about 24 items in game) could be fitted in this kind of application

View 4 Replies

ActionScript 2.0 :: Components Depending On The Value Of Certain Info

Oct 13, 2010

what is the best way to conditionally display a component? I have a dropList providing info to other parts of my code but i would like to display certain components depending on the value of certain info

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved