Impossible Make Possible For Me
hi there to all......
Can we grab some data from a site in flash.
For example i want to grab some records from a yellow pages site which is showing records from database on different pages. how can i grab data automatically from different locations or different ranges and then store in excel or any database file.
(if a website is showing 100 records of car dealers in a city through database and i want to grab this data from that site than wht should i do ???)
simple
but waiting for some solutions.
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-14-2006, 02:16 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Impossible Ton Make This With Flash Mx2004 ?
Hi,
i must make a flash module, to customize an object.
people can choose colors, weight, accessories, etc....
like the nikeID customization module ( see :
http://nikeid.nike.com/nikeid/index....esrc=uslanding )
now my question : how to create the final JPG ( from my swf ) of
the created object, and send it ?
i think i need php ...
a tutorial / source would be appreciate !
Is This IMPOSSIBLE?
I have posted this question before but not too clear, so I deleted it and make a new thread.
Simple movie contains 2 scenes. Scene 1 has a movie clip named A. Inside A, there is a button. I want to move to a NEXT scence on the main time line everytime I clik that the button in MC A.
Using nextScene(), preScene() is possible with this? Or I have to label the scene, and using gotoAndPlay()? I don't want to label the scenes becuz the movie can get up 100 scenes.
Must Be Impossible...
It's looking like this is an impossibility in Flash 5...
I have a movieclip called "textcolor" that loads an external "movie1.swf" into itself when a button is pushed -- and it works.
But when I attempt to duplicate the "textcolor" movieclip after the "movie1.swf" has loaded into it, it doesn't work. Of course I can control all other attributes about "textcolor" such as alpha and size using other buttons, why can't I duplicate it?
Here's my simple code:
---------------------
on (release) {
_root.textcolor.duplicateMovieClip("textshadow", 1);
textshadow._x = 200;
textshadow._y = 200;
}
---------------------
Is there something I'm missing here? Or is this impossible for Flash 5?
Much thanks,
--Chuck
http://www.letterheadfonts.com
Why Do I Always Seem To Want The Impossible?
Doing the Mouse.hide is easy but what about a Mouse.hide constrained to a rectangle, eh? I need the mouse to hide when it rolls over one particular movie clip, image, whatever, within a .swf . It's hiding over the whole movie (yuck).
I'm still trying but if you've got any idea if this is even possible.... :-P let me know...
thanx
Well It Must Be Impossible Then
well im going off to decompose in a corner.....all im trying to do is get a video to run from a flash button
must be possible ...............there are greater things in heaven and earth........and i cant run a poxy video from flash ..............go figure ummmmm
HELP HELP
Andy
It's Impossible Or?
Hi,
I sent post 10 days ago about navigating from loaded movie.
Maybe I wasn't clear enough, so I will repeat question:
I have movie.fla, in that movie I have 5 scenes. In a first scene I'm using: loadmovie (film.swf). Everything is work but I need to know how to navigate from that film.swf. So, I want to use button (in film.swf) for example "scene5" and on realase to go to the scene 5 of the movie.fla. Film.swf is external file. Please I need to know how to do it, if is impossible please tell me and I'll tray to find another solution for my movie.fla.
Best regards
Nothing Is Impossible?
Hi,
I want to create a "desktop buddy". That is, an exe that runs based on flash yet with a transparant background with no window, toolbar etc. Am I out of my mind>?
Cliff
Impossible
It isn't possible to change the frame rate of a seperate movie clip but you could just try shortteing or lenghthening the tweens. and putting frames between keyframes.
Hope I was helpfull
Please Help - Can't Be Impossible
following situation:
3 menu buttons & 3 external swf's
click button 01 > 01.swf fades in
click button 02 > 01.swf fades out & 02.swf fades in
click button 03 > 02.swf fades out & 03.swf fades in
click button 02 > 03.swf fades out & 02.swf fades in
etc.
how is it possible to tell each button of the menu, that it should fade out every movie on the stage onmouse(release) whether it is swf.1, swf.2 or swf.3
please help anyone, need to finish a project and only need the AS for this -to finish it.
I don't know how to make the buttons work independently and not only covering only one swf.file.
Thanks for your help in advance !
The Impossible?
Does anyone know of a way to change the default text cursor displayed in a input text box? Is it possible to edit resources? The goal being to have a box shaped cursor instead of a single line.
Is This Impossible?
hello all,
i have loaded a movie clip on my main timeline
from inside my library:
on(release){
container.attachMovie("mc_1","movie1","");
}
now is there any way to unload it?
thanx to all the
Impossible.
Ok
I made the letter P
3demensional
Using a code i got a from a tutorial. Now how do I make it have fill?
ANy one anybody? ahaha i knew it.
Is This Impossible To Do?¿?¿?¿
I'm trying to do the effect on this site (look for the 3 boxes that grow when you rollover them on the first page. http://nike.jp/acg/index2.html
I created this click here for my example I need help as you can see this does not look anything like the nike example provided. ((the box grows when you rollover it but the other boxs stay in one place I would like them to move as the growing boxes grow and contract like in the nike example provided. I am not concerned about the images inside of the boxes I just want to know how to make the boxes shift as they grow and contract.
Swf To Fla... Impossible?
I realize this may be an impossibility but I neglected to back up a fla file and only have the swf on my web server which I need to edit. Is there any kind of way to restore the editable fla from this file. I realize this is a way that authors protect there creations but this is MY creation which I definitely screwed up by not having a backup. Please help.
I Know This Is Probably Impossible But...
Is there ANYTHING I can use to recover an .fla file from an .swf? I know no such thing probably exists because then people could steal other work alter it and claim it for there own.
But I had lost everything i had in my flash folder months ago but i had uploaded an .swf of a game i was working on to a server and i have that but i cant work on it without the .fla and I really dont have the Inspiration to start from scratch again, there was a good 3-4 months of work on it.
Again more then likely I know this is impossible but maybe by some strand of hope there is, or at least to recover part of it or something
Impossible To FIX?
This problem has baffled even the most flash professional friends i have, they have no clue at all, and this is truly a question for the experienced flash user.
I am trying to make a puzzle, and the strangest problem occurred. If you choose test movie and in the movie (.swf) follow the links to the puzzle, which are: selecting north America from a map, then choosing easy. It will show a map of North America with two countries outside the boundaries. One should be able drag the country to the appropriate spot. However it doesn’t work.
Here's the dilemma, if you go back into flash to the .fla, then choose the north America scene, so the stage is showing the map of north America, choose test SCENE, and IT WORKS FINE!!!!!
PLEASE PLEASE HELP I NEED IT TO WORK
here is the Link to the fla,
http://s7.yousendit.com/d.aspx?id=1E...I2H6RVKGPJYLPU
Impossible To FIX?
This problem has baffled even the most flash professional friends i have, they have no clue at all, and this is truly a question for the experienced flash user.
I am trying to make a puzzle, and the strangest problem occurred. If you choose test movie and in the movie (.swf) follow the links to the puzzle, which are: selecting north America from a map, then choosing easy. It will show a map of North America with two countries outside the boundaries. One should be able drag the country to the appropriate spot. However it doesn’t work.
Here's the dilemma, if you go back into flash to the .fla, then choose the north America scene, so the stage is showing the map of north America, choose test SCENE, and IT WORKS FINE!!!!!
PLEASE PLEASE HELP I NEED IT TO WORK
here is the Link to the fla,
http://s7.yousendit.com/d.aspx?id=1E...I2H6RVKGPJYLPU
Impossible To FIX?
This problem has baffled even the most flash professional friends i have, they have no clue at all, and this is truly a question for the experienced flash user.
I am trying to make a puzzle, and the strangest problem occurred. If you choose test movie and in the movie (.swf) follow the links to the puzzle, which are: selecting north America from a map, then choosing easy. It will show a map of North America with two countries outside the boundaries. One should be able drag the country to the appropriate spot. However it doesn’t work.
Here's the dilemma, if you go back into flash to the .fla, then choose the north America scene, so the stage is showing the map of north America, choose test SCENE, and IT WORKS FINE!!!!!
PLEASE PLEASE HELP I NEED IT TO WORK
here is the Link to the fla,
http://s7.yousendit.com/d.aspx?id=1E...I2H6RVKGPJYLPU
Impossible?
Hi...
I don't even know if this is possible, but I'm sure I've seen this somewhere before in flash, am wondering whether anyone has any pointers of where to start.
I want to create something where people can upload pictures of their faces, and then, using some *magic tool in flash, cut around the persons face and place it in a funny setting...
Anyone know if you can make a tool that cuts around faces, some how blanking out the rest of the image?
*what I want to create!
Thanks.
Cam.
It Is Impossible
There is [h1]no[/h1] way for a user to record sound through a mic in a .swf file. If you think there is or you know a tutorial that exists to create this then please put me in my place!
Possible Or Impossible?
The SlideShowPro component, the Wet Floor effect and screen-based applications...
I built a screen-based Flash app (Flash 8 Pro, actionscript 2.0), copied all of the assets from the SlideShowPro Wet Floor demo and placed them on a screen (slide) in exactly the same way they exist in the demo (layers, instance names...). When I publish the app (targeting Flash Player 8 or 9) the SlideShowPro component works perfectly, but the Wet Floor effect is nowhere to be found. In the past with my screen-based apps, when I've worked with movieclips that require actionscript to function properly (go figure!) I've had to insert things like "_root." or "_parent.[name of slide]". For example:
on (press) {
_parent.blackscreen.fx.gotoAndPlay(2);
_root.mov = "4";
}
If I remove the "_parent.blackscreen." or the "_root." this particular button/movieclip animation simply will not work in my screen-based app.
I believe that I have to do the same type of thing with the Wet Floor actionscript, perhaps in addition to adjusting some or all of the linkage/export properties of the movieclips?
One thing I did notice with the Wet Floor actionscript, is that when I added "_root." to the "reflection_mc.setMask(reflectionMask_mc);" line, the gradient effect actually shows up! Of course the entire Wet Floor refection effect still does not. I tried adding "_root." and "_parent.[name of slide]" elsewhere in the code but none of the other missing aspects of the Wet Floor effect showed up.
Here is what my code looks like as of right now (identical to the Wet Floor demo code except for my addition of the "_root." piece):
import flash.display.*;
// CREATE BITMAPDATA OBJECT
// PARAMETERS: WIDTH/HEIGHT
// Set these values to the width and height of SlideShowPro
var bmd:BitmapData=new BitmapData(1002,376);
// ATTACH BITMAP TO REFLECTION MOVIECLIP
// Reflection movie clip should be the same dimensions as SlideShowPro
reflection_mc.attachBitmap(bmd,1);
// CACHE REFLECTION AND MASK MOVIECLIPS
// Necessary for gradient masking
reflection_mc.cacheAsBitmap=true;
reflectionMask_mc.cacheAsBitmap=true;
// APPLY GRADIENT MASK
_root.reflection_mc.setMask(reflectionMask_mc);
// EVENT FOR DRAWING BITMAP
this.onEnterFrame = function() {
bmd.draw(my_ssp);
}
stop();
I believe the key to making it work may be here:
http://livedocs.adobe.com/flash/9.0/...=00002437.html
or here
http://www.actionscript.org/forums/s...hlight=screens
I DON'T KNOW. PLEASE HELP! THANX...
Impossible?
Hi
i wondered if anyone could answer this one for me. I am trying to find out if its posbile to control the browser scrollbar via flash. To explain a little cleaer, is it possible to construct a swf hat houses a movie clip say 2 times the height of the movie size . And for the browser scrollbabr to recognise this and control the flash movie accordingly?
I really want to try and avoid using built in scrollbars where neccessary as its so natural for the user to use the browser by default? Impossible or can javascript assits here? any help would be great.
regards
ade
Maybe Impossible XML?
Anyway it soon kills me here in Sweden. And so does the cold weather coming in...
Let me first try to explain my layout. I have a index.swf loading all my external swf. That works fine. Then all of my main categories folders are named main1, main2, main3 etc. Inside of the main folders I have image folders containing my images for the different sub sections (image1, image2, image3 etc) and swf's for each sub sections in my main categories named sub1.swf, sub2.swf, sub3.swf etc which loads images using XML. It's in these sub.swf's my problem resides, I think. My problem is how to get my different swf's to read only the data intended for each sub section. Puh!
I think it has to do with ...childNodes.childNodes[1]... and so on which I can't figure out.
A under construction example of the site can be seen here: http://www.gregory.se/heja.html
What I'm trying to accomplish is to control the loading of images to the different sub sections using only one XML file that looks like this (in short version);
XML file:
PHP Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<xmlData>
<main>
<subnumber>
<subinfo>
<path>main1/images1/01.jpg</path>
<info><![CDATA[<p>main1, sub1</p>]]></info>
</subinfo>
<subinfo>
<path>main1/images2/01.jpg</path>
<info><![CDATA[<p>main1, sub2</p>]]></info>
</subinfo>
<subinfo>
<path>main1/images2/02.jpg</path>
<info><![CDATA[<p>main1, sub2</p>]]></info>
</subinfo>
</subnumber>
</main>
<main>
<subnumber>
<subinfo>
<path>main2/images1/01.jpg</path>
<info><![CDATA[<p>main2, sub1</p>]]></info>
</subinfo>
<subinfo>
<path>main2/images1/02.jpg</path>
<info><![CDATA[<p>main2, sub1</p>]]></info>
</subinfo>
<subinfo>
<path>main2/images2/01.jpg</path>
<info><![CDATA[<p>main2, sub2</p>]]></info>
</subinfo>
</subnumber>
</main>
<main>
<subnumber>
<subinfo>
<path>main3/images1/01.jpg</path>
<info><![CDATA[<p>main3, sub1</p>]]></info>
</subinfo>
<subinfo>
<path>main3/images1/02.jpg</path>
<info><![CDATA[<p>main3, sub1</p>]]></info>
</subinfo>
</subnumber>
</main>
<xmlData>
In my sub.swf's I have this code:
Code:
var pArray = new Array();
var tArray = new Array();
var myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function (success:Boolean):Void {
if (success) {
var xmlData = this.firstChild;
for (var i = 0; i<xmlData.childNodes.length; i++) {
pArray.push(xmlData.childNodes[i].childNodes[0].firstChild.nodeValue);
tArray.push(xmlData.childNodes[i].childNodes[1].firstChild.nodeValue);
}
containerMC.loadPic(0);
picInfo.alphaTo(100, speed_fadeIn, tweentype_fadeIn, speed_fadeIn);
} else {
picInfo.text = "Unable to load external file.";
}
}
myXML.load("xml/XMLdata.xml")
Am I Trying To Do The Impossible?
Hello,
I've been trying to get this to work lately but somehow I can't get it to work. Then it crossed my mind that it might not be possible, but I think it's definately possible, so I post this for confirmation.
I have a very simple file with 1 ball in the library.
I have a document class called Control (which is the root object, right??).
I have one other class called Ball, associated with the ball.
Now I'm trying to understand the following. I made the ball in Control using:
Code:
this.addChild(_ball);
Then shouldn't it be possible to do
Code:
trace(this.parent);
in the Ball function in the Ball class? It returns null;
Impossible Task
Visit it here to see what i've done so far
http://www.geocities.com/parkoid_uk/flash/flash.html
The problem is when you click on either front or rear, i want the animation to zoom back out again when you click spin, to its original postion.
How would i go about doing it?
Sounds Impossible But I Think It Can Be Done
Ok I just downloaded screentime (ScreenSaver Builder) for FLASH and I must say its pretty cool.
Here is my Question and I will be so greatful if anyone can help me out.
I want to build a screensaver that will download information from a text file or a table in a database and then display this data automatically.
So first how do I grab data from a text file without using any ASP code?
And secondly how do I test if the user is connected to the internet or not?
Overlapping MC's - Impossible?
Is it possible to make MC's overlap?
I have a set of buttons, each containing a seperate MC on rollover. When I rollover a few buttons really quickly I want the MC's to carry on playing till the end, instead of playing just the new one. Basically, I want them to overlap - not get rid of the one that was already playing. I hope this is clear - it probably isnt
Can anyone help??
Impossible Thing 1
HI,
First I sent a question how to disable keyboard, now I’m asking IS IT POSIBLE?
Impossible Video
Well, impossible in flash 5 anyway.
Just been playing with the streaming video capabilities- this video is way to long to preload. I made a fluffy intro to give the stream a head start. I think 25Kb/s is the minimum for completely smooth play....
http://ironmallet.com/streams/duckHunt.htm
::::: Seems Simple, But Is It Impossible? :::::
The situation:
i have a log-in area on a site. once logged in the viewer can read info from a dynamic text field. this text fields content is being loaded from external and is changing constantly.
The problem:
i need the text field re-read the text file without the user having to refresh, as this loses the security rights.
any ideas???
tnx
Welcome To Missions Impossible
i got a tough one for you -
i worked in two non-profit day camp this summer and i want to make a camp cd with the following games -
Matching - make different options (10 cards - 15 cards - 20 cards etc) and each card is another digi pic and they have to match each pick - also there has to be some sort of randomizing
Jigzaw puzzle - that one of many different pictures and make it into a puzzle - with dif. amount of pieces
Pick the Pic that doesn't fit - show 8 pics with numbers under them and then the person has to pick the one that doesn't fit
Slide Show - a self running slide show
any help i can get i would be forever greatful for!!
If you did any of these before, have ex., know how to - or you can just help - PLEASE do!!!
Thanks in Advance
Yechi!
Load Var Is Impossible HELP
I've been doing this for hours and it doesn't work. I want to load variables into a movie using loadVars and have the swf react to the variables.
Here's my latest script:
function myTest() {
trace("Data is loaded");
trace(Auto.purchase);
}
auto = new LoadVars();
auto.onload = myTest;
auto.load("autotest.txt");
purchaseMC.text = auto.purchase;
here's the text file:
&purchase=3
The trace works fine, but I can't get anything to recognize the variables. PurchaseMC is a dynamic text field. Any suggestions?
I've tried a lot of different variations on this, and I'm pulling my hair out.
Thanks for your time
Impossible Question
i know nobody will know the answer to this but here goes:
i have made a game interactive flash movie. when somebody completes this game (rare) am i able to make the flash file write into a txt file (or anything) so that i know someone has completed it? the game will be on the net. can it write to a file also on the net?
confusing?
look forward to ur replies
champinoman
Impossible - I'm Lost
Hi readers,
I have a listbox that gets data from a database. When you pres an item in the listbox more information will be displayed in different dynamic textfields.
Normally these textfield are placed in another frame called display and therefore I have a function after getValue() that look like this:
row.onLoad = function() {_root.gotoAndStop('display');var result = unescape(this).split('&');for (var i = 0; i<result.length; i++) etc.
Now I want to display the information from getValue in a movieclip inside a scrollpane on the mainstage.
Part of my function now look like this:
row.onLoad = function() {_root.scrollpane._visible=1; var result = unescape bl.a bl.a
How do I get the values into a movieclip that will be displayed in a scrollpane?
I Guess This Is Impossible Help Pls
I am new to this pls help
I am using flash 4
i know the basics
i am an on air designer trying to show my low res. quicktime (10)
on my web page
what i want is several buttons and when yo click on one
it uploads, transfer, or opens my movie in a small window of its
own over the same page.
i have made the buttons but can't figure out how to tell it what to do
what do i do?
do i have to bring in all 10 .mov into flash (hope not)?
or do i ftp them?
or do i use an action?
or is it html (which i dont know how to do)
thanks
lc
Report this post to a moderator | IP: Logged
Preload A MC Not Swf Impossible Then?
Searched flashkit and actionscript for: "preload, buttons, mc, movieclip" etc, But I cannot find ONE topic on about 20 pages!! Ive searched google and nothing on it. I have spent hours searching, literally.
What is more surprising is how come no one ever does it? Is it not possible?If you have a button on a page and want to load a MC how on earth are people doing it? are they just preloading it on entry instead? I see loads of websites that when you click a button something loads up and it looks like a MC.
I cant understand why there is nothing on the internet about it. I have a border and shape made in flash with an image on, its an MC, I have lots of them I need to load them on a button press rather than load them all when the document starts with that preloader. Surely everyone does this sometime need to do this? Yet there's nothing about it anywhere that I can find? Why?
Mission Impossible
Hi everyone: I really really need help. First, I am creating a banner ad. Then, you do know the size constrain for flash banner ads, which is the impossible 30k. The client want an image in it, and that takes up half the size already. I have the following questions::
1. when the ad traffic company asks for 30k max weight flash banner, do they mean the .fla file is at 30k or the .swf file at 30k??
2. they want it to loop three times only, how do I do that in flash??
need some professional help plz!!!
My Mission Impossible
I have a multidimential array which is being used for the navigation. I seem to be having a few little issues with this. Help with fixing my issues would be fantastic.
Here is the code. Also I have attached the file.
Code:
var navigate:Array = new Array();
navigate[0] = [["Project Details"],["Item 1.1"],["Item 2","Item 1.2.1", "Item 1.2.2"],["Item 1.3"]];
navigate[1] = [["Inclusions List"],["OVERVIEW"],["LOCK - UP","Windows","Item 2.2.2","Item 2.2.3"],["Item 2.3","Item 2.3.1","Item 2.3.2","Item 2.3.3"]];
navigate[2] = [["Schedule"],["Item 3.1"]];
/*
var navigate:Array = new Array();
navigate[0] = [["Project Details"],["Item 1.1"],["Item 2","Item 1.2.1", "Item 1.2.2"],["Item 1.3"]];
navigate[1] = [["Inclusions List"],["Item 2.1"],["Item 2.2","Item 2.2.1","Item 2.2.2","Item 2.2.3"],["Item 2.3","Item 2.3.1","Item 2.3.2","Item 2.3.3"]];
navigate[2] = [["Schedule"],["Item 3.1"]];
*/
// Current Header Being Displayed
var currentHeader:Number = 0;
// Current Item Displayed
var currentItem:Number = 0;
// Current Category
var currentCategory:Number = 1;
// Old Category
var inItem:Number = null;
function category(dir:Boolean) {
if(dir) {
if(inItem != null) {
currentCategory = inItem;
} else {
currentCategory = 1;
}
} else {
if(inItem != null) {
currentCategory = inItem;
} else {
var prevNumber:Number = currentItem - 1;
currentCategory = navigate[currentHeader][prevNumber].length - 1;
}
}
}
// Change Item Function
function changeItem(dir:Boolean):Void {
if(navigate[currentHeader].length > 1) {
trace(navigate[currentHeader][currentItem].length);
if(dir && navigate[currentHeader][currentItem].length >= 1 && currentCategory < navigate[currentHeader][currentItem].length && currentCategory != 0) {
currentItem_txt.text = navigate[currentHeader][currentItem][0];
currentCategory_txt.text = navigate[currentHeader][currentItem][currentCategory];
inItem = currentCategory;
currentCategory++;
} else if (!dir && navigate[currentHeader][currentItem].length > 1 && currentCategory >= 1) {
currentItem_txt.text = navigate[currentHeader][currentItem][0];
currentCategory_txt.text = navigate[currentHeader][currentItem][currentCategory];
inItem = currentCategory;
currentCategory--;
} else {
currentCategory_txt.text = "";
inItem = null;
category(dir);
dir ? currentItem++:currentItem--;
if(navigate[currentHeader][currentItem].length > 1) {
trace("Change")
changeItem(dir);
} else {
currentItem_txt.text = navigate[currentHeader][currentItem][0];
}
}
} else {
currentItem_txt.text = "";
}
currentHeader_txt.text = navigate[currentHeader][0][0].toUpperCase();
}
// Previous Button Event Handers
prev_btn.onRelease = function (Void):Void {
if(currentHeader != 0 || currentItem != 1) {
if(currentItem == 1 && currentHeader != 0) {
currentHeader--;
currentItem = navigate[currentHeader].length;
}
if(inItem != null) {
currentCategory = inItem - 1;
}
changeItem(false);
}
}
// Next Button Event Handers
next_btn.onRelease = function (Void):Void {
if(currentHeader < navigate.length - 1) {
if(currentItem == navigate[currentHeader].length-1 && currentCategory == navigate[currentHeader][currentItem].length) {
currentItem = 0;
currentHeader++;
}
if(inItem != null) {
currentCategory = inItem + 1;
}
changeItem(true);
}
};
changeItem(true);
I have two buttons on the stage named next_btn and prev_btn. Also three dynamic text fields named currentHeader_txt, currentItem_txt and currentCategory_txt.
Thanks.
[F8] Screengrab Impossible?
hello,
i'm doing an online interactive drawing tool and need to get a screengrab of what has been drawn by the user and then let them send it to an email address.
i've looked at email tutorials using PHP and i think i can manage that side. i've done some work with printjob class which went well and i presumed a screengrab might be similar, however from looking at numerous posts and checking out some bad examples it seems that getting a screengrab in flash is very very very tricky.
i've read that one way of getting around this is to store all the movements of the user in an array and then have the flash movie recreate this. this produces a movie playback of the drawing. can anyone enlighten me further on this, how it is done and how it would work with sending out an email??? apparantly thats how this is done:
http://www.imaginationcubed.com
cheers alot,
dave.
Get Tha Name Of The Swf? Impossible Or Easy?
Hi folks,
Is there any way to get the name of the swf? Im not talking about holder, or loadmovies, just a simple swf tha i need to get the name of it.
Like i create a new swf, named "test.swf" just want to have a code inside of it that returns its name, is that possible?
sorry my lame english
cheers !
Simple But Impossible?
Okay, seems ridiculous, but:
How do you remove a particular key from an associative array in AS3?
And when I say associative array, I mean an object.
Once the property is set, I can set it to null, but how can I stop it from coming up when I'm iterating through the object with a for() or for each() loop?
I do _NOT_ want to null the whole object and rebuild it every time one element disappears. The object in this case is a list of nearby players in an multiplayer game -- when one loads from the database, it loads as player[playerID] where playerID is a nonsequential unsigned 32-bit integer and, therefore, must be treated as a string -- to avoid creating an absurdly enormous numeric array just to hold a few players. Makes it a LOT faster than loading them into an array and then having to search each one out by its playerID. To complicate matters, player[playerID] then at SOME points becomes a display object with all the same properties it got from the DB plus some new graphical properties. The scope of this is all finished and working perfectly...except for removal. After removal, right now, I have to sift through hundreds of null playerIDs left hanging out in that players{} object, (when players drift out of range); when what I really want is to remove their keys so the loop stays nice and fast.
Any thoughts?
Thanks as always,
Josh
[F8] RSS/XML Reader Impossible
Ive tried everywhere for a tutorial on how to create a simple AS2 rss reader using a single textbox to display the heading and then the description text on the adobe feed. Ive tried google so everywhere. The only one that comes close is AS3. Does anyone have an idea where I can find one. I dont want a component just the tutorial.
your help will make me very happy
My Mission Impossible
I have a multidimential array which is being used for the navigation. I seem to be having a few little issues with this. Help with fixing my issues would be fantastic.
Here is the code. Also I have attached the file.
Code:
var navigate:Array = new Array();
navigate[0] = [["Project Details"],["Item 1.1"],["Item 2","Item 1.2.1", "Item 1.2.2"],["Item 1.3"]];
navigate[1] = [["Inclusions List"],["OVERVIEW"],["LOCK - UP","Windows","Item 2.2.2","Item 2.2.3"],["Item 2.3","Item 2.3.1","Item 2.3.2","Item 2.3.3"]];
navigate[2] = [["Schedule"],["Item 3.1"]];
/*
var navigate:Array = new Array();
navigate[0] = [["Project Details"],["Item 1.1"],["Item 2","Item 1.2.1", "Item 1.2.2"],["Item 1.3"]];
navigate[1] = [["Inclusions List"],["Item 2.1"],["Item 2.2","Item 2.2.1","Item 2.2.2","Item 2.2.3"],["Item 2.3","Item 2.3.1","Item 2.3.2","Item 2.3.3"]];
navigate[2] = [["Schedule"],["Item 3.1"]];
*/
// Current Header Being Displayed
var currentHeader:Number = 0;
// Current Item Displayed
var currentItem:Number = 0;
// Current Category
var currentCategory:Number = 1;
// Old Category
var inItem:Number = null;
function category(dir:Boolean) {
if(dir) {
if(inItem != null) {
currentCategory = inItem;
} else {
currentCategory = 1;
}
} else {
if(inItem != null) {
currentCategory = inItem;
} else {
var prevNumber:Number = currentItem - 1;
currentCategory = navigate[currentHeader][prevNumber].length - 1;
}
}
}
// Change Item Function
function changeItem(dir:Boolean):Void {
if(navigate[currentHeader].length > 1) {
trace(navigate[currentHeader][currentItem].length);
if(dir && navigate[currentHeader][currentItem].length >= 1 && currentCategory < navigate[currentHeader][currentItem].length && currentCategory != 0) {
currentItem_txt.text = navigate[currentHeader][currentItem][0];
currentCategory_txt.text = navigate[currentHeader][currentItem][currentCategory];
inItem = currentCategory;
currentCategory++;
} else if (!dir && navigate[currentHeader][currentItem].length > 1 && currentCategory >= 1) {
currentItem_txt.text = navigate[currentHeader][currentItem][0];
currentCategory_txt.text = navigate[currentHeader][currentItem][currentCategory];
inItem = currentCategory;
currentCategory--;
} else {
currentCategory_txt.text = "";
inItem = null;
category(dir);
dir ? currentItem++:currentItem--;
if(navigate[currentHeader][currentItem].length > 1) {
trace("Change")
changeItem(dir);
} else {
currentItem_txt.text = navigate[currentHeader][currentItem][0];
}
}
} else {
currentItem_txt.text = "";
}
currentHeader_txt.text = navigate[currentHeader][0][0].toUpperCase();
}
// Previous Button Event Handers
prev_btn.onRelease = function (Void):Void {
if(currentHeader != 0 || currentItem != 1) {
if(currentItem == 1 && currentHeader != 0) {
currentHeader--;
currentItem = navigate[currentHeader].length;
}
if(inItem != null) {
currentCategory = inItem - 1;
}
changeItem(false);
}
}
// Next Button Event Handers
next_btn.onRelease = function (Void):Void {
if(currentHeader < navigate.length - 1) {
if(currentItem == navigate[currentHeader].length-1 && currentCategory == navigate[currentHeader][currentItem].length) {
currentItem = 0;
currentHeader++;
}
if(inItem != null) {
currentCategory = inItem + 1;
}
changeItem(true);
}
};
changeItem(true);
I have two buttons on the stage named next_btn and prev_btn. Also three dynamic text fields named currentHeader_txt, currentItem_txt and currentCategory_txt.
Thanks.
Impossible Mission ?
hi to all
i have a brordgame something like Chess bild up from MovieClips now i place the figure on it which are also movieclips PNG because i need the Alpha chanel else it show a black box aruond it
now the problem :
players shoud be able to make their figures mean if ther is a Local file like "King" then this shud be placed on the bord instead the one from the server but there seams to be no way to load PNG files from AS.
Loadmovie just work on jpeg an swf files jpeg has no Alpha to Mask it is also no way because the mask woud need to be also a jpeg (is there a way to take the Black(white) or one RGB chanel as the Mask?)Mean a Box whit a White spot in it as mask and from the masked movie shud just the spot be visible ?
or it is just Impossible what i want ?
Installation Impossible
I cannot install Flash Player 9 on my Macintosh G4 laptop. The installer gets stuck on 4 items left to install, "searching Macintosh HD" and never goes any further. I can't find anyone to email at Adobe about this. Apparently they don't want to be contacted. Can anyone help?
Loren Sandford
PrintJob Impossible?
Hey shockers....
Is it possible to use printJob() and printAsBitmap to print movieclips with filters on them like dropshadows?
I can't seem to figure this one out....
It's Impossible I Just Can't Find It Help?
Hi all,
I am pretty darn new to this flash business. I was editing the files used in one of Lee's tutorials to include the relative information to me, and then i just lost the reflection/masker feature of the movie. I can't seem to find out where it went, or how to get it back. If anyone could help me I would appreciate it very much, and keep it simple, in my level language .
DJ
Mutliple MC Drags....really Impossible?
hello everyone.
new here,
is this impossible or not
i have a custom (mc) cursor,
trying to build drag and drop
interface, however flash drops
the cursor when i drag the other mc's.
any help
Read Value Of Variable Impossible?
hi, I'm loading a set of variables into a nested mc and want
to control things on the main timeline with that variables later.
i tried to read the value with both:
if (mymc.myvar eq "value")
and with
if (mymc.myvar=="value")
but it didn't work. How do i reference to a variable that is loaded from a txt into an mc? must be flash 4!!!
thanks in advance, i know you can help me ;-)
sojus
|