Adding API to Flash File
Hello,
I am working on an online poker game for a client. I am in
charge of the design phase and somebody else is involved with the
back end. He sent me an group of API formated to fit in to Action
Script. I am not sure how to proceed. What would you need from me
on this post to see what is going on?
Thanks
post any of the API so as to get the idea if they are
Javascript API or Flash API
Similar Messages
-
Issues adding my Adobe Flash file into Adobe Muse
I am having trouble with adding my Adobe Flash video into Muse. I have also tried exporting my flash file to SWF format but no success. I am not sure what other options I may have in order to incorporate flash with Muse.
Hello Validus,
Check these related links:
http://forums.adobe.com/thread/1063599
http://forums.adobe.com/thread/1168960
Cheers
Parikshit -
Help with adding music to flash file
I'm working on designing a flash file that I will upload to a
web site I'm designing. I have original music that I want to upload
to it, but the sound is coming across as garbled. I ripped the
music off a CD so the file I am importing into Flash is .wav file.
The sound is fine when run my compueter, but it sounds aweful when
I import it into Flash. Can I add a .wav file to flash, or would I
be better off using an mpeg or mp3 file? Does it matter which type
of file I use to get the best sound quality?
Once I get the correct file imported to the library, how
should I go about applying it to the flash document? Should I
simply drop it into a new group of frames like I would any other
file, or is there a better way to implement it? I am not worried
about the user having control of it, in fact, I don't want them to
be able to turn off the sound.
Any suggestions and comments would be helpful, thanksTDW1181 wrote:
> I'm working on designing a flash file that I will upload
to a web site I'm
> designing. I have original music that I want to upload
to it, but the sound is
> coming across as garbled. I ripped the music off a CD so
the file I am
> importing into Flash is .wav file. The sound is fine
when run my compueter, but
> it sounds aweful when I import it into Flash. Can I add
a .wav file to flash,
> or would I be better off using an mpeg or mp3 file? Does
it matter which type
> of file I use to get the best sound quality?
You can add wav file to flash, even preferred over mp3 file.
> Once I get the correct file imported to the library, how
should I go about
> applying it to the flash document? Should I simply drop
it into a new group of
> frames like I would any other file, or is there a better
way to implement it? I
> am not worried about the user having control of it, in
fact, I don't want them
> to be able to turn off the sound.
The bad quality is a result of compression you use for that
sound upon export.
After import, open the library CTRL L , right click the sound
and go to properties.
Try to change the mp3 export quality, use the TEST button for
immediate try, also monitor
the increase in file size at the bottom of the screen. The
better the quality, the
larger the file will be.
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
i know iweb does not support flash but is there a way to change the html code to fix this?
i have tried to "insert" a flash file but it does not show up in the html code?Welcome to the Apple Discussions. iWeb does support flash files. What type of flash are you trying to add. These demo pages have a number of different types of embedded flash:
Visitor Maps
Adding Maps and Calendar via Widget
Flash Audio Players
Date/Time and Show/Hide Text Widgets
Opening Item in New Specially Sized Window
It's all done with HTML snippets, and sometimes, iFrame. Tell us exactly what you're trying to do.
OT -
How do I find the AS that this links to in my flash file via "find"?
I have a flash file that I have on a web page. When I hover over the Join Us image, the mouse changes to a hand. I can click on the "button" but it doesn't take me anywhere. I'm trying to find out if there is a way to find the link in my Flash file via the "Find" function. What is causing the "hand" to appear, is there a goto or click actionscript that I can search? It's a pretty complex file which I didn't create, and I've had no luck finding this button layer, or AS.
I'm hoping to find where this AS is and link it to a page on my site. Thanks!Ned, you're back to save the day for me again. You helped me with the mask issue I had a few days ago and I'll have you know, the flash ad came out brilliantly. Everyone loved it.
So you were right, I did find the code AS3.
onClipEvent (load) {
this.hitArea = this.area;
on (rollOver) {
this.gotoAndPlay("s1");
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
on (release) {
s1 and s2 are animations where the Join Us text rolls out and Rolls in as different colors.
I added the following to the code and it seems to work great.
onClipEvent (load) {
this.hitArea = this.area;
on (rollOver) {
this.gotoAndPlay("s1");
on (releaseOutside, rollOut) {
this.gotoAndPlay("s2");
on (release) {
getURL("http://mysite.html", "_self", "GET");
Thanks again for pointing me in the right direction. I think I may owe you a lunch or something after this is all said and done! -
Flash File not Able to Display using ADF Trinidad components..
Hi All,
I am trying to display a flash file using ADF trinidad component for one our project but not able to display when embeded inside the code.
However I am able to directly access the flash file using http://localhost:7101/test/pages/test.swf
The below Object code is included inside the tr:panelHorizontalLayout tag. I also tried using tr:media but doesnt display anything on the browser.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="210" height="230" id="footer_ad1" align="bottom">
<param name="allowScriptAccess" value="sameDomain"/>
<param name="allowFullScreen" value="false"/>
<param name="movie" value="http://localhost:7101/test/pages/test.swf"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#ffffff"/>
<embed src="http://localhost:7101/test/pages/test.swf" quality="high" bgcolor="#ffffff" width="210" height="230" name="test" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave- flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
</object>-->
Thanks
ChetanHi Ramandeep,
I tried that option early but did not work. Not able to understand why.
Below is the code snippet.
<tr:panelGroupLayout layout="vertical">
<tr:panelHorizontalLayout>
<!--Some Portlets are added-->
<f:verbatim>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="210" height="230" id="footer_ad1" align="bottom">
<param name="allowScriptAccess" value="sameDomain"/>
<param name="allowFullScreen" value="false"/>
<param name="movie" value="http://localhost:7101/test/pages/test.swf"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#ffffff"/>
<embed src="http://localhost:7101/test/pages/test.swf" quality="high" bgcolor="#ffffff" width="210" height="230" name="test" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave- flash" pluginspage="http://www.adobe.com/go/getflashplayer"/>
</object>
</f:verbatim>
</tr:panelHorizontalLayout>
</tr:panelGroupLayout>
And as I mentioned it works fine when I directly access the flash file by using http://localhost:7101/test/pages/test.swf.
Thanks
Chetan -
How to go back to certain pge in a flash file
Purchased a template webstie. It was a flash site. so we did
all the customization and then added some non-flash pages of text-y
stuff. The boring information kind of thing.
Each of the 4 main pages of the flash file then have links to
my plain html files. When ou hit the back button, I want to be able
to go to one of the four main flash pages, and all I can make
happen is to go back to the main page.
For example: main pages of flash are opening page, About Us,
Families, Businesses, Forensic, Contacts
On the Families page there are links to the "simple" pages. I
want the person to be able to go back to the "Businesses" page, not
the "front page".
Please help.
then I'll go away. I promise.
Regards, and thanks in advance.
AllisonWell, it works, but isn't this sort of, uh....stupid?
Perhaps there should just be a button that creates the "back"
button.
Can anyone do this? I'm entirely too Flash-Impaired to code
properly. Just not high enough up on that "Veering Towards Rainman"
ladder.
Thanks for the info. It was VERY helpful.
Regards,
Alli -
Flash file missing from page/layout difficulties
Aloha,
I'm working on posting a new site and have a few problems
that are holding me back! First, when tested online via DW, the
flash movie I have in center of page plays (and is placed)
perfectly. After uploading the page
http://reefcheckhawaii.org to
my server however, the flash file doesn't appear. However, it can
be accessed at
http://reefcheckhawaii.org/flashfiles/HOMEPAGE.swf
My tech support for the server said I had it in the wrong folder
and that I should move it "using code." Any recommendations on how
I can get the file placed where it should be to properly function?
My second difficulty as evident by the page posted, is with the
layout. I cannot seem to keep the banner image cells at the top of
the page aligned properly when I add the 4-row table on the right
hand bottom side of page. If I try to "remove table hts" before
adding the lower table, the banner image at top also gets botched
up! Please help, I'm stuck! Many thanks in advance!http://www.wsrestoration.com/Scripts/AC_RunActiveContent.js
This file is NOT on the server. That's why you do not see
your Flash.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"AAzz44" <[email protected]> wrote in
message
news:fjlb4d$3bp$[email protected]..
> Hi,
>
> Im also having the same problem. Actually things where
working great with
> the
> original site I built in Front Page, but I switched over
to Dreamweaver
> awhile
> back and finally updated my site. Ever since than I
can't get me Flash
> file to
> show. It works fine in the preview (in dreamwaver) but
not on the web. All
> the
> files are on the server and the coding looks ok. I can't
figure this one
> out
> and its driving me crazy.
>
> Here is my site:
>
>
http://www.wsrestoration.com/
>
> Mike
> -
How to add link to flash file (using AS 3)?
Hi all,
I have created a Flash banner ad for our company that is to be hosted on another website. This banner ad needs to have a link added to it, within the Flash file. This link will take users straight to our website but is also for the purpose of tracking.
How do I go about adding the URL? I have searched through these forums but cannot get it to work.
I am using Flash CS4 (selected to use AS 3 when I first created the file.)
From what I have read and understood, I should create a new layer, and then add the code to the first frame on that layer?
Exactly what code should I use? I tried something as simple as 'getURL("http://www.celonova.com","_self"); ' but that is not working. Is it bcos that is for AS 2 only?
My last question is...can I set up the link so that it works for ALL frames?
Sorry about the dumb questions but I am a complete newbie when it comes to the code side of Flash:(
Thank you VERY much in advance for your help!
ChristineOkay all,
I found some great tutorials for using the "invisible button" method, and have gotten it all to work (keeping my fingers crossed)!
Using AS 3:
http://www.adobe.com/designcenter/flash/articles/flacs3it_firstflash_pt2_06.html
Using AS 2:
http://www.spoono.com/flash/tutorials/tutorial.php?id=16
I hope this will be of help to someone & fellow newbies
Christine -
Insert a flash file to iweb 09 or an easy way to display photos
Goal: have a photo space on my home page that plays automatically - dissolving one to the next.
I am trying to either insert a flash file to my home page http://web.me.com/ksporterproductions/PWF/Home.html
I've used the html widget with this code:
Flash Files in iWeb - Adding Flash to iWeb
If you value and use Artotems iWeb Tips and Tricks please consider making a $5 donation to support more assistance in the future as well as the charitable work Artotems Co. does for others around the world.
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,40,0" border="0" width="800" height="600"><param name="movie" value="http://web.mac.com/youriDisk/docs/flash.swf"><param name="quality" value="High"><embed src="http://web.mac.com/youridisk/docs/flash.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="800" height="600"></object>
I've also tried doing an imovie - but it doesn't play automatically
Any suggstions for an easy way to do this?? I've been working on it forever!!Hi,
Check out this site. http://iwebfaq.org/site/iWeb_Movies.html
More help here with tutorials http://discussions.apple.com/thread.jspa?messageID=7301535
And if that doesn't help, you could post in the iWeb forums here: http://discussions.apple.com/category.jspa?categoryID=188
Carolyn -
Loading Flash Files After Slide is Loaded.
Is there a way to trigger a flash file to play once the captivate slide has fully loaded?
Thank you.I did a bit of digging. The reason why this wasn't working is because the class in question was referenced by the nib files, but not in code. Therefore, while the code compiled and there were no warnings with the nib files, the linker was not linking the classes because no code used them directly.
This can be fixed by going to the Project Settings, and on the Build tab, underneath the Linking heading, adding -ObjC to the Other Linker Flags section. -
Need Help Adding Frame to FLA File
Hello,
I am trying to add a photo to a Flash file that we had created for us:
http://www.catalinasouthbeach.com/locations.html
I am kind of sort of new at Flash. I can edit these files but I can't figure out how to add a new photo. I thought you could just add a new layer but that's not working. Can anybody shed some light on this for me?
http://www.catalinasouthbeach.com/photo/production.fla
Thank you!!
AllieIf those images are arranged in a timeline, then you should be able to add a new one by adding a layer and extending any other layers that need to be. To get the fade effect you will need to create either a graphic or movieclip symbol of the image and use that in the timeline, not the raw image that you import into Flash.
Youe best bet will be to study what you currently have and see how each keyframe (dotted frame) has some significance (assuming whoever did it knew what they were doing). Some folks go crazy with keyframes.
If the design uses actionscript code to make the images work in and out, you'll need to show your code so that someone might be able to figure out what needs to be changed to add a new image. -
Playing Flash File in Oracle Forms 9i
Hi there,
I used to Play flash files in Forms using active x controls. But they are no more there.
So how can I include a flash file in my forms using Oracle Forms 9i.
Plz help me.
ThanksAli,
you would need to find a Java Bean environment to play Flash (quasi a flash runtime in java). this then can be added as a Java Bean to Forms.
Check the Java Media Framework
http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=MEDIA+FRAMEWORK&col=java&col=wireless
Frank -
9-scaling issue re-exporting from flash file
Hi,
I seem to have come across a consistent bug which is preventing me from progressing. I am creating assets in Flash which I am exporting as a swc file to be used in a Flex application. I have created a simple scrollbar thumb asset which is basically a rounded cornered rectangle and have added 9 slice lines to ensure the curved areas are outside of the scaling area. I convert the asset to a flex component and export as a swc file. When I test this asset in a simple swc inspector tool (built by one of the devs on my Flex project) I can manipulate the height and width and the 9-scaling works correctly. My problem occurs when I close the originating .fla file and close flash, re-open and without making any changes to the flash file re-export as a swc. When I do this the 9-scaling no longer works!
Has anyone experienced a similar problem? I am running a Mac with CS5 installed, any help would be greatly appreciated.
Thanks
EdIts been resolved. Thanks
-
Correct code for removing margin from Flash file
I have an embedded flash file in an .asp page and it's
bulging the table it's embedded in, I added css in the body for a
"0" margin but it's not working, can someone follow the link below
and tell me what i'm doing wrong
thanks!!!!!!!!!!
http://www.lamsystems.com/new_lam_5_08/home.asp
steveCould someone tell me if I should be able to add parameters
to this code and get results. I have found mention of values like
<param name="loop" value="true" />
but when I used it nothing changed on playback.
Maybe you are looking for
-
in address book on my new macbook pro I can't drag contacts to a new message or drag a group to bcc like I could on my 2007 macbook pro. What do I need to do?
-
Help needed in connecting to oracle9i
Hi I am using oracle9i,tomcat5.0&jdk1.4.2. when i tried to connect my application with oracle it is showing " Failed to get connection object from the datasource: org.apache.commons.dbcp.SQL NestedException: Cannot create PoolableConnectionFactory, c
-
Where did my USB hard drive that's attached to my Airport Extreme router go
I have a USB hard drive attached to my Airport Extreme. I upgraded to OS X.5 and the drive disappeared. If I reboot to OS X.4.10 the drive reappears. Does Leopard recognize USB drives connected to Airport routers? How can I get Leopard to recognize t
-
i know that Apple recently got a patent and whatnot for a mini-disc adapter thing (http://www.appleinsider.com/articles/07/11/29/appledeveloping_mini_disc_adapter_for_slot_loadingdrives.html) but does anyone know when said adapter will be available t
-
Hi, In purhcase order(me21n) ,Me22n,Me23n
Hi, In Purchase order(me21n), payment terms(Invoice tab) should be filled on 'Z511'. pls can u sent me right exit. Regards senthil