Visual C++ Vs. Flash ActionScript
Easy----VC++ is extremely powerful and can be used for almost anything. Flash has automatic variable identification, no use for pointers and is WAY easier to program in.....
Flash has easy DOT syntax and of course, produces vector graphics and ways of making animations, moving objects and loads of other stuff. VC++ is extremely powerful, but has a dificult time with non-windows-based-GUIs
This is one of my first posts and i just want to see what everyone thinks.
Also, I'm kinda new to the while flash thing and wondered if anyone could give me some pointers.
FlashKit > Flash Help > Flash ActionScript
Posted on: 11-10-2001, 02:12 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Visual Effect Using ActionScript
Does anyone know if it is possible to apply a visual effect, for example the visual effect of a television picture losing signal for a moment and distorting the onscreen image momentarily, like static, and then resuming picture.
Just curious if there is a way to do this without having to do this in a keyframe animation?
Thanks in advance.
From Visual Basic To Actionscript
a little background:
I've developed a small program that can calculate the molecular weights of amino acid sequences. I used visual basic.net to develop the program. My layout so far consists of two windows (side-by-side): the left window is for copy pasting a sequence (e.g. ARNW) then the left window outputs the molecular weight of the sequence based on the individual weights of the acids (e.g. A = 71, R = 156, N = 114, W = 186: so, the second window outputs 527, corresponding to A+R+N+W). Basically, ARNW goes in the 1st window and 527 is shown on the second window. It's also set to work for any sequence of letters put in (e.g. maybe the student only puts RW in so, 342 would come out) . I also have two buttons: “Clear” (to clear all fields) and “Calculate” (to perform calculations).
the problem:
I'd like to make a readily accessible flash version of the program to be viewed on the web. Any ideas on how i'd go about accomplishing the above using actionscript? Namely, how would i go about coding the the "clear" button to clear the fields and the "calculate" button to perform the desired calculations? Thanks for your time and help.
Visual Not Adding Up With Actionscript
It seems my code runs but the visual display of what the code is doing, isn't working...
my program does something like this:
allow click....
when someone clicks, it disallows clicks...
moves everything on the stage
and then re allows clicks...
the problem is when I click 2 times in a row... all of a sudden the stage moves once, and then a second time.. even if the second click was before the first stage move.
From Visual Basic To Actionscript
a little background:
I've developed a small program that can calculate the molecular weights of amino acid sequences. I used visual basic.net to develop the program. My layout so far consists of two windows (side-by-side): the left window is for copy pasting a sequence (e.g. ARNW) then the left window outputs the molecular weight of the sequence based on the individual weights of the acids (e.g. A = 71, R = 156, N = 114, W = 186: so, the second window outputs 527, corresponding to A+R+N+W). Basically, ARNW goes in the 1st window and 527 is shown on the second window. It's also set to work for any sequence of letters put in (e.g. maybe the student only puts RW in so, 342 would come out) . I also have two buttons: “Clear” (to clear all fields) and “Calculate” (to perform calculations).
the problem:
I'd like to make a readily accessible flash version of the program to be viewed on the web. Any ideas on how i'd go about accomplishing the above using actionscript? Namely, how would i go about coding the the "clear" button to clear the fields and the "calculate" button to perform the desired calculations? Thanks for your time and help.
Visual Class Designer For Actionscript?
Does anybody know of a visual class designer for actionscript or even just a general designer that outputs classes that can be modified to suit actionscript?
TIA
Summer
Visual Basic & Flash
Anyone know why these properties appear to be exposed to Visual Basic, but in reality they aren't?
Trying to get some actual logic for this.
Are these only Flash commands? Are they only available if called from an HTML page. Do you have to use java?
Did someone at Macromedia simply not check some check boxes when compiling the .OCX?
Nothing makes sense on this.
Property AlignMode As Long
Sub Back()
Property BackgroundColor As Long
Property Base As String
Property BGColor As String
Function CurrentFrame() As Long
Property DeviceFont As Boolean
Property EmbedMovie As Boolean
Function FlashVersion() As Long
Sub Forward()
Function FrameLoaded(FrameNum As Long) As Boolean
Property FrameNum As Long
Event FSCommand(command As String, args As String)
Function GetVariable(name As String) As String
Sub GotoFrame(FrameNum As Long)
Function IsPlaying() As Boolean
Sub LoadMovie(layer As Long, url As String)
Property Loop As Boolean
Property Menu As Boolean
Property Movie As String
Event OnProgress(percentDone As Long)
Event OnReadyStateChange(newState As Long)
Event OnReadyStateChange(newState As Long)
Function PercentLoaded() As Long
Sub Play()
Property Playing As Boolean
Property Quality As Long
Property Quality2 As String
Property ReadyState As Long
Sub Rewind()
Property SAlign As String
Property scale As String
Property ScaleMode As Long
Sub SetVariable(name As String, value As String)
Sub SetZoomRect(left As Long, top As Long, right As Long, bottom As Long)
Sub Stop()
Sub StopPlay()
Property SWRemote As String
Sub TCallFrame(target As String, FrameNum As Long)
Sub TCallLabel(target As String, label As String)
Function TCurrentFrame(target As String) As Long
Function TCurrentLabel(target As String) As String
Function TGetProperty(target As String, property As Long) As String
Function TGetPropertyNum(target As String, property As Long) As Double
Sub TGotoFrame(target As String, FrameNum As Long)
Sub TGotoLabel(target As String, label As String)
Property TotalFrames As Long
Sub TPlay(target As String)
Sub TSetProperty(target As String, property As Long, value As String)
Sub TSetPropertyNum(target As String, property As Long, value As Double)
Sub TStopPlay(target As String)
Property WMode As String
Sub Zoom(factor As Long)
Visual Basic And Flash
I have been asked to write a programme that integrates with Flash! The programme has to be written in VB6 and I know how to use the fscommand to get data from flash and into VB6 can anyone explain how to get data from VB6 into flash and I can't use director?
Mark
Visual Basic 6 And Flash
Hello, I am trying to include a flash movie on a vb6 form. I can do it at home but not at work. As soon as I try to use the shockwave flash component from my toolbar, vb crashes. I even compiled a vb/flash exe that works at home, then brought it to work to run it there, but it gives me an error about not being able to read memory. Can anyone help me?
Flash + Visual Basic?
I want to put my swf file into a VB program so I can extend some stuff by activeX controls/FSCommand and the like to do some things I can't natively do in Flash itself. I found a really promising tutorial that looked like it was just what I needed.
Problem was, the tutorial was for visual basic 6.0 and I have Visual Basic as part of Visual Studio.net, which I bought an academic edition of through my school. Deal with this is, the tutorial says to go ahead and add a .swf file to your VB form as a component. You can just do that, apparently, as long as the flash player's installed.
WEEEEEELL, with my version of Visual Basic.Net (or whatever) it doesn't seem to work like that. The interface is a little different from the screenshots, and even though my flash player is MOST DEFINITELY installed (I downloaded the versions for both mozilla, internet explorer, and have Flash MX itself installed on my computer) there seems to be a problem- there's no option anywhere to add a .swf component to my VB form. Does anyone out there in Flash land know how to do this? Or point me to someone who knows the intricacies of Visual Studio.net and what it's malfunction is?
Please let me know. This is driving me nuts.
By the By, I am using Flash MX (not 2004)
Thanks!
Visual Basic ( VB) And Flash
Hello!
I have been asked to create an animations collect data and send to a VB program...
Has anyone communicated between flash and a VB script before? The details are just a var (numeric)to pass.
Anyone?
Flash And Visual Studio .NET
I embedded a .swf file into C# and then tryed to make the flash bg transparent. Wmode = "transparent" do not work in Visual Studio .NET
It perfectly worked in VStudio 6 but not here!
I also tryed in C++ and Visual Basic (VB) with no success
Any ideas?
Thanks in advanced
> Miroslav Christov
Use Flash 5 With Visual Basic
Hello admin,
I'm a new member of your forum. I want to learn how to use Flash 5 with VB. And please send me an example in may mail box minhaz_ahmmed@yahoo.com
Thanz.Minhaz
Flash Mx To Visual Basic
do any of you guys uses flash mx for visual basic 6?
do i need to install an ocx for vb6?
where can i download a flash mx ocx?
Use Flash 5 With Visual Basic
Hello admin,
I'm a new member of your forum. I want to learn how to use Flash 5 with VB. And please send me an example in may mail box minhaz_ahmmed@yahoo.com
Thanz.Minhaz
Flash On Visual Basic =/
Im doing some stuff on Visual basic that requires animations, so well I decided to make such animations on flash... I already finished them but then I realised that isnt so easy, at least for me, I couldnt join them til now...
Can someone tell me how to join the animations made on flash 5, with Visual basic 6.0 or Vb whatever.# heh?
To give you an idead about what Im doing:
A system that will help you to administrate a colection of little figures from a game called Mageknigth. The animation will be at the begining, one just with the logo of my team work, and another one in the main menu of the system, there will be the animation at the back and in the front some buttons that will take you to different options in the system.
Thanx a lot for your time. =)
Flash And Visual Basic
I am using a swf in a Vb application. Is there any way i can disable the right click menu of the swf. i don't even need the "about macromedia flash player" thing. i.e. no right click thing.....
please help
Can You Put A Visual Basic Progam Into Flash 5?
I have this problem, I need to know if I can put a Visual Basic program into a Flash 5 movie. Can this be done? I want to put this Concentration game that I made into Flash. If I can't, is there any other way I can do so?
Talking From Flash To Visual Basic
Why i run a flash MX file by shockwave flash control in VB , It's slower than I use Webbrowser control ? . I have to use shockwave flash control because the flash file could talk to VB by FSCommand(I could call a VB function from flash and set value for a flash variable from VB ) . is there any control else instead of using shockwave flash control ?
If Anyone knows , please tell me . Thanks a lot .
Flash And Visual Basic Comunication
Hi every1.
I'm looking for a way to make Flash send variables to VB and vice versa, but with no results .
Thanks for the time.
Oh and I'm using MX.
Importing Flash Into Visual Studio.NET
Help me please!!!! I am working with Visual Studio.NET and want to import a Flash .SWF file as a animated footer at the bottom of each page. I cannot figure out how to import or link to the Flash .SWF file to make it work in Visual Studio.NET. Can someone help me please? Thank you in advance.
Alex Dove
Application Developer
adove@beckettassociates.com
708.793.5896
Visual Effects Like In Winamp In Flash?
does anyone know of any tutorials or places to get any visual effects that look like the ones in winamp/win media player/etc.. they don't have to go along with the music, thanks!
Visual Basic (completely Nothing To Do With Flash) Lol
i know this has nothing to do with flash but here i go
im using visual basis 2005 express beta 2
i am trying to controll a webbrowser so wehn somthing is clicked(a button would be nice) it goes to a certain page , or the page is edited to include a frame from another site (if theres any difference)
im more of a visual person NO CODE KNOWLAGE lol on VB
so er if not does any know of any VB forum sites?
Visual Effect Plugin For Flash?
I'm a newbie to flash and would like to see your advice on how other impressive flash did their cool visual effect. Does flash 8 has the animation or visual effect e.g. exploding, falling, checkerbox that can apply to an object immediately. Something like the microsoft powerpoint just click on the object and apply the effect, quick and fast.
If no, what other plugin is available? I know swish can do the tricks but I'm hoping not to spend time learning another new software when I haven't master flash. Something plug and play will be good.
Appreciate any advice. Thanks a million.
[F8] Flash Ocx, External API, Visual Basic
so I tracked down some references to using fscommand to send info from flash ocx to visual basic inside a vb application.
Then I found this in the flash 8 help
"NOTE
The External API is a replacement for fscommand() in Flash 8 for interoperating with a HTML page or a container application. The External API offers more robust functionality than fscommand() in this situation
"
well I am a designer who has a fair grasp of actionscript, but not really any other code language.
I am working with engineers who have a pretty good VB skills and no clue about flash.
I can not make much of the examples given in flash, and they seem to always deal with java scrit and the container being a html page, as is probably the usual case.
Can anyone build me a simple Visual Basic project example, where a frame in a flash movie running in the ocx on a vb form sets a value in Vb for a variable.
Using the External Api referred to in the flash help
Basically we just want to be able to say in VB somehing like if myVar = 1 do something.
AND have flash set myVar in our VB app to 1 when it passes a certain frame.
Please Help, I have been posting on various forums for a few days, no luck
mark
[CS3] New To Flash, Coming From Visual Basic 6
Hey people,
I am not sure you know the visual basic language, but I am pretty experienced with that.
Now I started programming in Flash CS3 and I discovered this is a language (Actionscript 3.0 + all the other functions of Flash) with which you can do A LOT OF things ...
But Accually most of my codes wouldn't work as I don't know so much about the structure of the language. I would like to know if actionscript as built-in functions like for example cosinus and sinus which in VB I would use it like this:
Code:
Public Function GetCos(CosInput as Integer)
GetCos = Cos(Cosinput)
End Sub
And is it true that when Flash "recognizes" an object, and you type like "Object." a listbox with options would appear, because I do see it when I type "var variable:", then I can choose of String and int for example...
I do know already what all those types of variables do, still from VB, it are just some other names...
And in Visual Basic the programming happens in one big "textbox" pop-up window, like "actions" in flash, but than for every form (the windows you see on your screen) one set of codes. And than every bit of code is in a function of Sub with the structure like this:
Code:
Private Sub examplesub(input as String)
'Your code
End Sub
or
Code:
Private Function Getsomething(input as integer) as String
Getsomething = str(input + 1)
End Function
Here you see I used str(), this built-in function converts a number (the input integer) into a string (for the output)....
I did already discover that Flash doesn't use "End Function" or "End Sub" at the end of functions but just "}".
And in VB every object has some "events" like "textbox_click" as in:
Code:
Private Sub textbox_MouseMove(Button As Integer, Shift As Integer, X as Single, Y As Single)
End Sub
which is automaticly created whenyou create the object.
And furtheremore you can call you own created subs (plain codes) and function (codes which return something) like this:
Code:
Private Sub textbox_MouseMove(Button As Integer, Shift As Integer, X as Single, Y As Single)
Call ChangeLeftAndTop(X, Y)
End Sub
Private Sub ChangeLeftAndTop(X as Single, Y as Single)
textbox.Left = MyOwnFunction(X, Y, True)
textbox.Top = MyOwnFunction(X, Y, False)
End Sub
Private Function MyOwnFunction(X as Single, Y as Single, XTrue as Boolean) as Integer
If XTrue = True then
MyOwnFunction = X + 1
Else
MyOwnFunction = Y + 1
End If
End Function
Here I created the two subs below myself, the upper sub "textbox_MouseMove" gets all his parameters from the application, like when you move your mouse over the object "textbox", textbox_MouseMove is called and the Button, Shift, X and Y are given with it. And you see the data which is returned in MyOwnFunction is an integer, " as Integer"...
So can someone tell me the structure of the programming in flash a bit?
Cheers Jasper
XML Working With Flash Visual Effect
hi, im a student here in interactive media design.
I've problem it solving both the XML and visual effect problem, anyone can help?
Thanks in advance,
(XML area)
i've already did a static design, but trying to achieve, a dynamic content via XML.
How it suppose to work is that, i will be able to upload images freely via XML.
On update of XML script, flash will automatically create a movie clip for the new image. (see image above)
However it need to work hand in hand with the visual effect
(Visual effect)
on click left or right navigation, images will rotate to left or right to reveal to more images, number of images will depend on the input of image via XML.
On the other hand, the middle image will be on focus and bigger as for the rest it will be blur and smaller according to it distance from it fore ground.
If anyone can help me create a rough sample, that will be great.
Weird Visual Bug In IE Flash Player...
I'm working on a site and we've got a tsunami effect that's leaving some very weird visual trails but only in internet explorer... if you rollover the thumbs at the bottom and then move your mouse out of that image area, the right-most image leaves a trail of colour that's the same as the background for the whole page.
I don't know if it's something to do with some specific code we've got...
Has anyone seen anything like this before? Any help would be appreciated.
http://zeroonedesign.com/beauty/final-apr5/english/
Flash Ocx, Evxternal API And Visual Basic
so I tracked down some references to using fscommand to send info from flash ocx to visual basic inside a vb application.
Then I found this in the flash 8 help
"NOTE
The External API is a replacement for fscommand() in Flash 8 for interoperating with a HTML page or a container application. The External API offers more robust functionality than fscommand() in this situation
"
well I am a designer who has a fair grasp of actionscript, but not really any other code language.
I am working with engineers who have a pretty good VB skills and no clue about flash.
I can not make much of the examples given in flash, and they seem to always deal with java scrit and the container being a html page, as is probably the usual case.
Can anyone build me a simple Visual Basic project example, where a frame in a flash movie running in the ocx on a vb form sets a value in Vb for a variable.
Using the External Api referred to in the flash help
Basically we just want to be able to say in VB somehing like if myVar = 1 do something.
AND have flash set myVar in our VB app to 1 when it passes a certain frame.
Please Help, I have been posting on various forums for a few days, no luck
mark
Is Anybody Familiar With Visual Quickstart Flash 8?
i've created the movie clip button with the 4 mouse states: off, over, down, and disabled (don't know WHY i need a "disabled". Visual Quickstart dosn't seem to care if the reader doesn't know "why"). so i've got 3 layers: content, button states, and actions. with 4 keyframes for the 4 states, as stated up above.
so when i go to test this movie i get the window that shows what all the animation is doing.
so far so good (i suppose)
so then i drop in a "stop" action in the first frame.
but how do i turn this into a clickable button?
i've tried reading this part, which starts on page 433 "Adding actions to movie--clip buttons" but i think the author may have switched from right handed cigarettes to "left handed cigarettes".
Visual Basic And Flash Communication
HI,
I work with the flash ocx embedded in windows applications.
In the past we have used VB6 and the communication has been pretty simple stuff.
We are completely re-writing our main windows app using VB.net. (VB8)
I am looking for all the most up to date info and tutorials etc I can get for using flash embedded in windows apps.
Hopefully we can do more with the latest player and VB.net???
This info seems awfully hard to track down, and even then pretty thin, listening Adobe?
Anyway please post any links etc to good info on the Adobe site or others here.
PS I moved this here as I got no answers in a month!
Thanks
Mark
Getting Flash To Talk To A Visual Basic Or C++ App
Hey everyone,
I was just wondering if anyone out there has had any luck
trying to get a flash app to talk to either a visual basic or
c++ application?
I need to build a player [flash embeded into the vb or c++
application] that when the user say, pushes a button, calls
a function or action from within the app.
Any Idea How would I go about this?
Thanks in Advance
Aaron.
Visual Basic To Flash Tutorial
Okay I made it put text into flash textbox, but how do i get text out of flash and into a visual basic text box. If you could like write down a really detailed step by step or an example would be really good.
(note im talking about the tutorial http://www.kirupa.com/developer/mx/flashvb.htm).
Thanks
Getting Flash To Talk To A Visual Basic Or C++ App
Hey everyone,
I was just wondering if anyone out there has had any luck
trying to get a flash app to talk to either a visual basic or
c++ application?
I need to build a player [flash embeded into the vb or c++
application] that when the user say, pushes a button, calls
a function or action from within the app.
Any Idea How would I go about this?
Thanks in Advance
Aaron.
Visual Basic To Flash Tutorial
Okay I made it put text into flash textbox, but how do i get text out of flash and into a visual basic text box. If you could like write down a really detailed step by step or an example would be really good.
(note im talking about the tutorial http://www.kirupa.com/developer/mx/flashvb.htm).
Thanks
Flash Ocx, External API, Visual Basic
I was not sure which forum was the righ one for this question, but anyway here it is
so I tracked down some references to using fscommand to send info from flash ocx to visual basic inside a vb application.
Then I found this in the flash 8 help
"NOTE
The External API is a replacement for fscommand() in Flash 8 for interoperating with a HTML page or a container application. The External API offers more robust functionality than fscommand() in this situation
"
well I am a designer who has a fair grasp of actionscript, but not really any other code language.
I am working with engineers who have a pretty good VB skills and no clue about flash.
I can not make much of the examples given in flash, and they seem to always deal with java scrit and the container being a html page, as is probably the usual case.
Can anyone build me a simple Visual Basic project example, where a frame in a flash movie running in the ocx on a vb form sets a value in Vb for a variable.
Using the External Api referred to in the flash help
Basically we just want to be able to say in VB somehing like if myVar = 1 do something.
AND have flash set myVar in our VB app to 1 when it passes a certain frame.
Please Help, I have been posting on various forums for a few days, no luck
mark
Flash Movies In Visual Basic
I want using one flash ocx to put some flash movie in one VB application, but I don't know what wright in ocx fields.Anyone can tell me how i do this?
Controlling Visual Basic With Flash
can anybody help me
i'm new at flash mx and want to know if you can control visual basic programs using flash.
any help will be very appreciated
How Do I Combine Flash With Visual Basic?
I am going to make a great game over the www but I need to comine flash and visual basic in one program.
i would be verry happy if someone could send me a ".fla" with shows how to transport a variable from vb to flash and back again.
thanks in advance
Flash MX Elements - HALO Drop Down Box Visual ?
HI
Can anyone point me to where i could see the new HALO drop down box
is actually used in a sample.
Im doing a User Interface that would use this look and feel of the the new halo gooey!
For a look see on what im talking about go to
http://www.macromedia.com/software/m...ash/index.html
IM looking for the drop down box that is used in the URL above after the words State *.
I have this example which shows it in its one state/option look, but Im looking at capturing a screen shot of it being used in the drop down mode with more than one example. and i dont have flash MX 2003, so i cant go and grab the elements.
thanks
Ryan
Creating Flash Visual Components Programmatically
Hello All,
I am looking for information on flash's built in class lists so i can create objects in AS fed dynamically from data. For instance, I am looking for a way to create a button object, inherit all the button properties the visual object has in flash and attach an event listener to it and then display it. Everything in this list is fairly simple cept i can't figure out where the class lists are to create an instance of it or find an example to look at how this is accomplished in Flash.
Thanks for the 411,
Keith
Flash And A Visual Basic Socket Server?
Hi guys,
Could someone please explain how i would do this. (im trying to understand socket servers)
Have a flash file (swf) on a website with a textbox.
When somone enters "hello" in the text box, it passes it to my visual basic application, and the VB app displays the enterd text in a listbox.
Did that make sense? lol.
I really dont know how to start this - i just want to see how flash and visual basic can work together.
I know that the flash file needs to be on my own server (which it is), i just carnt understand this part: flash runs client side, as it needs to download, so how can it pass varibles back to the server.
What do xml files do?
Any info would be great. I know about electrosever, and that java is a better socket server etc, i just want to use vb for this project im trying to work on.
Regards.
Flash Bounce [Visual Thesaurus Style]
I have a couple of questions and hopefully general help is where this needs to be. I need to build a simple application structure, similiar to how you can view words in visualthesarus.com. You know the god ole spawn something off another spawn. It actually can be rather static, but the person that I am building this for likes the motion and feels that is what he wants to do.
It is pretty simple structure (not like visual thesaurus) with only five different levels of spawning, and they are all static.
Basically, I was wondering if any of you had seen anything like this in flash and how you might tackle it. I have an idea of how I am thinking of tackling it, But I wanted to see how others might do this.
Any help is appreciated.
Visual Basic Flash Vars..I'm Confused
Hello Everyone,
I just want to know, is it possible to get a data from flash and then transfer it to visual basic and save it on a data base of Visual BASIC...
How?
Example.. I created a textbox in flash, to get the name of a user then...
I will load the publish swf file on my VB project. and then get the data from that textbox to save it on VB Dbase..
Thanks and Take care...
Ur1andOnlyJopi --The real Jopeman--
Integrating Flash File In Embedded Visual C++
hi all...
i am trying to complie an .swf file to convert it into an .exe file using Embedded Visual C++. i am almost through the entire process but having a difficulty at the end.
My flash file created is flash 7 and works fine in the SWF format when run in the Flash Player mode. As I click a link that calls an external application, the application runs. But after I have compile the swf file in embedded Visual C++ the generated EXE does not seem to work. It does change the mouse pointer into the "finger" which indicates that it does know that there is an "OnRelease" event. But pressing the link does not do anything at all.
Does anybody know why the link is not working and what have i done wrong.
|